Support

Home Forums Event Espresso Premium Stripe: Cannot read properties of undefined (reading 'setDefaults')

Stripe: Cannot read properties of undefined (reading 'setDefaults')

Posted: October 2, 2023 at 2:43 pm


tagmarketing

October 2, 2023 at 2:43 pm

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)


Rio

  • Support Staff

October 2, 2023 at 7:56 pm

Can you private message us the site with the sand box mode, so we can also test and replicate the issue?

thanks


tagmarketing

October 3, 2023 at 7:48 am

This reply has been marked as private.


Rio

  • Support Staff

October 3, 2023 at 8:58 pm

Would you give us site log-in to investigate further.

https://eventespresso.com/send-login-details/

thanks


Tony

  • Support Staff

October 4, 2023 at 5:20 am

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?

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.

Event Espresso