We check whether a payment amount is too small or too large. This makes a few changes: - `isAmountTooLarge` was correct except for [IDR][1], which has a larger limit according to [Stripe's docs][0]. - Added docs for `isAmountTooSmall` and `isAmountTooLarge`. - Updated rounding to use "normal" rounding instead of "banker's rounding". [0]: https://stripe.com/docs/currencies?presentment-currency=US#minimum-and-maximum-charge-amounts [1]: https://en.wikipedia.org/wiki/Indonesian_rupiah |
||
|---|---|---|
| .. | ||
| CachedBadge.swift | ||
| DonationUtilities.swift | ||
| Stripe.swift | ||
| SubscriptionManager.swift | ||
| SubscriptionReceiptCredentialRedemptionJob.swift | ||