by hnthrow289570 · 2y ago · 0 comments
We built against Stripe's sandbox and never had to test in production, so I never had to use a real credit card. It may have happened when going live for the first time, but that would have been two/three charges with one time payments and recurring payments (hardly what you'd call robust testing). Issues observed in production can usually be reproduced in the sandbox. There's some other caveats between the environments though that I'm forgetting but I don't think we ran into those.
We also had an ACH payment provider (add your bank account, verify it, we deduct from it, etc.) that also had a sandbox and had no issues there either.
Did it, got bit in the ass when some workflow was disabled in production and not in their sandbox. I don't recall the exact thing but always fun to push into production all sure of yourself to have to rollback fast and ponder why you get some fun message in your logs. At least the error message was clear about what we were doing being available only on the sandbox.
It was some years ago so I don't remember if it was in Stripe Connect or during the mandatory 2FA rollout.
What Stripe workflow was this? Or was it specific to your codebase?
A) Account settings are specified separately in prod / staging
B) Differences between those environments are not automatically reported in a useful way
C) Only one staging env per customer. Want to check what a new setting will do? Every developer is getting that setting turned on.Stripe Sandboxes[1] aim to solve this problem!
(Disclaimer: I work for Stripe but not on this feature)
DAMHIK.
(Oh also sometimes it defaults users (in the U.S.) to Anguilla as their country code (also +1) but then gives users an error their phone number is invalid.)