Support

Home Forums Event Espresso Premium Testing stripe on staging site set up as subdomain

Testing stripe on staging site set up as subdomain

Posted: November 1, 2018 at 8:20 am

Viewing 7 reply threads


Porter

November 1, 2018 at 8:20 am

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?


Josh

  • Support Staff

November 1, 2018 at 8:40 am

Hi,

May I ask can you clarify something? What exactly do you mean by “It keeps bringing up the main site to integrate.”?


Porter

November 1, 2018 at 8:46 am

This reply has been marked as private.


Josh

  • Support Staff

November 1, 2018 at 8:53 am

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?


Porter

November 1, 2018 at 9:24 am

Thanks, I’ve tried that but I’m still getting the same thing. It is http://www.domainname.com


Josh

  • Support Staff

November 1, 2018 at 9:34 am

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:

add_filter('FHEE__EE_PMT_Stripe_Onsite__generate_new_settings_form__hide_key_fields', '__return_false');

You can add the above to a functions plugin, then activate the plugin.


Porter

November 1, 2018 at 10:17 am

Thank you – that’s worked!


Porter

November 1, 2018 at 10:34 am

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

Viewing 7 reply threads

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.

Event Espresso