#Piotr Żarek - webhooks

1 messages · Page 1 of 1 (latest)

earnest cipher
#

👋 Hi there, Happy to help!

#

What do you mean by "target" environment ?

polar maple
#

We have a SaaS application with many different environments (accept, test, production etc). And you're able to create a Stripe card via one of these environments. So then we'd like to handle all transaction created events on the environment, on which a given card was created.

So one of our ideas was that we can add a custom metadata to transactions in our tests. We'd add an environment name as a metadata (accept/test etc). Then we could filter the events in our webhooks.

But maybe there are simpler ways to do it? Could we have many Stripe test accounts, for example?

earnest cipher
#

Actually, with Stripe you can have only two specific environment, Test or Live per Account.
One of the options and like you mentioned, you can add metadata and filter on it.
Or you can create an account for each environment.

polar maple
#

Thanks! Can we create additional accounts for testing Stripe Issuing, though?

toxic dune
polar maple
#

Is there an additional price we would have to pay for these accounts if we would only use development environment there?

toxic dune
#

nope