Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5088

Domain Manager: Without enabling the "rounding" option, currencies with a precision of 2 may have values in the 3rd and 4th decimal.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • 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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: