Describe the bug
WooCommerce support more that 2 digit on their setting, this enables merchants to connect with some ERP systems that required this due to rounding issues. We need to round the values to be sent to the API so we avoid the error response:
"InvalidParameterValue": [
"The value '0.9000' provided for 'chargeAmount.Amount' is invalid."
]
Describe the bug WooCommerce support more that 2 digit on their setting, this enables merchants to connect with some ERP systems that required this due to rounding issues. We need to round the values to be sent to the API so we avoid the error response:
Reference report: https://wordpress.org/support/topic/prices-4-digits-and-no-payment-possible/
To Reproduce Steps to reproduce the behavior:
Expected behavior Amazon pay should be able to handle payments on store that use more that 2 decimal digits on their prices.
Isolating the problem (mark completed items with an [x]):