#beaid-webhooks

1 messages · Page 1 of 1 (latest)

knotty ember
#

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?

west depot
#

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

knotty ember
#

the url/domain doesnt matter, only the selected events (and api version, if you have those set different)

west depot
#

no events and api version are same on both endpoints. so a "charge.succeded" event will be sent to both endpoints, right?

knotty ember
#

yep!

west depot
#

would be nice if one could set endpoint ID at create session, like success_url

knotty ember
#

why do you want that?

west depot
#

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

knotty ember
#

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
west depot
#

the meta data option is good I think, there was a thread some minutes ago, I will try this

#

thank you for assistence

knotty ember
#

no problem at all