#Piotr Żarek - webhooks
1 messages · Page 1 of 1 (latest)
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?
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.
Thanks! Can we create additional accounts for testing Stripe Issuing, though?
you can create as many Stripe accounts as you like yes (https://stripe.com/docs/account/multiple-accounts)
Is there an additional price we would have to pay for these accounts if we would only use development environment there?
nope