I’m testing Stripe with sandbox mode on. When I enter the payment info and click Pay Now, nothing happens. I get this error in the console:
Uncaught TypeError: Cannot read properties of undefined (reading ‘setDefaults’)
at Object.set_validation_defaults (single_page_checkout.js?ver=5.0.10.p:206:16)
at Object.initialize (single_page_checkout.js?ver=5.0.10.p:168:10)
at HTMLDocument.<anonymous> (single_page_checkout.js?ver=5.0.10.p:1446:7)
at e (jquery.js?ver=1.0.0:2:30005)
at t (jquery.js?ver=1.0.0:2:30307)
I can’t view any EE events on your site currently, but it looks like your theme is loading its own version of jQuery and the default WP jQuery library.
If you comment out the code from within the theme loading that custom version of jQuery, does the payment through Stripe work then?
Viewing 3 reply threads
The support post ‘Stripe: Cannot read properties of undefined (reading 'setDefaults')’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.