Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bwrigley's avatar

multiple instances of stripe for testing?

We have a dev, staging and production environment and I'm trying to work out how we attach Stripe given that we need a different set of data for each environment.

I asked Stripe and they said that we should sign up for multiple accounts to achieve this, but that feels wrong to me.

Has anyone got any experience of this?

Thanks

0 likes
3 replies
ejdelmonico's avatar

Yes, they do not provide for multiple instances of the same account. You would have to signup for multiple accounts and painstakingly add all of your setup to each account in test mode.

The other option is to setup a mocked test rig using Postman to run test on the Stripe account. However, they are both a waste of time.

1 like
bwrigley's avatar

thanks for quick reply.

A waste of time? You mean it's not worth it or just a pain in the neck?

I'm surprised they don't provide for this, it must be a really common requirement!

1 like

Please or to participate in this conversation.