Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticket quantity does not reduce until paid #1301

Open
haqadn opened this issue Apr 29, 2024 · 0 comments
Open

Ticket quantity does not reduce until paid #1301

haqadn opened this issue Apr 29, 2024 · 0 comments
Labels

Comments

@haqadn
Copy link

haqadn commented Apr 29, 2024

Describe the bug
The ticket quantity is not reduced until the payment is complete. This makes it possible to oversell tickets.

To reproduce

Steps to reproduce the behavior:

  1. Create a paid ticket with quantity 1.
  2. As a visitor, fill out the information for this ticket and go to the payments page.
  3. From a different tab, as a visitor again, fill out the information for the ticket and go to the payment page again.
  4. Pay for both tickets.
  5. You should now have sold two tickets even though only one was available.

Expected behavior

The ticket should have said unavailable as soon as the first form was submitted, and the the second ticket purchase should have stopped in two places:

  1. Before accessing the check-out form.
  2. After submitting and being redirected to the checkout-form.

Screenshots / Screencasts

None

WordCamp

This was experienced on WordCamp Sylhet 2024 (and 2023). But, it's not specific to any WordCamps.

System (please complete the following information):
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants