Skip to content

Commit 07cf0a2

Browse files
authored
Fixes OpenMage#1493 USPS: Unsecure HTTP Endpoint Retirement (OpenMage#1494)
1 parent fb2a42a commit 07cf0a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Mage_Usa_Model_Shipping_Carrier_Usps
112112
*
113113
* @var string
114114
*/
115-
protected $_defaultGatewayUrl = 'http://production.shippingapis.com/ShippingAPI.dll';
115+
protected $_defaultGatewayUrl = 'https://production.shippingapis.com/ShippingAPI.dll';
116116

117117
/**
118118
* Container types that could be customized for USPS carrier

app/code/core/Mage/Usa/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
<container>VARIABLE</container>
195195
<cutoff_cost/>
196196
<free_method/>
197-
<gateway_url>http://production.shippingapis.com/ShippingAPI.dll</gateway_url>
197+
<gateway_url>https://production.shippingapis.com/ShippingAPI.dll</gateway_url>
198198
<gateway_secure_url>https://secure.shippingapis.com/ShippingAPI.dll</gateway_secure_url>
199199
<shipment_requesttype>0</shipment_requesttype>
200200
<handling/>

0 commit comments

Comments
 (0)