Posted: August 19, 2021 at 2:10 pm
|
Hello, We’ve been having problems with the Stripe payment integration on both of our event sites (https://lf.dealmakersforums.com/ and https://ip.dealmakersforums.com/). When people try to pay, they get a message that says “Expired API Key Provided” and that the “Platform Access May Have Been Revoked.” I’ve been able to make it work by disconnecting and reconnecting Stripe, but it seems like it only works for a few days and then stops working again. Any idea why this is happening and what we can do to fix it? Thanks, |
Hi Wendy, If I recall correctly, the Stripe Connect connection is assigned to a single domain each time, so when you connection to Or it may continue to work until one of the sites ‘uses’ the connection (a payment is attempted/made) which then revokes the other connection. To work around this you can skip using Stripe connect to setup Stripe and just add the API keys manually, to do so you’ll need to add this snippet to the sites:
You can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ With that in place, you should see a ‘Stripe Secret Key’ and ‘Stripe Publishable key’ field in the Stripe payment method. You can find those API key values in your Stripe account: https://support.stripe.com/questions/locate-api-keys-in-the-dashboard Make sure you disconnect Stripe connect and then use the API keys to each of the Stripe payment methods to connect your account to those. Does it work for you then? |
|
|
Hi Tony, is this a new situation because we’ve had this same setup for several years without having this problem? |
|
Tony, I was thinking maybe the Stripe Connect connection is new. I can’t recall if this was the setup in prior years or if we had to enter the API keys manually. In any case, we’ll give this a shot. One quick follow-up question – do you know if we can enter the same Publishable key and Secret key for both sites? |
Stripe Connect has been enabled within the payment method for a while, however, if you had keys already set in the payment method the field which the above enables will have continued to show and be used so you may well have been using keys already. To answer your question, yes, you can use the same keys on multiple sites. |
|
The support post ‘Problem with Stripe Integration’ 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.