Support

Home Forums Event Espresso Premium Unload stripe.js

Unload stripe.js

Posted: March 3, 2020 at 3:32 pm

Viewing 3 reply threads


botanicwise

March 3, 2020 at 3:32 pm

I would like to unload strip.js wherever possible. Can you tell me where it is required for EE?


Tony

  • Support Staff

March 4, 2020 at 6:14 am

Hi there,

The checkout page is the only page in which Stripe.js is required by Event Espresso, the default slug for that page is ‘registration-checkout’ and it is the page selected in:

Event Espresso -> General Settings -> Critical Pages -> Registration Checkout Page

However, Stripe recommends loading Stripe.js on all pages shown here:

https://stripe.com/docs/js/including


botanicwise

March 9, 2020 at 12:06 pm

Got it, Tony, thank you. I forgot about the fraud detection. The stripe.js seems to be loading slowly and because I am still running into a caching conflict, caching isn’t helping me right now.

We can close this ticket.


Tony

  • Support Staff

March 9, 2020 at 12:13 pm

Stripe.js loads from their servers rather than you own (it has to do so to allow for PCI compliance), there isn’t really that much you can do to speed up how quickly it loads from their servers, however, it isn’t a big file so shouldn’t be taking log at all.

Viewing 3 reply threads

The support post ‘Unload stripe.js’ 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