#morenomdz_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/1270835955997343766
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Do you have an example account ID that you deleted and then created again where this happened?
Can you share the ID of the newly created account for that user?
we cant create a new one, when they try to do it, create a new account, it asks them log in
Ah you are using OAuth?
nope, the users create an account using their email and phone number, no OAuth
I can record it for you if it helps
No let's pause a second.
for example, this user email sanchezdroc1@gmail.com
he is trying to create a new account and facing the same issue
The flow if you aren't using OAuth is that you create the account and then you redirect the user to the account onboarding flow using an Account Link.
an account link like this one right
Yes
exactly
then when they add the email and phone number
it asks them to log in
as if an account was found
I understand that.
But I'm asking for the account ID that you used to create the Account Link
So I can look at what is happening
the user I am talking rn is trying to create a new account with the email
and the previous account that existed, which we deleted, is acct_1PktHP2XDeNExg2P
Sorry you still aren't understanding -- when you have your user go through the flow to recreate their account you first create an account for them (https://docs.stripe.com/api/accounts/create). Then as a second step you use that Account ID to create an Account Link (https://docs.stripe.com/api/account_links/create) to redirect them to complete the onboarding (add their email/phone) for that specific new account. I need that new account ID
we dont have that, do you want me to try to redo the process rn?
wait we have the new one
Okay that works too
acct_1Pl9ueFN3QpVlm4c this one?
for context we have had a few other users with similar issues this week
Looking
I'm not seeing an Account Link created for that account since it was created...
Can you reproduce the issue for that account right now and provide me the request ID for the Account Link so we can make sure you are creating it for the correct account?
yes
based on what you see right now the missing step is to create an account link, that links the new account to our platform in Stripe, is that correct?
The step by step on how we did it is:
- From the dashboard -> Connected accounts
No the account is already connected -- that happens on creation.
Ah yes this account you did create via the Dashboard
yes
However the account you deleted you created via the API
both, I can find a screenshot of what they see from the app one second
Can you provide me a link where I can reproduce?
This is wha tthe user sees when they try to create it via our app, our app uses a Stripe webview to show the account creation flow
If a new account we call:
const account = await this.stripe.accounts.create({
type: 'express',
business_type: 'individual',
business_profile: {
product_description: 'Traba Shift',
},
individual: {
first_name: workerWithAccountStatus.firstName,
last_name: workerWithAccountStatus.lastName,
},
email: workerWithAccountStatus.email,
settings: { payouts: { debit_negative_balances: false } },
})
If they already have an account we call:
const link = await this.stripe.accountLinks.create({
account: stripeAccountId,
refresh_url: 'https://www.traba.work/reauth',
return_url: 'https://www.traba.work/return',
type: 'account_onboarding',
})
Yep that all makes sense
Is there a fake email/phone that I can input to reproduce in that link?
The next step really is to reproduce the issue via the API like you are stating above... the initial account that you provided that was created via the Dashboard is not that same flow, as you don't enter an email ahead of time.
hmm do you want to try with that user email and a fake phone?
you can try with my email if you want
what I am finding odd is that as soon as you add the email and phone number it asks you to login instead of sign up
If you have an account with that email/phone it's normal
but in that example the account was deleted
so we need the user to sign up again
@slow marsh @wild kernel what are the next steps for us to debug this?
I think taht even if the account is deleted it might get in the way. My advice would be to talk to support here. This isn't really a code-related question and it's more a one-off support specific question at this point: https://support.stripe.com/contact
oh trust me we have been talking to support, I have two cases ongoing without any progress
In terms of making progress in the meantime, I'd ask them to use another email address
and every day that passes we have more and more users with this issue
the main problem comes from the phonenumber verification code not being delivered, users request us to reset their stripe accounts, and they try a diff phone number and that usually works
yeah I understand but there's nothing we can do here to debug something like this.
lately something changed and they are now facing this issue we are discussing here, it wasnt like that until last week AFAIK
what if this is a system change on Stripe's end, can you confirm if nothing changed in the last month?
I have no way to confirm something like this I'm sorry. The next step is to go back to our support team or your Stripe contact to escalate this