#beaid-webhooks
1 messages · Page 1 of 1 (latest)
hey there! Stripe will send the event to all subscribed endpoints. If you have multiple endpoints they may or may not have the same events selected, so it depends on that configuration.
Can you rephrase your second question?
let's say alle endpoints have the same events, but have different domains configured
so I need a way to drop events on webhook A. background is a V2 version of a project
the url/domain doesnt matter, only the selected events (and api version, if you have those set different)
no events and api version are same on both endpoints. so a "charge.succeded" event will be sent to both endpoints, right?
yep!
would be nice if one could set endpoint ID at create session, like success_url
why do you want that?
I build a new version of a product. the new and old version will run together some weeks, but have different code base
and I use 1 stripe account
If you testing a new version there are a couple of options:
- create another test stripe account to test the new version separate from your live version
- use metadata to flag the "v2" related events and drop them from the prod version
the meta data option is good I think, there was a thread some minutes ago, I will try this
thank you for assistence
no problem at all