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

OVH Domains: TLD Price sync doesn't work for EUR pricing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      To reproduce:

      • Make sure EUR is an installed currency
      • Make sure CAD is not an installed currency
      • Set up OVH using the EU endpoint
      • Attempt a price sync
      • See that prices have not been imported

        Activity

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.7.0 Sprint 6 [ 175 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        Hide
        jonathan Jonathan Reissmueller added a comment -

        In components/modules/ovh_domains/ovh_domains.php around line 2195 replace:

                    $currency = $tld_price['register']->currencyCode ?? 'CAD';
        

        With

                    $currency = $tld_price['register']['currencyCode'] ?? 'CAD';
        
        Show
        jonathan Jonathan Reissmueller added a comment - In components/modules/ovh_domains/ovh_domains.php around line 2195 replace: $currency = $tld_price['register']->currencyCode ?? 'CAD'; With $currency = $tld_price['register']['currencyCode'] ?? 'CAD';
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              4/May/23

              Agile