#remi-testmode
1 messages · Page 1 of 1 (latest)
hi! test mode is entirely independent so using it doesn't affect production
for a staging environment, you can use test mode of your normal Stripe account or you could create a separate account just for that and use its test mode
Ok, thanks. I guess will go with the testing organization so if it's get too messed up we could delete it and create a clean new one. Is it possible to create test organization on the fly using the API ?
no, you have to create new accounts via the dashboard (using the dropdown in the top left of the Stripe dashboard to create a new account)
is it allowed to use Selenium to create account and delete them after ?
I understand, it's just that we need to setup the environment automatically so we could reuse the same environment but we have to make sure they aren't any collision between our different environment. One solution would be to create and maintain a pool of organisation. The other would be to create a dedicated organization for each environment but this couldn't be done automatically.
So if you say it's illegal to use Selenium or we could get banned or something I will go with the pool of organizations. But it not as good.
we don't have good answers or solutions for this type of testing
we don't have a policy on using Selenium or would actively bank you or something, but obviously you could break at any time.
Officially I would say the recommended way is to use your one single main Stripe account, and use its test mode your staging environment. It's not ideal because the data is not cleared etc, but there's no ideal solution here unfortunately!
ok, that's clear, thanks