#khoi
1 messages · Page 1 of 1 (latest)
hi pgskc, i am using stripe connect express as a platform
we have a connect customer signed up 2 hours ago and their account id is: acct_1LpzqE2f1IftviR7
however, i am not seeing it on my stripe dashboard and no associated logs with it. It's as if this acct doesn't exist at all acct_1LpzqE2f1IftviR7
Hi, taking a look
It looks like it's connected to a Platform account. What are you seeing when you search for this account id in the Dashboard?
i am not seeing anything at all
"Could not load the connected account"
i am wondering if we messed up with api key provisioning here ... and it got assigned to a different platform account
but we got several connect accounts on our paltform recently and they all seem fine
Hmm, do you have multiple Stripe accounts?
i have
so you actually saw that account in stripe system
acct_1KejnuGzJjwu8BjO this is my main platform account - is it associated to that
Can you try Retrieving the account via the API, https://stripe.com/docs/api/accounts/retrieve ?
I'm looking, I can confirm that this connected account is connected to the Platform Account you shared above. I'm now trying to rule things out. I'm also testing it on my end
Can you share that request id with me please? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Hmm, looking
ya this is odd, i am getting all kind of callbacks from Stripe: with their name, email, mcc, carge/pyayment info
but can't see it on stripe dashboard or logs
When you made that account Retrieve call, did you see any error on your console?
"message": "The provided key 'sk_live_*********************************************************************************************P7X84m' does not have access to account 'acct_1LpzqE2f1IftviR7' (or that account does not exist). Application access may have been revoked.",
I see that the account was briefly deauthorized, https://stripe.com/docs/api/events/types#event_types-account.application.deauthorized but it was authorized shortly. Can you try the Retrieve call again? Are you seeing the same error?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
you mean retrieve the connect account right?
{
"error": {
"code": "account_invalid",
"doc_url": "https://stripe.com/docs/error-codes/account-invalid",
"message": "The provided key 'sk_live_*********************************************************************************************P7X84m' does not have access to account 'acct_1LpzqE2f1IftviR7' (or that account does not exist). Application access may have been revoked.",
"type": "invalid_request_error"
}
}
ya still no luck
I was able to further investigate and confirm that OAuth Token was consumed twice, which disconnected this account from the platform.
I think you'd need to create a new account and I highly recommend that you start using the Accounts API instead: https://stripe.com/docs/connect/express-accounts
wait so what happened to that outstanding connect express account
is there a way for me to do this on behalf of our customer instead of having them go through the same flow again?
You can pre-fill their information: https://stripe.com/docs/connect/express-accounts#create-account and make it easier for them
there is nothing you can do in the backend right now?
sorry it's a fairly big account for us so we would rather find a way to resolve this on our end
I'm afraid not.
if they go through my express flow again
with the same info
will there be any issues?
Actually, I think you can reconnect the Express account, sorry for the confusion.
Further investigating, please give me a moment
omg yes please!!!
I'm confirming with a colleague here, sorry for the wait.
this would be of tremendous help!!
I was able to confirm that they'd need to go through the OAuth flow again, I'm afraid.
... oh
I think they would be fine passing the same data
Essentially, I would debug your code and make sure that your not consuming the OAuth token twice. Or just move away from it and just use the Account API I shared before.
did something change with stripe oauth recently
it was working perfectly fine for the psat 6 months :/
I do no think anything changed in the last 6 months - it has been a common issue before, did you make any changes on your code?
No we didn’t
But it’s also odd that some other accounts can still sign up just fine
You confirmed that the root cause it’s because we consume the auth code twice?
Really if you have the bandwidth you want to switch to Connect Onboarding
And not use OAuth
This was mentioned above
Gotcha
But it is the proper fix and the right route to go here
And that will still work with this customer right
Will it just be a net new express account for them
No for this customer you need to send them through OAuth again
Ooo
Unless you create them a new Express Account and they use a different email+phone combo
But for all folks going forward, you will never run into this issue if you use Connect Onboarding isntead of OAuth
Gotcha