#ademarj
1 messages ยท Page 1 of 1 (latest)
yes that is right
Yeah then you wouldn't set up a Webhook on this account directly. You use a Connect Webhook on your platform to listen for Events that occur on your Connected Account. See: https://stripe.com/docs/connect/webhooks
hum... but in this case all connected accounts will send events through the webhook in my Platform account?
Yep, but each Webhook includes the Connected Account ID in the payload
"id": "{{EVENT_ID}}",
"livemode": true,
"object": "event",
"type": "customer.created",
"account": "{{CONNECTED_ACCOUNT_ID}}",
"pending_webhooks": 2,
"created": 1349654313,
"data": {...}
}```
Ok I got it, thank you so much
๐
๐
Is it related to this thread @keen chasm ?
Otherwise we should make a new thread to chat
It is related to this thread
@cold cave is a coworker
and a really good one ๐
@humble abyss So, let me try to give you a bit more context. What we are trying to accomplish here is to allow our customer to OAuth to get access to their account information from a Salesforce org.
The accounts they will be using are their own Stripe Accounts, created not through our platform but regular Stripe accounts they created on their own way before they worked with us.
Nevertheless, my understanding is that they are still OAuth'ing and somehow, their regular accounts get connected to our Platform Account.
So, my understanding is that since they have a regular account that was not created through our Platform account, they have access to configuring their own webhooks related to their account.
Correct
They can configure their own webhook
You just can't configure it for them from your platform
Which is what it sounded like was being attempted above?
Oh, no...
What happened on our side is that we were using this:
When using that button, the account created didn't have the option to setup webhooks
that caused some confussion
Does that make sense?
Ah yeah those accounts are meant for testing Platform Controls where you platform has full control and the Connected Account doesn't do anything itself.
If you want to test the OAuth flow you are talking about then you need to create a standalone account and then use OAuth to attach it to your platform
Sure thing