#Att89-connect-webhook-cli
1 messages · Page 1 of 1 (latest)
Hey! can you share a Stripe account ID?
Preferably of the platform
Att89-connect-webhook-cli
Hi there, yes, the stripe account ID of the platform is: acct_1JNcllFHLvSMgLRW
It is: acct_1JtGA02aDNgXz2nf
Got it, thanks
Do you have an event ID that isn't being forwarded as you expect?
And are you authorised in the CLI as the platform account?
Yes
Nothing is being forwarded to the connect webhook, onyl to the platform webhook.
Right, but there'll still be events created on the Stripe account
Let me check
Hmm, seems all recent events are on the platform account and not the connected account. For example: https://dashboard.stripe.com/test/events/evt_3KLSg4FHLvSMgLRW0MJaHXSW
Ah, I think the --stripe-account flag needs a =
So --stripe-account=acct_xxx
I can see the payment_intent.succeeded event even if it is for a specific connect-account. I thought i should catch this event over the connect-webhook, because the payment intent was created for a connect account.
But it isn't being created on the connected account (check the logs of the account and you'll see)
Yes, i see. I think i misunderstood this point. The payment intent is created for the connect account (with the account_id in the request options), but it is created on the platform account, so events for it won't be triggered on the connect webhook. Am i right?
Exactly. Without that --stripe-account= flag you're trigger the event (and associated objects) on the account you're authenticated with in the CLI (the platform)
So they won't be triggered on the connect webhook, but your regular webhook on the paltform
I understand! Many thanks for your quick help!