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: 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.

        Activity

        admin Paul Phillips created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.11.0 Sprint 2 [ 196 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 24 minutes [ 1440 ]
        Worklog Id 17315 [ 17315 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.11.0 Sprint 2 [ 196 ] 5.11.0 Sprint 2, 5.11.0 Sprint 3 [ 196, 202 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 24 minutes
              24m

                Agile