#Peter Silie

1 messages · Page 1 of 1 (latest)

boreal umbraBOT
buoyant turret
#

Is there a problem you're trying to solve?

prime prism
#

I've got 2 webhook running which are connected. Both for different customers. I would like that only the events for the right customer is sending data to the webhook.

#

The Webbhooks need to be on different servers.

buoyant turret
#

Both for different customers
What's a customer in this context?

prime prism
#

The customer is the connected account. (sorry)

#

From my perspective

buoyant turret
#

So you've configured multiple webhooks on your platform account?

#

Why not just use a Connect webhook endpoint?

prime prism
#

The two direct Webhooks (not connced) I do not need anymore. I will deactive them.

#

But I will need the two with the Type "connected".

#

I would like to define, which conneted account is using which webhook.

#

I think I am right, at the moment they are both firing on 'checkout.session.completed' regardless of the connected account.

#

Correct?

buoyant turret
prime prism
#

Ah ok. That is what I was searching for. The ID of the connected account is send in the payload and so I can define, what to do with it.

buoyant turret
#

Exactly

prime prism
#

Ok, thanks, that is what I was searching for. Have a nice day.

buoyant turret
#

you too!