#dj2531
1 messages · Page 1 of 1 (latest)
Hi
Can you share a requestId that you are expecting to receive an event ?;
Request ID: req_yRDoqTEM8ONqrM
Transfer ID: tr_1NZtimEoGhMASEyoGAZ4SvRY
On the platform account we've got one webhook configured to listen to all events. The expectation was for an event to be sent to the endpoint. But that appears to not be the case. Here is the webhook ID also: we_1LJLGbEoGhMASEyovinPnVkN
There was an event generated for that request evt_1NZtimEoGhMASEyo1QUwj1KP
checking why you didn't received it...
correct I can see the event in the dashboard. But i can't see any webhook attempt given that the webhook: we_1LJLGbEoGhMASEyovinPnVkN is listening to all events.
The endpoint type is connect, while the event was made on the platform account.
You need to create another platform endpoint (you can do it using the same url)
Got it can you confirm then in this event also: evt_0NZuGEnNyUmUPyJr4M29xtEM
because I think this event was created on the platform account but I see that an webhook attempt was made to both platfrom account and webhook attempts to the connected accounts also.
That event was sent to this webhook endpoint we_0INyionNyUmUPyJr0uuC3gD9 only
Got it but wasn't that transfer not also made on the platform account?
Request ID: req_Z6nYy7WPd9iLwV
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
Thanks Vanya.
You can try listening to this event from your Connected Account balance.available: https://stripe.com/docs/api/events/types#event_types-balance.available
Hi Vanya, that's not what I'm trying to do here.
I'll try and re-explain. I have two events that belong to two different platform accounts and both of the webhooks are configured in the same manner:
-
evt_0NZuGEnNyUmUPyJr4M29xtEM-we_0INyionNyUmUPyJr0uuC3gD9 -
evt_1NZtimEoGhMASEyo1QUwj1KP-we_1LJLGbEoGhMASEyovinPnVkN
The first event triggered a webhook attempt to both the platform account and connected account.
The second event didn't trigger any webhook attempt to either platform account or connected account.
Your previous colleauge mentioned that the reason why no webhook attempt was made for: evt_1NZtimEoGhMASEyo1QUwj1KP was because it was it was made on the platform account.
Both of these events happened on the Platform account.
Right ^
Could you please give an example of an event that was created on the Connected account?
And on both of these platform accounts both webhooks: we_0INyionNyUmUPyJr0uuC3gD9 / we_1LJLGbEoGhMASEyovinPnVkN are configured to listen to connect account events right ?
Since both these events:
- evt_0NZuGEnNyUmUPyJr4M29xtEM
- evt_1NZtimEoGhMASEyo1QUwj1KP
were created on the platform account my question is why do we see only webhook attempts on one of them when both platform accounts have been configured the same way.
Good question. I see the endpoint was updated at 12:09 today, after the event was triggered. Are you sure that endpoint was ready when the event went out?
I see the endpoint was updated at 12:09 today
Which endpoint? Which webhook?we_1LJLGbEoGhMASEyovinPnVkN?
Sorry, my bad. Actually, there's no account webhooks on this account: acct_1L02FQEoGhMASEyo. That's why you didn't receive any webhook notifications.
Just to clarify, do you understand the difference between "account webhooks" and "connect webhooks"?
Hi Vanya, I do understand the difference betwen account webhooks and connect webhooks.
On the account: acct_1vQFnNyUmUPyJrMwiATd can you give me the id of the account webhook.
On this account I see 5 account webhook endpoints listening to some of issuing.* and terminal.* events. Nothing else.
Right, so following from that how does this event: evt_0NZvAHnNyUmUPyJr2A70y3h3 which belongs to the account: acct_1vQFnNyUmUPyJrMwiATd send an event to the platfrom webhook ?
Can you understand where my confusion is coming from ?
We're saying that on both accounts: acct_1L02FQEoGhMASEyo and acct_1vQFnNyUmUPyJrMwiATd there are no account webhooks set up. But yet on the event: evt_0NZvAHnNyUmUPyJr2A70y3h3 we can see an event is being triggered to the platform account.
Okay, I see. This Platform is a connected to a Platform of it's own.
Oh so the platform is connected to itself.
Is that what we're saying here?
Whereas the account: acct_1L02FQEoGhMASEyo isn't connected to itself.
and because the acct_1vQFnNyUmUPyJrMwiATd is connected to itself it would send the webhook event because in theory it's connected.
Yes, that's probably right.
okay thanks. Mystery solved.
Happy to help!