6 ms·
> We pay for this, even if we are the ones making it, to test our Stripe Integration. This is so important! This can go wrong even at large companies. At Net
by jedberg 6y ago
> We pay for this, even if we are the ones making it, to test our Stripe Integration.
This is so important! This can go wrong even at large companies. At Netflix we once had a billing issue and it took a while to even notice, because no one in the company was paying for it (it was just free for everyone), but it looked like just general attrition, not people slowly having failed payments.
After that incident, the company gave everyone a $16/mo raise (which is what it cost to have streaming and DVDs at the time) and then asked us all to set up our own payment. The goal was to have everyone paying and hopefully using different payment methods, so that if something went wrong at least a few employees would be aware of it.
- systemvoltage 6y agoWow, surely there must be better way to test Stripe integration than just making excuses for paying for stuff you don't need?
- ceejayoz 6y agoI would imagine most Netflix employees were already going to get a Netflix subscription. Setting that up so the company gets some extra QA out of that hardly sounds like a bad idea.
- Drdrdrq 6y agoAutomated tests rule, but nothing beats end to end tests, not to even mention that they are also eating their own dogfood. Awesome solution, gp, thanks for sharing!
- deleted 6y ago[deleted]
- Silhouette 6y agoI know of no payment service provider that offers support for testing that is good for fairly normal 2020 software development processes. The standard seems to be offering one separate sandbox environment along with your production one, which you can use to experiment without literally making charges/refunds/etc, and possibly a set of specific credentials you can use to simulate various outcomes such as a declined card or insufficient funds. I know of none that offers enough for stronger safeguards such as automated integration testing as part of a CI system, nor additional sandbox environments so you can for example test a new integration independently without disrupting your main test/staging system that is integrated with the sandbox you get automatically. Just to extend the OP's anecdote, we also have someone signed up for real with every payment method we offer, though more recently we've been looking at moving away from these kinds of payment service entirely for this among other reasons.
- djxfade 6y agoIn my experience, some (maybe not Stripe) payment vendors sandbox environments acts slightly different, and these minor issues can break things in production. A payment provider I worked with didn't have a proper way of "storing" cards. But you could create a subscription and bill it whenever you wanted. We didn't want to risk that the subscription stopped working, so we hard coded the subscription to be valid until 9999-12-32 (why not?). This worked fine in the sandbox, but when it was pushed out to production, it didn't work at all, because here in Europe, with the SCA that is enforced by the banks, they refused to create subscriptions that exceeded an unknown amount of time.
- mcny 6y ago> they refused to create subscriptions that exceeded an unknown amount of time I don’t know anything about payments or the EU regulations but it feels kind of stupid to not specify the maximum amount of time allowed? Is it just bad documentation or does that date/interval have to be secret for some reason?
- hyperdimension 6y agoWith that, I suppose we now can look forward to a Y10K problem. :)
- weaksauce 6y agoWhat are they really losing there? the stripe fee? they are paying themselves 10 dollars minus the fee... surely it's worth the 60¢/month it costs for absolute certainty that your integrations work for real?
- AlexSW 6y agoWell there's also the income tax and possibly VAT.
- TheCoelacanth 6y agoSurely that's based on your actual sales, not on your credit card receipts.
- mchusma 6y agoActually technically this is prohibited by stripe. They explicitly ban testing your app in production. We have offered suggestions many times to them, but still no feature here.
- jedberg 6y agoThis isn’t really “testing”. It’s just signing up for their own service. They aren’t making stripe transactions and then reversing them. If stripe bans you from buying your own service, they may want to rethink that policy.
- cabalos 6y agoI think this is credit card company policy and not specifically Stripe. IIRC, there is some language regarding using your own credit card because it could potentially be used to give yourself a loan. Credit cards have a much higher APR and lower limits for a cash advance. Processing your own cards could be used as an avoidance.
- raphaelj 6y agoHow is this different from withdrawing from an ATM with my C/C ?
- sparky_z 6y agoDifferent credit limit and loan terms.
- akiselev 6y agoLast time I worked with (on?) a payment processor we got special credit cards that worked like Stripe's test numbers for testing production. I.e. some cards would go through, others would fail with errors specific to each card number. They were probably one of the most closely guarded pieces of equipment we had since the cards that cleared did so at any merchant so it'd work at point of sale but the vendor would never receive the money.
- cwp 6y agoMy company does this too, for the same reason. (Not using Stripe though.)