Support

Home Forums Event Espresso Premium Promo Codes and Stripe Plugin Bug

Promo Codes and Stripe Plugin Bug

Posted: October 15, 2015 at 3:59 pm


agrant

October 15, 2015 at 3:59 pm

I am using
EE4 4.8.13.p
Promotions Plugin 1.0.2.p
Stripe Gateway 1.0.10.p

have installed EE4 here: http://spiritfestival.com.au/tickets/

When I go through the registration and enter the Promo Code: ‘fy’

The total is $.81

However, when I try to pay with Stripe, the total does not reflect the discount and is showing $162

(see attached screenshots)

Is this a known bug? and is there a workaround?


Josh

  • Support Staff

October 15, 2015 at 4:46 pm

This is not a known bug. Are there any JavaScript errors thrown on your checkout pages?


agrant

October 15, 2015 at 4:54 pm

No errors, you can try yourself:
http://spiritfestival.com.au/tickets/


Josh

  • Support Staff

October 15, 2015 at 5:08 pm

It turns out that your active WordPress theme (Khore) is loading its own copy of the jQuery JavaScript library. WordPress, Event Espresso, Stripe, and the promotions add-on were developed on and tested with the version of jQuery that’s included with WordPress. Can you change the Khore theme so it loads the copy of the jQuery library from WordPress instead?


agrant

October 19, 2015 at 1:25 am

The entire theme, uses the jQuery in the theme folder, see links, when I attempt to load the one in the wordpress directory it breaks the site.
Khore seems to be a popular event template and I am quite happy with it.
Is there another workaround to get Stripe to update with the correct discount with promo codes?
Thanks

<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/jquery-2.1.1.min.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/jquery.cookie.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://maps.google.com/maps/api/js?sensor=true&ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/bootstrap.min.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/device.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/iscroll-probe.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/jquery.nicescroll.min.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/swiper.jquery.min.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/jquery.main.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/tweetMachine.min.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://www.google.com/recaptcha/api/js/recaptcha_ajax.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’http://spiritfestival.com.au/wp-content/themes/khore/js/woocommerce.js?ver=4.3.1′></script>
<link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”http://spiritfestival.com.au/xmlrpc.php?rsd” />
<link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”http://spiritfestival.com.au/wp-includes/wlwmanifest.xml” />


Josh

  • Support Staff

October 19, 2015 at 8:01 am

Hi Alex,

Can you go to Event Espresso > Payment Methods > Stripe, and set the Open by Default option to No, then try the promo code again ?


agrant

October 19, 2015 at 6:39 pm

Hi Josh,
that seems to have fixed the problem. Thanks. Good workaround!!


Josh

  • Support Staff

October 21, 2015 at 3:52 pm

You’re welcome.

You can also update to the latest Stripe add-on, which will allow you to set the Stripe add-on to open by default.

The support post ‘Promo Codes and Stripe Plugin Bug’ 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