4 ms·
Aside from Stripe not doing what customers are asking for, there are very good reasons why fake cards in production is a really bad idea: * the fake cards can
by sudhirj 7y ago
Aside from Stripe not doing what customers are asking for, there are very good reasons why fake cards in production is a really bad idea:
* the fake cards can leak, and your customers can start using them on your site. I'm not sure how you want to handle this. If this is production your code shouldn't have to be checking for card number patterns, and since you don't get the full card number anyway, I'm not even sure how you would.
* Part of your bookkeeping is that all production transactions are reported as income, both to your CPA and to the IRS / tax authority of your country. You're going to have a major headache trying to explain what's going on to the auditors. These fake transactions will forever be part of your audit trail.
* It'll screw up your reporting - your analytics, revenue, churn rate etc will be artificial, and you'll have a hard time getting people to trust them the moment it's even possible to fake those numbers with test cards.
We have a ticketing system, and yes we do use our own cards to buy low value stuff on production. We then trigger the normal return / complaint flows to get actual refunds back (Stripe doesn't charge you anything for refunds), so it's really no skin off anyone's back, and it does properly test both your purchase and refund flows fully.