Support

Home Forums Event Espresso Premium Purchase Tickets / View Cart button not working

Purchase Tickets / View Cart button not working

Posted: May 8, 2014 at 6:28 pm


Jon Huther

May 8, 2014 at 6:28 pm

Purchase Tickets / View Cart button all of a sudden are not consistent. One works, the other doesn’t. We havn’t made any changes so maybe this is from an upgrade change?

*** Doesn’t work *** – Event List (Only one event right now):
Clicking this purchase link works. Its the shortcode in the event description.
http://www.hamiltonpa.org/performing-arts/

Shows this error:
It looks like you are attempting to refresh a page after completing your registration or your cart is empty. Please go to the events page and try again.

*** Works ***– Calendar to Event Detail page
To get to this event detail page that works, you need to click on the event in the calednar (May 10 event: André Watts, piano).
http://www.hamiltonpa.org/calendar/
https://www.hamiltonpa.org/event-registration/?ee=20

Shortcode
[ESPRESSO_CART_LINK direct_to_cart=1 moving_to_cart=”Redirecting to cart…” anchor=”Purchase Tickets”]


Jon Huther

May 8, 2014 at 6:30 pm

EDIT, PLEASE USE THIS INFO INSTEAD..

Purchase Tickets / View Cart button all of a sudden are not consistent. One works, the other doesn’t. We havn’t made any changes so maybe this is from an upgrade change?

*** Doesn’t work *** – Event List (Only one event right now):
Clicking this purchase link doesn’t work. Its the shortcode in the event description.
http://www.hamiltonpa.org/performing-arts/

Shows this error:
It looks like you are attempting to refresh a page after completing your registration or your cart is empty. Please go to the events page and try again.

*** Works ***– Calendar to Event Detail page
To get to this event detail page that works, you need to click on the event in the calednar (May 10 event: André Watts, piano).
http://www.hamiltonpa.org/calendar/
https://www.hamiltonpa.org/event-registration/?ee=20

Shortcode
[ESPRESSO_CART_LINK direct_to_cart=1 moving_to_cart=”Redirecting to cart…” anchor=”Purchase Tickets”]


Lorenzo Orlando Caum

  • Support Staff

May 8, 2014 at 7:36 pm

Hi Jon,

I see that you are running a caching plugin.

Do you know if no-cache rules/exclusion rules were setup for the Event Espresso pages?

You can find these pages in WordPress admin –> Event Espresso –> General Settings.


Lorenzo


Jon Huther

May 8, 2014 at 7:45 pm

I don’t see any caching options on this page: Event Espresso –> General Settings

Anything with querystring isn’t cached currently. I’ll try adding “/performing-arts/” and “/event-registration/” to skip caching as well.


Jon Huther

May 8, 2014 at 7:55 pm

This page has been set to not cache page or db and still shows the error when clicking purchase button. You can see it has been skipped by cache in comments at bottom of html.

http://www.hamiltonpa.org/performing-arts/


Jon Huther

May 8, 2014 at 8:07 pm

I have temporarily replace my event_list_display with the original one and issue still happens.


Jon Huther

May 8, 2014 at 8:09 pm

Could it be that this page is not HTTPS (http://www.hamiltonpa.org/performing-arts/) and next page (https://www.hamiltonpa.org/event-registration/?regevent_action=show_shopping_cart) is? Would make sense then that going from the calendar to the event to cart works becuase that goes from http to https also.


Jon Huther

May 8, 2014 at 8:10 pm

Sorry I meant “Wouldn’t make sense”. (With I could edit previous posts in here.)


Jon Huther

May 8, 2014 at 8:14 pm

Content on this page http://www.hamiltonpa.org/performing-arts/ is using [EVENT_ESPRESSO_CATEGORY event_category_id=”performing-arts”]. Then in the event on that page it has this in description [ESPRESSO_CART_LINK direct_to_cart=1 moving_to_cart=”Redirecting to cart…” anchor=”Purchase Tickets”].


Dean

May 9, 2014 at 1:39 am

Hi,

“I don’t see any caching options on this page: Event Espresso –> General Settings”

Event Espresso doesn’t have any caching built it. What’s likely happening is that the W3 Total Cache plugin installed on your site is causing the issue.

Can you please add the four core EE pages to the Performance > Page Cache > Never cache the following pages section. Then make sure the cache is cleared to take the new settings into account.

E.g /event-registration/*

http://wordpress.org/support/topic/plugin-w3-total-cache-need-help-with-never-cache-the-following-pages?replies=9


Jon Huther

May 9, 2014 at 4:32 am

None of them are being cached you can confirm this in the bottom of the html with the w3totalcache plugin comment.


Tony

  • Support Staff

May 9, 2014 at 5:45 am

Could it be that this page is not HTTPS (http://www.hamiltonpa.org/performing-arts/) and next page (https://www.hamiltonpa.org/event-registration/?regevent_action=show_shopping_cart) is? Would make sense then that going from the calendar to the event to cart works becuase that goes from http to https also.

Yes this is the issue and the reason it makes sense is it depends where your are issuing the Add to cart call from.

http://www.hamiltonpa.org/performing-arts/

Is not HTTPS, when you click the Purchase Tickets button there, you are adding the events to your session and then being directed to:

https://www.hamiltonpa.org/event-registration/?regevent_action=show_shopping_cart

notice the HTTPS. This then creates a new session (that doesn’t have the events) and so that message is displayed.

Try enabled HTTPS on the Performing Arts page and retry.


Jon Huther

May 9, 2014 at 6:48 am

That was it thank you.

The support post ‘Purchase Tickets / View Cart button not working’ 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