Skip to content

USPS Priority Mail To Canada Is Not Displaying #10121

@seattletechworks

Description

@seattletechworks

Preconditions

  1. Magento 2.1.7, PHP 7.0.20, Nginx 1.20.2, MySQL 5.6.34-79.1
  2. Set up and enable USPS for checkout under admin panel:
    Stores -> Configuration -> Sales -> Shipping Methods
    Allowed Methods should include First-Class Package International Service and Priority Mail International.

Steps to reproduce

  1. Add a product to your cart which has a weight of more than 4 pounds
  2. Go to the cart page - Example https://www.yourstore.com/checkout/cart/
  3. In the Estimate Shipping and Tax section, enter these values:
    Country - Canada
    State/Provide - British Columbia
    Zip/Postal Code - V8G 4R6

Expected result

  1. A live quote from USPS for Priority Mail International should be returned

Correct rates are displayed for other countries. For example, specify these values to get a positive result:
Country - Australia
State/Provide - NSW
Zip/Postal Code - 2000

Additionally, if the product weight is 4 pounds or less, the correct First-Class International service quote is displayed for Canada. The issue only occurs with Priority Mail International quotes.

Actual result

  1. A message in the Summary box displays: "Sorry, no quotes are available for this order at this time"

Error from ~/var/log/debug.log file:

The Origin ZIP Code and the Destination Postal Code is required for ECOMPRO when mailing to Canada.

Other comments

I found a similar defect from March - #8041
usps_priority_canada_issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: ShippingFixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releasebug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions