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

        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';

          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