#TryoMan - webhooks

1 messages · Page 1 of 1 (latest)

analog sigil
#

Unfortunately there is not a way to divide webhook endpoints by product. You will always be signing them up for events of certain kinds across the entire account

#

Can you tell me a bit more about what you are trying to differentiate there? Do each of these sites sell the same products?

tight yew
#

Thank you for your answer Pompey !

#

No, we have two different website, selling two different product

#

On the Stripe account i have two different product and a global webhook

#

When website 1 sell one thing, the webhook push it to the global endpoint, and website 2 is also alerted, that is my problem

#

I have to distinct website 1 subscription and website 2 sells

analog sigil
#

It sounds like you may be able tohave each site store the IDs of the products that are relevant to it

#

Or maybe you can set metadata on each product and a site can pull that data to check if it is relevant to it

tight yew
#

Oh okay !

#

I did not knowed that we can use meta data on product

analog sigil
#

You can set it on pretty much all of our API objects.