Posted: March 22, 2022 at 5:55 am
Hello All, We are facing 1 issue on our site. We are selling tickets for an event. The limit for tickets is only 2. Now, if someone selects 2 from ticket selector and go to registration page, the status for that ticket become sold out even if user has not completed the registration. Anther issue is, if by mistake user hits the back button of browsers, he/she doesn’t have any option to complete the registration. |
|
Hi there,
That’s expected, the tickets go into reserve for the duration of the user’s session (which is 1 hour by default), after that time the tickets should ‘release’ again if the registration was not complete. We do the above to prevent overselling and users losing tickets whilst they are in the process of registration. User A selects the 2 tickets and starts the registration, it takes them a little time to add their details and load the payment options… In the meantime User B comes along and selects those same 2 tickets, uses autofill in their browser and completes the attendee into step, they either hit the payment step before User A or at the same time. Now, who should be able to purchase those tickets? EE can either refuse User A, Use B, both, or allow both? The reservation system we use means the tickets are reserved when User A selected them and User B can’t slide in at the last second.
If they go back to the checkout page they should be able to continue with the registration. |
|
Hello Tony, Thank you for your support. For the point 1, we are clear and happy with functionality. Regarding point, when we go to the checkout page, nothing is appearing. Normal checkout page url is like “/registration-checkout/”. But if we go to checkout after ticket selection the URL is like “/registration-checkout/?uts=1647955496#checkout”. |
|
The UTS value in the URL is a cache busting method, it’s a timestamp (Unix TimeStamp) and has no other meaning other than try to stop the browser/server from caching the response. If you are getting a blank page when going to But then getting results when you go to There’s likely caching enabled on your site/server. Can you link me to an event I can take a look at? |
|
Hello Tony, We have already removed those pages from cache. Here is link to the event. https://cecgolfdev.wpengine.com/events/charity-golf-tournament/ Link to Checkout page: https://cecgolfdev.wpengine.com/registration-checkout/ |
|
Yeah, that’s some kind of cached response. When you go to the checkout page: https://cecgolfdev.wpengine.com/registration-checkout/ The shortcode isn’t even processed on that request as it should show ‘Nothing in your Event Queue’ if nothing has been added to the current session. You can see that if you go to a URL with the uts value set: https://cecgolfdev.wpengine.com/registration-checkout/?uts=111 UTS=111 is not ‘valid’, it is not something that would ever be used by EE itself but you can see the error shown there. Somewhere the registration checkout page has been cached. Try adding some text below the |
|
Hello Tony, We have already excluded page from cache. We are hosting the site on WP-Engine. |
|
The only one used by Event Espresso is a PHP session, so on your site It’s possible this is also something from using Elementor for the checkout page, they also cache the output iirc (I don’t use Elementor). Does the same happen if you add the shortcode to that page outside of Elementor? |
|
The support post ‘Ticket shows as sold out’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.