#LanGames
1 messages · Page 1 of 1 (latest)
Hi there
Hello
so can you suggest how to control which webhook is called after I initiate Checkout session
Yep one second, checking on something
maybe it depends on the secret I set
No that doesn't really matter
So basically all of your endpoints that are listening for any type of event will receive that event on your account
So what you want to do here is actually differentiate the data coming from your two websites
And you only really need one endpoint
You differentiate the data by using metadata
yes
Then in your webhook handler you parse the metadata to know the site
I could use the metadata, right
so signing secret doesn't matter
but I guess each webhook endpoint must be initialized with its secret from the dashboard