Support

Home Forums Event Espresso Premium Stripe Javascript error Internet Explorer

Stripe Javascript error Internet Explorer

Posted: April 23, 2015 at 9:50 am


Scott Gillard

April 23, 2015 at 9:50 am

Hi,

I may be jumping the gun here but figured it best to get ahead of this.

I have had repeated customer contact (and also a number of folks who just gave up) due to a javascript error with the Stripe payment option. I have been able to successfully load the payment pop-up with Chrome, Firefox, Safari, Firefox/Chrome for Android. It hit me to try Internet Explorer (something I never do because I like to believe that no one uses it) and I was able to recreate the problem.

This is the error: “It appears the Stripe Checkout javascript was not loaded properly! Please refresh the page and try again or contact support.”

I assumed IE was blocking javascript so I made sure it was enabled, altered security settings and such and still the error. IE on this machine is set to auto-update. It’s version 11 (11.0.9600.17728).

Is this a known issue? Here’s the event page: http://boomboxoffice.ca/events/mayworks-halifax-tompkinsville/


Scott Gillard

April 23, 2015 at 11:50 am

I’ve asked a few customers which browser they were using and I got one IE and one Safari on a Mac. So the error is also affecting Safari.

It’s a very clean, simple, custom theme with very little that could interfere as far as I know.


Dean

April 24, 2015 at 4:18 am

“something I never do because I like to believe that no one uses it” – we wish, we really do… ๐Ÿ™

OK, I’m seeing the error in EE11.

IE didn’t tell me much but Safari (for Windows) did. It looks like Safari is trying to get this file http://checkout.stripe.com/v2/checkout.js?ver=4.1.1 with is HTTP.

When loaded in Chrome it reverts to HTTPS at Stripe, but Safari and I’m assuming IE don’t swap it and it throws an error and refuses to return the needed file.

The weird thing is, our code specifically requests this in HTTPS, so I’m unsure why it’s being changed by the browser (even Chrome seems to change it).

Stripe for EE4 is an onsite payment gateway, and we do recommend SSL certificates for those. I think an SSL certificate would also fix this, as then the browser would be in HTTPS before requesting an HTTPS file.


Scott Gillard

April 24, 2015 at 6:36 am

So, I have an SSL certificate, I bought it to use the Ticket Selector on Facebook which appears to work just fine. Can you provide any direction on using it to fix this issue?


Tony

  • Support Staff

April 24, 2015 at 8:33 am

Hi Scott,

Are you using a plugin to secure your site/pages?

For example WordPress HTTPS


Scott Gillard

April 24, 2015 at 8:39 am

I have that plugin installed but haven’t done anything with it.

Once I got the SSL certificate installed properly the Facebook functionality just worked, I haven’t really done anything on the WordPress end of things. (Could this be my problem? haha)


Tony

  • Support Staff

April 24, 2015 at 8:45 am

๐Ÿ™‚ Ok, start by working through this:

https://eventespresso.com/wiki/espresso-sslhttps/

That will secure all of your EE pages (which would include the above)

Then retest and let us know if its still a problem.

The support post ‘Stripe Javascript error Internet Explorer’ 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