#morenomdz_unexpected

1 messages ¡ Page 1 of 1 (latest)

gentle blazeBOT
#

👋 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.

wild kernel
#

Hello

#

Do you have an example account ID that you deleted and then created again where this happened?

feral cape
#

yep

#

one moment

#

acct_1PktHP2XDeNExg2P

#

this is what happens ^

wild kernel
#

Can you share the ID of the newly created account for that user?

feral cape
#

we cant create a new one, when they try to do it, create a new account, it asks them log in

wild kernel
#

Ah you are using OAuth?

feral cape
#

nope, the users create an account using their email and phone number, no OAuth

#

I can record it for you if it helps

wild kernel
#

No let's pause a second.

feral cape
#

he is trying to create a new account and facing the same issue

wild kernel
#

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.

feral cape
wild kernel
#

Yes

feral cape
#

exactly

#

then when they add the email and phone number

#

it asks them to log in

#

as if an account was found

wild kernel
#

I understand that.

feral cape
#

and finally it asks them to use a 2FA

#

which doesnt make any sense

wild kernel
#

But I'm asking for the account ID that you used to create the Account Link

#

So I can look at what is happening

feral cape
#

the user I am talking rn is trying to create a new account with the email

sanchezdroc1@gmail.com

and the previous account that existed, which we deleted, is acct_1PktHP2XDeNExg2P

wild kernel
feral cape
#

we dont have that, do you want me to try to redo the process rn?

wild kernel
#

Hold on I may be able to find it myself

#

One sec

feral cape
#

wait we have the new one

wild kernel
#

Okay that works too

feral cape
#

acct_1Pl9ueFN3QpVlm4c this one?

#

for context we have had a few other users with similar issues this week

wild kernel
#

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?

feral cape
#

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
wild kernel
#

No the account is already connected -- that happens on creation.

#

Ah yes this account you did create via the Dashboard

feral cape
#

yes

wild kernel
#

However the account you deleted you created via the API

feral cape
#

oh true true

#

the flow in our app uses the API for that (the SDK) yes

wild kernel
#

And this is happening in that flow?

#

Or just when using the Dashboard?

feral cape
#

both, I can find a screenshot of what they see from the app one second

wild kernel
#

Can you provide me a link where I can reproduce?

feral cape
#

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',
    })
wild kernel
#

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.

gentle blazeBOT
feral cape
#

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

slow marsh
#

If you have an account with that email/phone it's normal

feral cape
#

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?

slow marsh
#

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

feral cape
#

oh trust me we have been talking to support, I have two cases ongoing without any progress

slow marsh
#

In terms of making progress in the meantime, I'd ask them to use another email address

feral cape
#

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

slow marsh
#

yeah I understand but there's nothing we can do here to debug something like this.

feral cape
#

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?

slow marsh
#

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

feral cape
#

so much pain there lol

#

well thanks for the confirmation, I will try with a new email in the meantime