#munlightshadow

1 messages · Page 1 of 1 (latest)

dim hatchBOT
timid solar
#

hello, can you restate the context? Codename had to step away

static python
#

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

Use Custom accounts with Connect to control your users' entire experience.

#

"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!

timid solar
#

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

static python
#

yes. 400 - it's no problem 🙂

timid solar
#

are you still blocked?

#

or did you get everything answered?

static python
#

I think now I know what should I do. Thank you very much