Stripe connection error

Tring to connect stripe but getting this error. Am using stripe plugin.

Congrats, you’re almost done setting up your application!
After connecting with Stripe, your users will be redirected to a page of your choosing (this is just the default). Make sure to change the test redirect URI under your application settings to something that makes sense on your own server.
To finish the process of getting an access_token for your user’s account, you’ll need to make one extra API request with the authorization code we passed back. In this case, the code is ac_HXxxxxxxxxxxx, taken directly from the GET parameters on the redirect.
For example, try this curl request. Note that you’ll need to replace YOUR_SECRET_KEY with the application owner’s test secret key.
*curl -X POST https://connect.stripe.com/oauth/token *
*-d client_secret=YOUR_SECRET_KEY *
*-d code=ac_HXxxxxxxxxx *
-d grant_type=authorization_code
You’ll need to do this programmatically (we recommend some kind of third-party OAuth 2.0 library) — check out our OAuth tutorial for a more in-depth explanation! Or, head back to our getting started guide to get a sense of what what you’ll be able to do after your users connect with Stripe.

Can you give some context as to when this happens?

Also, which Stripe plugin are you using? There are multiple.

It sounds like it’s talking about you taking the code passed in the link after the connect sign up process is completed and then using that to confirm the API user link on your side. If I’m understanding that correctly, here is a pic from how I did it. If not, please send screenshots and explain how you got the error.

This topic was automatically closed after 70 days. New replies are no longer allowed.