Support

Home Forums Event Espresso Premium Cart error message after confirm, using free event or 100% promo code

Cart error message after confirm, using free event or 100% promo code

Posted: June 6, 2014 at 4:02 pm


Rob Mougey

June 6, 2014 at 4:02 pm

Hi –

We’re using EE3 with MER. We get a weird cart error after handling a free event.

I have tried both setting up $0 price events, as well as setting up events with a price but then applying a 100% promo code. Everything about the checkout process goes fine: add event to cart, apply promo code (if applicable), cost shows $0, proceed though “Enter attendee info”, then click “Confirm and go to payment page”.

At this point the registration happens and a confirmation email gets sent to the user. However, they are sent back to the cart page which now says:

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.

This often causes people to repeat the whole process if they either do not notice the confirmation email, or if the email is slow being delivered.

Is there any way to either a) make sure the user is not taken back to the cart page after confirming a $0 cart, or b) put some code (maybe jQuery) in the cart that can notice that you are coming back from payment confirmation, and if so, replace that error message with something else?

Thanks!


Tony

  • Support Staff

June 9, 2014 at 8:42 am

Hi Rob,

The should not be taken back to the cart page, are they click a link to go back or using the browsers back button?

If you go to Event Espresso -> System status.

Are all the URL’s within ‘Registration Pages’ green?

Are there any warning thrown on that page?


Rob Mougey

June 9, 2014 at 8:42 pm

Hi Tony –

All the System Status URLs are green, and everything about the site is working fine, except for the free events. You can try it out here:

https://macnaconference.org/2014/free-test-event/

Thanks!


Dean

June 10, 2014 at 12:29 am

Hi Rob,

Can you temporarily rename or move the wp-content/uploads/espresso/templates directory?

This will effectively stop your custom shopping_cart.php from functioning and revert to the default template.

Then please test to see if the issue is resolved. If so, then there is something in your modifications causing the issue.

If not, please clarify if you have any caching running on your site.


Rob Mougey

June 10, 2014 at 9:09 am

Hi Dean –

It works the same with the default shopping_cart.php. (My only modification was to hide the event date info, and to add some jQuery at the bottom to make sure at least 1 attendee is selected, based on some example code I found in the forums).

I don’t intentionally have any caching turned on, and can’t find anything else that would explain why carts with non-zero amount work ok but carts with zero amounts do not.

Thanks!


Josh

  • Support Staff

June 10, 2014 at 11:15 am

Hi Rob,

Normally when it’s a free event (or an event that has a 100% discount), it will take you to a thank you page, but that’s not happening here. Can you update to the latest version of Event Espresso 3? (Currently 3.1.36.5)

The support post ‘Cart error message after confirm, using free event or 100% promo code’ 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