#wdrisco
1 messages · Page 1 of 1 (latest)
Hmm, unclear from the screenshot what is required here and we're not collecting?
So the issue is that Stripe allows the user to agree and submit and return to our web application, when there is missing required information on your end, so the connect account is not setup and enabled to allow charges
the information that's missing is kind of irrelevant, but we've tried with missing DOB, missing business address, etc.
I'm not sure if this is just the case in test mode to allow us to complete your connect onboarding for testing?
Question 2 of 2 - We're using the connect onboaring as part of our own onboarding flow. Upon returning to our web application, the connect account complete webhook is taking sometimes up to 2 minutes to fire. This leaves our users in limbo on our page whilst we wait for the webhook response. This is in test mode. Do you have any recommendations on how to handle this? Ideally we would like a response from Stripe that the stripe onboarding is completed but awaiting your verification or similar
Thank you!
Let me check on that
Specifically which event type? account.updated? Do you have any example? Sounds unexpected as they should fire ~instantly throughout the onboarding flow
I can run through and test one now, what can I share with you after, is it an event ID or something?
Please! evt_xxx
yes we're using account.updated
"evt_1ORZlX4DEut9Sm2xIrRyZ4cp"
That was the one I used when testing most recently
most cases we're waiting up to 30 seconds it seems for the webhook
we actually received 6 webhook events for this account setup, the one above being the last. This one was the first.
"evt_1ORZjJ4DEut9Sm2xPuBQp826"
this one was when the account went to charges "pending"
"evt_1ORZjn4DEut9Sm2xjl2YJasN"
then its a 1:50 gap
30 seconds from when exactly? Obviously hard for me to know the timestamp from which the onboarding was 'completed', but we sent that specific event on 2023-12-26 12:29:47 and received an immediate acknowledgement (200) from your endpoint
I think the above events will hopefully add some clarification
Yup, we'll send multiple account.updated events as your users progress through the onboarding flow so that they can resume the state if they drop off
I would assume this was when the onboarding was completed - evt_1ORZjn4DEut9Sm2xjl2YJasN
and then it was almost 2 mins before we received charges enabled webhook
so in that period we don't know if the user has
a. Not completed everything and it's really pending (see other question about limiting this)
b. Waiting on Stripe
Which data are you using to onboard test accounts?
just random data to be honest, and test data where it seems to be required - 0000.... etc for phone numbers, etc
That's likely the issue here. If you're not using our test data (https://stripe.com/docs/connect/testing) then you're likely triggering an actual verification flow, which is async and can take time
If you use the test data then onboarding results should be immediate and the webhook events should reflect that
Obviously it will differ in live mode where we'll need to actually verify your users, so your integration will need to account for potential delays. It won't always be immediate
okay, so I guess the question is how to differentiate from Stripe response when the application has been completed, and when it's being verified?
Perhaps you display a different UI advising them to return later and then send an email once you've received the account.updated event to advise account is active
That's true
evt_1ORZjn4DEut9Sm2xjl2YJasN - in this one, where the charges were pending, I guess that would suggest its in verification state and all completed?
There's fields on the Account object that denote status, mostly charges_enabled, payouts_enabled
Yeah that looks to be 'pending' still but there's no requirements due to we have everything we need right now to verify the account (see requirements[pending_verification] hash)