We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3b4ed0 commit 3595a18Copy full SHA for 3595a18
app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
@@ -848,6 +848,7 @@ protected function _parseXmlResponse($xmlResponse)
848
$costArr = [];
849
$priceArr = [];
850
if (strlen(trim($xmlResponse)) > 0) {
851
+ $xmlResponse = str_replace('<?xmlversion="1.0"?>', '<?xml version="1.0"?>', $xmlResponse);
852
$xml = new Varien_Simplexml_Config();
853
$xml->loadString($xmlResponse);
854
$arr = $xml->getXpath('//RatingServiceSelectionResponse/Response/ResponseStatusCode/text()');
0 commit comments