Hi.Events icon indicating copy to clipboard operation
Hi.Events copied to clipboard

🐛 Cancelling an Attendee doesn't cancel associated order(s)

Open grablair opened this issue 1 year ago • 0 comments

Describe the bug If I cancel an attendee, the associated order is still Open. This enables me to also erroneously cancel the associated order as well. One result in this situation is that the capacity assignment will lower by double the amount (could even go into the negatives), creating a situation where you can sell more tickets than you have space for.

I'm unsure if this affects refunds... would this refund double the money? that would be very bad haha

To Reproduce Steps to reproduce the behavior:

  1. Create a ticket
  2. Create a 1-person capacity assignment for that ticket
  3. Create an attendee manually, for the ticket created in step 1
  4. Note that the capacity assignment is now full (1/1)
  5. Cancel the attendee
  6. Note that the capacity assignment is now 0/1
  7. Go to the orders page
  8. Note that the order associated with the attendee is still open
  9. Cancel the order
  10. Note that the capacity assignment is now -1/1

Expected behavior I shouldn't be able to do double cancellations. I'm unsure what is right, however. What is the purpose of cancelling an attendee? Does that refund a portion of the order? Refunding one ticket in an order seems like it would be useful.

Screenshots Screenshot 2024-09-13 at 14 35 16

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Brave

Hi.Events Version and platform v0.7.0-beta.3 / Docker

grablair avatar Sep 13 '24 21:09 grablair