#steveb-connect-oauth
1 messages · Page 1 of 1 (latest)
Hello!
I highly recommend not using OAuth at all and following https://stripe.com/docs/connect/standard-accounts instead to create the account
Thanks for the reply. What about creating accounts. Does that create a brand new account?
yes it does which is the recommended path forward
Just to clairify, if I'm trying to connect other Stripe accounts to read their failed payments, is the connect platform the method of connecting and reading their information?
Have you read https://stripe.com/docs/connect/oauth-changes-for-standard-platforms ? We changed the behaviour and by default you won't be able to unless you're approved for this
Hmm. What would be the best path if I wanted to connect another stripe account to my service, create a webhook and read their failed payments in to my service?
So you can use OAuth in that case though you will need approval (talk to support). But OAuth is correct since you are building an extension to listen to an existing account's event/behaviour
So what's blocking you? Did you properly configure a redirect URL in your settings in Test mode and Live mode?
Nope, i'm just trying to figure out the correct path.
The documentation is not clear
what do you call "the correct path"
The docs are https://stripe.com/docs/connect/oauth-standard-accounts. I'm happy to help but what's blocking you?
I was having trouble on whether I should use OAuth or the connect platform.
I don't know what that sentence means
but the doc above covers the exact steps one by one
All good, I know this can be confusing. Just let me know if you're still blocked after this
Sorry to keep bothering you.
One more question.
I'm getting the error message: "Invalid request: Invalid redirect URI 'http://subnudge.test/stripe/redirect'. Ensure this uri exactly matches one of the uris specified in your application settings"
that means you entered a different URL in the settings
likely HTTPS instead of HTTP
but it needs to match exactly character for character
On my account I'm using "Test mode" and under oauth redirects I have the redirect url set to "http://subnudge.test/stripe/redirect"
They should be exact
Let me try an expose redirect uri to see if that helps
My guess is it doesn't like .test TLD
Available for one more question?
sure you can ask as many as you need
Really appreciate it
So I'm in the docs, and trying to use the OAuth Button example - https://connect.stripe.com/oauth/authorize?response_type=code&client_id=ca_L1v3pYzLA4n0kImK6rvjmVfAnOhMIUtH&scope=read_write
At the end I receive the message: "No application matches the supplied client identifier"
Under the connect->settings "Test mode client ID" it is set to ca_L1v3pYzLA4n0kImK6rvjmVfAnOhMIUtH
that link works totally fine for me
Did it try to redirect back to my website?
Hey Steve 👋 I'm taking over for @upper lily . I was not able to complete the flow since I'm not going to enter bank details.
Are you still having difficulties with the redirect URL?