Support

Home Forums Event Espresso Premium Stripe payment form not loading

Stripe payment form not loading

Posted: December 18, 2023 at 2:23 am

Viewing 4 reply threads


Nat J

December 18, 2023 at 2:23 am

Hello, this has been happening for a while but the form to add in the card details to pay do not load, the labels do but not the text fields.
I have tried changing theme, turning all the other non-event espresso plugins off and still they do not load.

This error comes up in the console:

Uncaught IntegrationError: Invalid value for Stripe(): apiKey should be a string. You specified: null.
at ne (v3/?ver=3:1:178295)
at re (v3/?ver=3:1:178367)
at new e (v3/?ver=3:1:383898)
at Wc (v3/?ver=3:1:424539)
at EeStripeElements.initialize (stripe-elements.js?ver=1.1.12.p:64:27)
at HTMLDivElement.<anonymous> (stripe-elements.js?ver=1.1.12.p:314:22)
at HTMLDivElement.dispatch (jquery.min.js?ver=3.7.1:2:40035)
at v.handle (jquery.min.js?ver=3.7.1:2:38006)
at Object.trigger (jquery.min.js?ver=3.7.1:2:70124)
at HTMLDivElement.<anonymous> (jquery.min.js?ver=3.7.1:2:70726)


Tony

  • Support Staff

December 18, 2023 at 4:04 am

Hi there,

Have you tried reconnecting your Stripe account?

The error you are getting shows that the API key used to communicate with Stripe is empty.

Go to Event Espresso -> Payment methods -> Stripe.

You should see a ‘disconnect’ button, press that to disconnect your stripe account. Wait a few seconds for that to complete then click to connect, log into your Stripe account, work through the onscreen instructions and reconnect again.

Do the fields show then?


Nat J

December 18, 2023 at 4:14 am

Hi,

I had disconnected to try it in sandbox mode, would the form not load in Sandbox mode as well as when it is connected?

Thanks


Tony

  • Support Staff

December 18, 2023 at 4:23 am

Sandbox mode still needs to connect to your account, so you also have to connect in sandbox.

Set sandbox to yes, then connect. Now you can test payment using your testing/dev section within your Stripe account.

When finished you disconnect again, set sandbox to no and reconnect.


Nat J

December 18, 2023 at 5:08 am

Just to update I tried connecting the and turning off sandbox mode and it all seems to be working again now. Thanks

Viewing 4 reply threads

The support post ‘Stripe payment form not loading’ 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