ACP2E-4813: USPS shipping methods unavailable or incorrect for multi-package orders

The ACP2E-4813 patch fixes the issue where USPS shipping methods are unavailable at checkout, and shipping estimates are incorrect for certain products, including orders that split into multiple packages. This patch is available when the Quality Patches Tool (QPT) 1.1.80 is installed. The patch ID is ACP2E-4813. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.10.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.6-p3

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.6-p3 - 2.4.6-p14, 2.4.7 - 2.4.7-p9, 2.4.8 - 2.4.8-p4
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

USPS shipping methods are unavailable at checkout, and shipping estimates are incorrect for certain products, including orders that split into multiple packages.

Steps to reproduce:

  1. In the Admin, go to Stores > Settings > Configuration > Sales > Delivery Methods > USPS and configure USPS as a shipping method. Set Maximum Package Weight = 1 pound.
  2. Create a product with a weight of 0.15 pounds.
  3. On the storefront, add 15 units of the product to the shopping cart and use the Estimate Tax and Shipping tool on the Shopping Cart page to calculate shipping.
  4. Check the shipment logs for the shipping estimate details.

Expected results:

The logs show the shipment is split into multiple packages correctly.

Actual results:

The logs show the shipment is split into multiple packages incorrectly, resulting in incorrect shipping estimates.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
commerce-operations-help-tools