Programming Languages
Bug Report
Customers in Japan and Korea charged 100x: zero-decimal currencies multiplied by 100
We launched local pricing in JPY, KRW and VND and a customer in Osaka was charged 398,000 yen for a 3,980 yen course. Our code multiplied every price by 100 before sending it to Stripe. How we found it, refunded it and built a per-currency exponent table with tests.