#jmak

1 messages · Page 1 of 1 (latest)

teal hornetBOT
harsh lagoon
#

Hello! Can you give me some more details? Are you talking about Checkout? Connect? Something else?

brave scarab
#

Connect Accounts.

I currently have it set up so that people can sign up as a seller, but it looks like if they exit halfway through that process it isnt working properly

#

its just spawning a bunch of new accounts on stripe for them but it doesn't even let me me continue the process

harsh lagoon
#

So what specifically are you looking for? Are you asking how to generate AccountLinks for users who are mid-way through the onboarding process and need to continue where they left off?

brave scarab
#

yes and also how to remove the existing stripe accounts that have failed

harsh lagoon
#

Which types of accounts are you working with?

brave scarab
#

connect accounts

#

as mentioned earlier

#

Whenever the account is successfully created after a user returns to a flow, what webhook should it be listening to?

harsh lagoon
#

Which type of connect accounts though - standard? express? custom?

brave scarab
#

express

harsh lagoon
#

Gotcha, and just to confirm - you are using Account Links, right?

brave scarab
#

i assume its account updated

#

thats wht the documentation said

#

are you talking about the webhook?

harsh lagoon
#

No, I'm not talking about the webhook - have you read through these guides on how the onboarding process works (https://stripe.com/docs/connect/express-accounts)? The expectation is that you create an Account Link that you redirect your user to where they can complete onboarding

brave scarab
#

but yes i am using account links

#

i am doing that

#

but how do i register the account has been successfully linked? It doesn't look like the acount_updated webhook is coming through

harsh lagoon
#

What do you mean by "The account has been successfully linked"?

brave scarab
#

like account_links returns 200

#

and its supposed to trigger a webhook event right

harsh lagoon
#

No, the creation of the Account Link doesn't trigger any webhook event

#

We only trigger the account.updated event after a user has actually visited the Account Link and started the onboarding process/provided some of their information

brave scarab
#

yes

#

i am talking about successful submission

#

after this

harsh lagoon
#

Yeah so after that you should be getting an account.updated event

brave scarab
#

it doesnt seem like it's coming through

#

at least to my local machine

harsh lagoon
#

Do you have an account ID I can take a look at?

brave scarab
#

no events

#

i was getting events earlier, but it was sending to a different URL

#

acct_1MheHXPd3mfn4VH6

#

but thats where the account updated events were going

harsh lagoon
#

The account.updated events are for each individual connect account, so you (as the platform) can only get them from your connect webhook, not an account one

brave scarab
#

hmm

#

im getting 401s for everythungi

#

everything

weak ruin
#

HI there. Karbi had to step out

#

You're getting 401s for the requests Stripe makes to your webhook endpoint?

brave scarab
#

im reading my local logs and this is also what i see

#

its a bunch of 400s and 401s

weak ruin
#

Check your server's log to see what went wrong

brave scarab
#

what is capability updated?

weak ruin
brave scarab
#

also for this one particular one, I am stuck in a loop where account updated doesnt seem to be sent

weak ruin
#

What do you mean?

brave scarab
#

it only worked if i deleted the account and reset it

#

speaking of which, if there are multiple accounts where people tried to make a stripe but couldnt

#

is there a way to delete their stripe account

weak ruin
#

Read the caveats in the description though

brave scarab
#

okay

#

this is where the account is stuck

#

it submits

#

but then nothing is sent to server

#

how long does this pending take usually?

weak ruin
#

Not sure. I think account verification can take a couple business days

brave scarab
#

But this is on test

#

Shouldn’t it be pretty fast

weak ruin
#

Can you share the account id?

brave scarab
#

acct_1MhepVPXd0vtM6Zf

#

it seems like its complete but the event never sent

weak ruin
#

Looks like your server errored out

#

Did you ever debug your logs as suggested earlier ^

brave scarab
#

Is there a way to resend the event?

#

I supposed it’s because the server was asleep

weak ruin
#

Yeah you can do it from the events section in your dashboard

brave scarab
#

I’m seeing no such notification

#

When I view that link

weak ruin
#

What do you mean

brave scarab
#

Ah okay will try thanks.

#

Can we leave this thread open? I’ll be away from my cpu for a bit

weak ruin
#

No we archive threads after inactivity so the list of threads that's open is clean and not cluttered