Testing stripe on staging site set up as subdomain

We are trying to set up EE on our client site. We have created a subdomain of the main site & have installed EE. As per EE instruction, we have not linked the support license to this site. I would like to test the stripe integration but I cannot seem to connect stripe to the staging site. It keeps bringing up the main site to integrate. I have tried changing the business details in Stripe to show the staging website but it keeps reverting back to the main site. How can I resolve this?

It’s not necessarily because of the URL or even an incorrect URL (was it literally domainname.com that showed up in the modal though?) There could have been a JavaScript error on the page or a security measure that was tripped when the connection was attempted.

Can you try the connection while all plugins are deactivated besides Event Espresso 4 and Stripe?

Since that goes to a splash page, that might be preventing the connection. What you could do is bypass using Stripe Connect and instead input the API keys directly into the Event Espresso > Payment Methods > Stripe settings. The API key fields are hidden by default, but you can make them visible by adding this code to your site:

I spoke too soon. I’m now getting the following error…Stripe Checkout can’t communicate with our payment processor because the API key is invalid. Please contact the website owner or support@stripe.com.

The API keys are for the test data

The support post ‘Testing stripe on staging site set up as subdomain’ 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.