Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Commit

Permalink
Replace “http” with “https” in API URLs.
Browse files Browse the repository at this point in the history
Signed-off-by: Tristan Hall <[email protected]>
  • Loading branch information
Tristan Hall committed Mar 13, 2021
1 parent 7008072 commit 0955dba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/TrackConfirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class TrackConfirm extends USPSBase

public function getEndpoint()
{
return self::$testMode ? 'http://production.shippingapis.com/ShippingAPITest.dll' : 'http://production.shippingapis.com/ShippingAPI.dll';
return self::$testMode ? 'https://production.shippingapis.com/ShippingAPITest.dll' : 'https://production.shippingapis.com/ShippingAPI.dll';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/USPSBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
abstract class USPSBase
{
const LIVE_API_URL = 'https://secure.shippingapis.com/ShippingAPI.dll';
const TEST_API_URL = 'http://production.shippingapis.com/ShippingAPITest.dll';
const TEST_API_URL = 'https://production.shippingapis.com/ShippingAPITest.dll';

/**
* @var string - the usps username provided by the usps website
Expand Down

0 comments on commit 0955dba

Please sign in to comment.