diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php index f889f1bc84b..14312d7f02d 100644 --- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php +++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php @@ -2348,7 +2348,7 @@ protected function _parseRestResponse(string $rateResponse) if (@$rateResponseData['RateResponse']['Response']['ResponseStatus']['Description'] === 'Success') { $arr = $rateResponseData['RateResponse']['RatedShipment'] ?? []; $allowedMethods = explode(",", $this->getConfigData('allowed_methods') ?? ''); - $allowedCurrencies = Mage::app()->getStore()->getAvailableCurrencyCodes(); + $allowedCurrencies = Mage::getModel('directory/currency')->getConfigAllowCurrencies(); foreach ($arr as $shipElement) { $negotiatedArr = $shipElement['NegotiatedRateCharges'] ?? [] ; $negotiatedActive = $this->getConfigFlag('negotiated_active')