From 005a57c9fd11d7b3f260c4be62c9c5ad595a860d Mon Sep 17 00:00:00 2001 From: wsajosh Date: Thu, 28 Feb 2019 14:56:54 +0000 Subject: [PATCH 1/2] SHQ18-1568 Updating UPS endpoint to use https. Http is no longer reliably returning rates --- app/code/Magento/Ups/Model/Carrier.php | 2 +- app/code/Magento/Ups/etc/config.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Ups/Model/Carrier.php b/app/code/Magento/Ups/Model/Carrier.php index 8c60f5a53a2d9..75ce0c3014efa 100644 --- a/app/code/Magento/Ups/Model/Carrier.php +++ b/app/code/Magento/Ups/Model/Carrier.php @@ -77,7 +77,7 @@ class Carrier extends AbstractCarrierOnline implements CarrierInterface * * @var string */ - protected $_defaultCgiGatewayUrl = 'http://www.ups.com:80/using/services/rave/qcostcgi.cgi'; + protected $_defaultCgiGatewayUrl = 'https://www.ups.com:80/using/services/rave/qcostcgi.cgi'; /** * Test urls for shipment diff --git a/app/code/Magento/Ups/etc/config.xml b/app/code/Magento/Ups/etc/config.xml index e2ac1c6d6c443..791b325c65e3f 100644 --- a/app/code/Magento/Ups/etc/config.xml +++ b/app/code/Magento/Ups/etc/config.xml @@ -19,7 +19,7 @@ RES GND - http://www.ups.com/using/services/rave/qcostcgi.cgi + https://www.ups.com/using/services/rave/qcostcgi.cgi https://onlinetools.ups.com/ups.app/xml/Rate 0 Magento\Ups\Model\Carrier From ff94ee1739dc1f26b710aa74b7ffc8f87c987742 Mon Sep 17 00:00:00 2001 From: Ihor Sviziev Date: Mon, 4 Mar 2019 10:07:27 +0000 Subject: [PATCH 2/2] Update app/code/Magento/Ups/Model/Carrier.php Co-Authored-By: wsajosh --- app/code/Magento/Ups/Model/Carrier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Ups/Model/Carrier.php b/app/code/Magento/Ups/Model/Carrier.php index 75ce0c3014efa..9cb1fe615aa42 100644 --- a/app/code/Magento/Ups/Model/Carrier.php +++ b/app/code/Magento/Ups/Model/Carrier.php @@ -77,7 +77,7 @@ class Carrier extends AbstractCarrierOnline implements CarrierInterface * * @var string */ - protected $_defaultCgiGatewayUrl = 'https://www.ups.com:80/using/services/rave/qcostcgi.cgi'; + protected $_defaultCgiGatewayUrl = 'https://www.ups.com/using/services/rave/qcostcgi.cgi'; /** * Test urls for shipment