#scif_unexpected
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/1314440830966038569
π Have more to share? Add more details, code, screenshots, videos, etc. below.
Does your Connected Account already connect to another different Platform?
@tough raven , nope
Settings β Team and security β Installed apps are empty
Moreover, newly created accounts New business were immediately disconnected from platform so for sure there are some accounts which are not connected
Okie, are you using the OAuth URL or the Account Link URL?
Also, what type is your Connected Account?
Yeah that should works though. Was it working in the past but stopped recently?
Yes, it's was working for ages (5+ years) and suddenly stopped working. I mean the authorize url is properly composed but Stripe's connection page went mad
Can you share the Test mode OAuth url?
Btw, how to make sure the connected account is standard? The account allows to have team members and was created manually by the merchant
Can you share the Test mode OAuth url?
The one with client_id and other arguments?
Yeah the one. And a normal Stripe Account can be considered a Standard Connected Account once connected
I don't use test mode for production account. Do you want me to create the url for any other account?
The URL is from the Dashboard, correct? You can just turn on the Test mode toggle and copy the link
Nope, I use OAuth::authorizeUrl($params) to build the url
Sorry, can you share the Doc you are following to create the URL?
Or the request Id (req_xx) from your Dashboard log that created 1 OAuth URL
Will provide you with the request id in 5 mins
Hm, there is no request id as this is an url to oauth rather than to API
Connecting an existing account using OAuth is no longer recommended due to one account to one platform policy. This means that an account that has already been connected to another platform won't be able to connect to yours.
https://docs.stripe.com/connect/oauth-reference
Starting in June 2021, Platforms using OAuth with read_write scope wonβt be able to connect to accounts that are controlled by another platform.
You should create a connected account for your own platform instead: https://docs.stripe.com/connect/standard-accounts
Hi @winged raven , sorry, but we've discussed this already above: #1314440830966038569 message
I understand that. What I am trying to explain is that in production, an account would have been connected to a platform, not specifically to your own account.
Your integration shouldn't use OAuth flow at all, i.e. never use an OAuth link to create an account at all.
The account was created by a merchant beforehand.
an account would have been connected to a platform, not specifically to your own account
Could you please elaborate on that?
In production, your merchant might have a Stripe account connected to another platform not yours. With the single platform policy, this account will not be able to connect to your platform.
The recommended solution is to always create a new connected account for your merchant instead of allowing them to connect an existing account: https://docs.stripe.com/connect/standard-accounts
@winged raven , my Stripe user was granted admin permission in merchant's account so I checked Installed app which I mentioned before
Are you using integrating Stripe Apps or Connect?
Is there any reason why can't you create a new connected account for your merchant? OAuth is no longer recommend and creating the new connected account is the recommended solution
I created a ticket to investigate this but currently business cannot complete onboarding of clients.
This channel is for direct technical integration questions with Stripe. We don't have necessary expertise about the loading page in your screenshot. Our support team will be able to assist you better than I can: https://support.stripe.com/contact/email. Please include the OAuth link and connected account ID (acct_xxx), so that they can check why this happens.
In summary, OAuth flow is no longer recommended and you should create a new connected account.
Wow, it's a bit unexpected outcome of 1.5 hour long conversation π Ok, thanks!
Just one final question βΒ we should use /v1/accounts to create a new Stripe account for merchant. Then to use Account Link in order to authorize my account to make purchases on behalf of the newly created account. Is this just a replacement for oAuth authorization routine? What's about deauthorizing the app?
When you create the connected account with /v1/accounts, the account has already been connected to your platform. The Account Link is for your merchant to complete the onboarding process. This is the replacement of OAuth integration
Your platform has full control of the connected account since this connected account belongs to yours
Delete Accounts API: https://docs.stripe.com/api/accounts/delete will deauthorise the connected account from your platform
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Could you please check this one ^?
If the ticket here refers to the Support ticket with Stripe, I'd recommend following up with them
Whooops, I quoted wrong message π
Could you advise how to make sure there is nothing connected yet?
I'm afraid there is no good way to check whether an existing account is connected to another platform
If you're using OAuth link to create a new account like the screenshot above, our support will be able to help on why the onboarding can't be completed. This can't be controlled by the API or code
What's about installed apps?
Stripe Apps and Extensions under Installed apps are the platform that extends Stripe's user experiences
As a platform, there is no way to check whether an account is connected to another account
My stripe user was authorized to have access to merchant's account