saucal / woocommerce-gateway-amazon-pay

Amazon Pay Gateway
0 stars 1 forks source link

Force decimals with JPY always to be 0 #222

Closed alexiglesias31 closed 1 month ago

alexiglesias31 commented 8 months ago

All Submissions:

Changes proposed in this Pull Request:

Rel card: https://app.clickup.com/t/860qe8m2e

How to test the changes in this Pull Request:

  1. Install a built of this PR and the Price Based on Country plugin (free version)
  2. Add Japan with JPY currency in the Price Based on Country plugin.
  3. A customer with shipping address on Japan should be able to complete the checkout.

Changelog entry

Fix - Checkout error with JPY currency and decimals set to non 0.