Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USPS: Unsecure HTTP Endpoint Retirement #1493

Closed
jouriy opened this issue Mar 12, 2021 · 0 comments · Fixed by #1494
Closed

USPS: Unsecure HTTP Endpoint Retirement #1493

jouriy opened this issue Mar 12, 2021 · 0 comments · Fixed by #1494
Labels

Comments

@jouriy
Copy link
Contributor

jouriy commented Mar 12, 2021

Preconditions (*)

  1. Effective June 24 th , 2021, USPS Web Tools will remove support for all unsecure HTTP endpoints. According to the USPS Web Tools API Release Notes https://www.usps.com/business/web-tools-apis/2021-web-tools-release-notes.pdf (section 2.6.1 on page 6):
    After this change, all requests to an unsecure HTTP endpoint will fail when attempting to access the Web Tools APIs and integrators may see an error message. To continue using the Web Tools APIs, all requests must be made using the secure HTTPS endpoints listed below. Integrators currently using an unsecure HTTP endpoint should transition as soon as possible to the appropriate secure HTTPS endpoint below to prevent any loss of service. This change will impact only the API endpoints; the API request and response schemas will not change.

Environment | Unsecure | HTTP Endpoint Retirement Date | New Secure HTTPS Endpoint
TEST | http://stg-production.shippingapis.com | 06/24/2021 | https://stg-production.shippingapis.com
PROD | http://production.shippingapis.com | 06/24/2021 | https://production.shippingapis.com

The endpoint is defined in app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php

protected $_defaultGatewayUrl = 'http://production.shippingapis.com/ShippingAPI.dll';

and app/code/core/Mage/Usa/etc/config.xml
<gateway_url>http://production.shippingapis.com/ShippingAPI.dll</gateway_url>

Steps to reproduce (*)

N/A

Expected result (*)

USPS gateway endpoint URL should be updated to HTTPS schema: https://production.shippingapis.com prior to June 24, 2021.

Actual result (*)

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant