Support

Home Forums Event Espresso Premium EE4 Promo Codes not Working?

EE4 Promo Codes not Working?

Posted: June 21, 2016 at 4:20 pm


AffinityStrategies

June 21, 2016 at 4:20 pm

I have an event with multiple tickets (breakout session for an additional fee) – I have tried registering with 1 or 2 tickets and when I enter the promo code and click submit promo code it brings my to a new Registration Checkout page (with a redirect to my payment portal – which I always have to click – because it stays there).
“Registration Checkout

Important information regarding your payment
After clicking ‘Finalize Registration’, you will be forwarded to Authorize.Net to make your payment. Make sure you return to this site in order to properly finalize your registration.

If you are not automatically redirected to the payment website within 10 seconds… ”

Once I go to the payment portal is no promo code has been applied. This has never happened before. Please help.

Running:
WordPress Version:
4.5.2
PHP Version:
5.4.42
MySQL Version:
5.5.43
Event Espresso Version:
4.9.1.p


Tony

  • Support Staff

June 22, 2016 at 3:12 am

Hi there,

Can you link us to an event we can use for testing and also provide a promotion code we can use to view this please?

If you prefer not to post those on the forum please send them to support[at]eventespresso.com and include a link to this thread within the email.


AffinityStrategies

June 22, 2016 at 7:37 am

Tony
I just emailed you the info. Thanks!
Geri


Tony

  • Support Staff

June 23, 2016 at 3:50 am

Hi Geri,

Thank you for the details.

I tried registering onto your event however it looks like your host is using server side caching forced on all pages so I see a ‘Nothing in your event queue’ error (expected when all pages are cached)

You won’t see this if you register onto the event whilst logged in as caching will then be disabled.

Which host are you using? They will need to exclude the EE pages from caching.

Also, the theme you are using is throwing a JavaScript error:

Uncaught Error: Syntax error, unrecognized expression: a[href*=#]:not([href=#])

For more info have a look at this post:

https://eventespresso.com/topic/are-you-having-trouble-after-updating-to-wordpress-4-5-please-read-this-first/

In a nutshell your theme needs to be updated, or the JS used within custom.js needs to be updated from:

$( 'a[href*=#]:not([href=#])' ).click( function() {

to

$( 'a[href*="#"]:not([href="#"])' ).click( function() {

I would recommend updating the theme rather the manually altering the JS.

As the Promotion codes are sent via Ajax any JS errors on the page will prevent the promotion codes from working correctly so this is likely why you had problems previously.


AffinityStrategies

June 23, 2016 at 9:42 am

THANK YOU! That did it!
Geri


Tony

  • Support Staff

June 23, 2016 at 10:21 am

You’re most welcome 🙂

Any further problems please let us know.

The support post ‘EE4 Promo Codes 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