You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
I have in my shop some items with 4 decimals prices (sometime 0.001). The minimum quantity of these kind of product is very large so I am always sure than the gran_total can be a 2 decimals number.
But the payment failed because of the paypal service check if the gran total price == the sum of all the items prices. These prices are set to 0 because of the formatToPrice function.
I wondering how I can fix that and if it is correct to change the items price to 4 decimals number ?
Thanks
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
General information
PayPal-Debug-ID
values:Issue description
Hello,
I have in my shop some items with 4 decimals prices (sometime 0.001). The minimum quantity of these kind of product is very large so I am always sure than the gran_total can be a 2 decimals number.
But the payment failed because of the paypal service check if the gran total price == the sum of all the items prices. These prices are set to 0 because of the formatToPrice function.
I wondering how I can fix that and if it is correct to change the items price to 4 decimals number ?
Thanks
The text was updated successfully, but these errors were encountered: