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)
2348
2348
if (@$ rateResponseData ['RateResponse ' ]['Response ' ]['ResponseStatus ' ]['Description ' ] === 'Success ' ) {
2349
2349
$ arr = $ rateResponseData ['RateResponse ' ]['RatedShipment ' ] ?? [];
2350
2350
$ allowedMethods = explode (", " , $ this ->getConfigData ('allowed_methods ' ) ?? '' );
2351
- $ allowedCurrencies = Mage::app ( )->getStore ()-> getAvailableCurrencyCodes ();
2351
+ $ allowedCurrencies = Mage::getModel ( ' directory/currency ' )->getConfigAllowCurrencies ();
2352
2352
foreach ($ arr as $ shipElement ) {
2353
2353
$ negotiatedArr = $ shipElement ['NegotiatedRateCharges ' ] ?? [] ;
2354
2354
$ negotiatedActive = $ this ->getConfigFlag ('negotiated_active ' )
You can’t perform that action at this time.
0 commit comments