Automattic / woocommerce-payments

Accept payments via credit card. Manage transactions within WordPress.
https://wordpress.org/plugins/woocommerce-payments/
Other
173 stars 69 forks source link

No handling for three decimal currencies #7725

Open jessepearson opened 10 months ago

jessepearson commented 10 months ago

Describe the bug

Stripe has a list of currencies that have three decimals that require special handling when dealing with transactions, and Woo Payments does not have any special handling for these currencies according to Stripe's documentation. There is an additional 3 decimal currency listed in the locale-info.php file within WooCommerce core, as well: LYD.

Additional notes

This is not related to Multi-Currency, however, Multi-Currency should have updated handling for charm and rounding for these currencies, as well.

htdat commented 10 months ago

This issue impacts "International Expansion" (I assume so, if that's not correct, feel free to reply back), so assigning to team Fusion (based on team responsibilities Pc2DNy-3z-p2) cc team lead @anu-rock .

Assigning as part of Gamma Triage process PcreKM-yM-p2.

anu-rock commented 10 months ago

@jessepearson I've added it to our backlog and marked it as low priority. Let me know if you feel the priority should be higher.

jessepearson commented 10 months ago

@anu-rock This goes along with https://github.com/Automattic/woocommerce-payments-server/issues/4186 and will likely need to be handled at the same time. Once the currencies are made available, they should have specific handling set up to make sure the amounts conform to Stripe's requirements.

vbelolapotkov commented 8 months ago

Same as #7726, let's cut it into pieces to make sure the fixes and changes are specific, rather than generic. Sending back to triage for now.