HiEventsDev / Hi.Events

Open-source event management and ticket selling platform 🎟️
https://hi.events
GNU Affero General Public License v3.0
886 stars 75 forks source link

🐛 Donation tickets doesn't include taxes #101

Closed elronalds closed 2 days ago

elronalds commented 1 month ago

Describe the bug When using the donation ticket option and you have the "Include tax and fees in the price" setting selected the taxes are not included.

To Reproduce Steps to reproduce the behavior:

  1. Setup a donation ticket
  2. Set the event setting for "Include tax and fees in the price" to selected
  3. Apply the tax type to this ticket, for example 10%
  4. Process a test payment and the customer will be charged $5.50 for the transaction
  5. The tax isn't included in the price

Expected behavior The tax should be included in the $5 and the customer shouldn't be charged $5.50

Hi.Events Version and platform Docker, unsure how to check the version. Is there a version number stored somewhere in the code. I completed a serach on Github and couldn't locate this.

daveearley commented 1 month ago

Thanks for the report @elronalds!

This is by design. Enabling Include tax and fees in the price will include the taxes on top of the $5. The setting only affects how the price is displayed.

elronalds commented 1 month ago

@daveearley So how would you configure this so the customer is only charged $5 and that includes the 10% tax?

daveearley commented 1 month ago

The price is assumed to be pre-tax when you create the ticket. So you would set a price of 4.55 and then add the 10% tax.

The UI around this could definitely be improved. As a first step I'll update the UI in the ticket creation modal to show the price including tax under the price input.

daveearley commented 2 days ago

Closing this, as the feature will be tracked in #128.