polar
polar copied to clipboard
Payouts: Ensure Taiwan (TWD) / Hungary (HUF) payouts are evenly divisible by 100 as required by Stripe Connect
trafficstars
Description
Payouts for Taiwan Dollar (TWD) / Hungary (HUF) need to be evenly divisible by 100 as per Stripe requirements, documented in https://stripe.com/docs/currencies#special-cases.
Tickets:
- https://app.plain.com/workspace/w_01JE9TRRX9KT61D8P2CH77XDQM/thread/th_01K9Q0SAJKKTTNNZ2WXZP8R495/
Current Behavior
Currently, there is no validation or enforcement that TWD payouts are divisible by 100, which can result in Stripe rejecting manual payouts (see attached screenshot).
Expected Behavior
When creating a payout in TWD, only allow amounts that are evenly divisible by 100. Do not allow payouts such as 800.45 TWD (which results in 80045, not divisible by 100).