Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.9.1
-
Fix Version/s: 5.11.0-b1
-
Component/s: Plugins, Staff Interface
-
Labels:None
Description
The domain manager price sync / import ignores currency precision. When calculating a price with markup, a TLD price might contain more than 2 decimals in USD, which has precision of 2.
This doesn't seem to be a problem when enabling rounding in the domain manager settings, but without it you might get a price of 19.7420 for example, which is shown in parts of the order form even though it's rounded for the purposes of checkout.
Even if rounding is not enabled, price sync/import should round based on the currency precision, so a price of 19.7420 would be saved as 19.74. A price of 22.986 would be 22.99.