#joe-s_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1226884329729425499
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ sounds like you're working with our older OAuth flow for connecting Connected Accounts. Can you tell me a bit more about the problem with the state that you're running into?
@jagged willow checking to see if you're still around to tell me more about your problem?
Hi Toby! The issue is we expect the state to be returned so we can connect the account. For two users, one that was on a Connected account before (shouldn't impact their new connection as they are disconnected from this account) but now has their own Stripe account and one that is new to Stripe with a newly created account, we aren't receiving the state parameter which is breaking how we establish the connections. Do we need to update our methods?
If the Stripe Account being connected is already controlled by another Platform, then it's expected that a new Stripe Account is generated. It's the main we reason we don't recommend using the OAuth flow anymore.
https://docs.stripe.com/connect/oauth-standard-accounts#:~:text=OAuth is not,by another platform.
Are you suggesting that these accounts are connected to another integration which is causing the state to not be returned? This method has been working for all other accounts we have. What is the suggested update?
๐ stepping in here as toby needs to step away
๐
I understand the OAuth flow, but why are we suddenly not receiving the state?
Yes if another account has platform controls over their Connected Accounts (https://docs.stripe.com/connect/platform-controls-for-standard-accounts) then you can't connect one of those Connected Accounts to your account. Instead a new account would be created.
Manage more features on behalf of your connected accounts that use the Stripe Dashboard with platform controls.
If you have an example account ID here of an example then I can take a look to confirm that is the case
Hmm wait sorry, I was reading what my colleague wrote above but really don't think this should affect the state param
One moment, let me test
Ok