Skip to content

Commit

Permalink
Fixes #1493 USPS: Unsecure HTTP Endpoint Retirement (#1494)
Browse files Browse the repository at this point in the history
  • Loading branch information
jouriy authored May 12, 2021
1 parent fb2a42a commit 07cf0a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class Mage_Usa_Model_Shipping_Carrier_Usps
*
* @var string
*/
protected $_defaultGatewayUrl = 'http://production.shippingapis.com/ShippingAPI.dll';
protected $_defaultGatewayUrl = 'https://production.shippingapis.com/ShippingAPI.dll';

/**
* Container types that could be customized for USPS carrier
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Usa/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
<container>VARIABLE</container>
<cutoff_cost/>
<free_method/>
<gateway_url>http://production.shippingapis.com/ShippingAPI.dll</gateway_url>
<gateway_url>https://production.shippingapis.com/ShippingAPI.dll</gateway_url>
<gateway_secure_url>https://secure.shippingapis.com/ShippingAPI.dll</gateway_secure_url>
<shipment_requesttype>0</shipment_requesttype>
<handling/>
Expand Down

0 comments on commit 07cf0a2

Please sign in to comment.