#munlightshadow
1 messages · Page 1 of 1 (latest)
hello, can you restate the context? Codename had to step away
Sure
Hello, I'm trying to do onboarding (https://stripe.com/docs/connect/connect-onboarding). Everything all right. I do something like this:
$answer = $stripe->accounts->create(
[
'country' => 'US',
'type' => 'custom',
'capabilities' => [
'card_payments' => ['requested' => true],
'transfers' => ['requested' => true],
],
]
);
$answer2 = $stripe->accountLinks->create([
'account' => $answer['id'],
'refresh_url' => 'https://example.com/reauth',
'return_url' => 'https://example.com/return',
'type' => 'account_onboarding',
]);
get url from $answer2, and do step by step.
But... In this doc https://stripe.com/docs/connect/custom-accounts I found "After an account is created, all notifications about changes to the account are sent to your webhooks as account.updated events.". I don't see in stripe events. What do I wrong?
*events for payment_intent.succeeded work perfect
"That will then receive account.updated events from the connected account
So you will need 2 webhook endpoints
1 for the events on your account
And another for events on your connect account"
I created new webhook type, but nothing
Sorry. I think everything all right!
that is a Connect webhook endpoint in the screenshot right?
and it shows events being sent to your endpoint? And your endpoint is returning 400 HTTP response to them
yes. 400 - it's no problem 🙂
I think now I know what should I do. Thank you very much