File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
app/code/core/Mage/Usa/Model/Shipping/Carrier Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -2348,7 +2348,7 @@ protected function _parseRestResponse(string $rateResponse)
23482348 if (@$ rateResponseData ['RateResponse ' ]['Response ' ]['ResponseStatus ' ]['Description ' ] === 'Success ' ) {
23492349 $ arr = $ rateResponseData ['RateResponse ' ]['RatedShipment ' ] ?? [];
23502350 $ allowedMethods = explode (", " , $ this ->getConfigData ('allowed_methods ' ) ?? '' );
2351- $ allowedCurrencies = Mage::app ( )->getStore ()-> getAvailableCurrencyCodes ();
2351+ $ allowedCurrencies = Mage::getModel ( ' directory/currency ' )->getConfigAllowCurrencies ();
23522352 foreach ($ arr as $ shipElement ) {
23532353 $ negotiatedArr = $ shipElement ['NegotiatedRateCharges ' ] ?? [] ;
23542354 $ negotiatedActive = $ this ->getConfigFlag ('negotiated_active ' )
You can’t perform that action at this time.
0 commit comments