Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat UGX as a decimal based currency. (#1320)
Stripe documents several currencies as Zero-decimal currencies, these currencies should be charged as “$1 = 1” in the stripe API. https://docs.stripe.com/currencies#zero-decimal However, for backwards compatibility, specific zero-decimal currencies must be treated as decimal currencies, this includes UGX and ISK (which is not documented as a zero-decimal in the above documentation) This means that when we've attempted to charge `1,000 UGX` we've actually charged `10.00 UGX = 10 UGX`.
- Loading branch information