woocommerce-gateway-amazon-pay
woocommerce-gateway-amazon-pay copied to clipboard
chargeAmount.Amount is invalid when changing currency after selecting other shipping address
Describe the bug Using: Price Based on country plugin for multi-currency, only happens with the free version because of the decimals in JPY currency that should not have any. With Pro version the decimals can be changed to 0 and the issue is fixed.
Steps to Reproduce: 1- Setup Amazon with Price based on country 2- Add product to cart and use the Express Checkout. 3- Select other shipping address that changes the amount (like JPY) 4- Try to place order
Screenshots
Expected behavior Trnsactions is JPY should remove the decimals
Isolating the problem (mark completed items with an [x]):
- [x] I have deactivated other plugins and confirmed this bug occurs when only the extension is active.
- [x] I can reproduce this bug consistently using the steps above.