Support

Home Forums Event Espresso Premium Tickets not being correctly added to the cart from an event page

Tickets not being correctly added to the cart from an event page

Posted: October 15, 2024 at 1:08 pm

Viewing 7 reply threads


trainadesign

October 15, 2024 at 1:08 pm

Hi,

We have been experiencing a recurring and intermittent issue over the past few months with tickets not being correctly added to the cart from an event page. After the user selects a ticket quantity and presses add to cart, the modal will display letting them know an item was successfully added, but it will also say there are currently 0 items in the cart directly below that.

Here is the event that we have been experiencing the issue on today – https://www.buckinstitute.org/events/live-better-longer-community-seminar-series-8/

Here are screenshots with the response and request headers, request form data, and response JSON for an instance where this issue occurred:
Request Headers
Response Headers
Request Form Data
Response JSON
The site is currently hosted on WPEngine and we have the following cache exclusions in place.

Hoping you can provide some insight as to what may be causing this issue and how we can resolve it. Please feel free to reach out if you need any more information or access to a staging environment.

Thank you.


trainadesign

October 15, 2024 at 1:13 pm

This reply has been marked as private.


trainadesign

October 15, 2024 at 2:49 pm

This reply has been marked as private.


trainadesign

October 15, 2024 at 6:17 pm

This reply has been marked as private.


Tony

  • Support Staff

October 16, 2024 at 3:52 am

Hi there,

There’s something odd happening here with the requests, I don’t mean the issue itself just in the behaviour.

In Chrome if I open your event and add tickets to the cart, it works as expected:

https://monosnap.com/file/vwSJWfHEcKOnEOm5iIdFHB5EcKeBE0

I’ve done it multiple times on that page to add a total of 7 tickets to the cart (that’s also the second cart session I’ve tested and the previous one worked as expected).

However, if I open up an incognito window with Chrome and do the same in that window I get the issue you are reporting:

https://monosnap.com/file/VyDKQOLTy80mGJ9KhrohPfvQcWEffM

(again I’ve done that multiple times on that page now and there should be over 6 tickets in the cart).

The request/response headers from my requests don’t show anything that stands out for this (I can’t view your images yet but I’m guessing they will be the same).

Is the site using any kind of load balancer? The cart showing 0 for total ticket shows an issue with sessions but I’m not sure why only on some requests and not others. I’ll check in with our developers on this and see what they think.


trainadesign

October 16, 2024 at 9:51 am

This reply has been marked as private.


Garth

  • Support Staff

October 16, 2024 at 2:04 pm

Do you know of any active caching in place, such as OPcache?


trainadesign

October 16, 2024 at 5:17 pm

This reply has been marked as private.
Viewing 7 reply threads

The support post ‘Tickets not being correctly added to the cart from an event page’ 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.

Event Espresso