OpenMage / magento-lts

Official OpenMage LTS codebase | Migrate easily from Magento Community Edition in minutes! Download the source code for free or contribute to OpenMage LTS | Security vulnerability patches, bug fixes, performance improvements and more.
https://www.openmage.org
Open Software License 3.0
865 stars 436 forks source link

Fixed available currencies filtering in UPS _parseRestResponse() method #4017

Closed fballiano closed 4 months ago

fballiano commented 4 months ago

Mage::getModel('directory/currency')->getConfigAllowCurrencies() was already used on line 860 for the _parseXmlResponse and it has to be used for the Rest response too.

Suggested by https://github.com/OpenMage/magento-lts/pull/3878#issuecomment-2133622080