#Sarvesh
1 messages · Page 1 of 1 (latest)
$accountLinks = $stripe->accountLinks->create([
'account' => $account->id,
'refresh_url' => 'https://35db-103-164-196-93.in.ngrok.io/refreshdata'
'return_url' => 'https://35db-103-164-196-93.in.ngrok.io/returndata'
'type' => 'account_onboarding',
]);
onboarding works fine but with returndata is empty. Stripe hits the return url but nothing is returned to me to update the connected account status/information etc.
what I need to do?
Do you connect Standard Account?
Okie, so the Account Link Onboarding flow worked and returned to your return_url, right? I believe you should also receive some webhook events
I think there should be account.updated sent to your(platform's) connect webhook
ok, i will check again if i receive any webhook
but return url does not have any data?
As I remember yes, probably with account id. What URL did you observe?
'return_url' => 'https://35db-103-164-196-93.in.ngrok.io/returndata'
I mean when you redirect back to your return URL, how did the URL look like?
i will check it in 30 mins, keep this channel on
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Hey, I am connecting account with Express type is this fine or need to connect with Standard?
what is difference in both types of accounts?
$account = $stripe->accounts->create([
'type' => 'express',
I'd recommend reading here: https://stripe.com/docs/connect/accounts#choosing-approach
ok
now I can receive account.updated webhook
how to read that webhook and update account status as active or completed?
receiving many webhooks events while connecting account so how to know which is final and update the status
to our database
POST /connectedaccountwebhoook
You'd general look at the charges_enabled and payouts_enabled fields. There's no one status field for an account. Equally, the requirements hash will give you an idea of what is understanding for the account to be verified. More here: https://stripe.com/docs/connect/identity-verification-api#verification-process