Adobe Commerce 2.4.0 patch: returns shipping label creation issue

This article provides a patch for the known Adobe Commerce 2.4.0 issue when there is a problem with printing a shipping label for customers’ returns.

Affected products and versions

  • Adobe Commerce on cloud infrastructure 2.4.0
  • Adobe Commerce on-premises 2.4.0

Issue

Steps to reproduce:

  1. Place and complete an order with one of the following core shipping methods: FedEx, DHL, UPS, and USPS.
  2. Create and authorize returns for this order.
  3. Open an authorized Return Information page and click the Create Shipping Label button.
  4. Select shipping method, add a product to a package and click Save.

Expected result:

A shipping label is created successfully and you see a message: You created a shipping label.

Actual result:

The Return Information page is broken and you see an error message on the Return Information page: General Information Changes have been made to this section that have not been saved. This tab contains invalid data.

Solution

Apply patch provided in this article.

Patch

The patch is attached to this article. To download it, scroll down to the end of the article and click the file name, or click the following link:

MC-35984-2.4.0-CE-composer.patch

The patch is also available for download in both, .git and .composer, formats on Adobe Commerce Downloads page, under Patches in the left column navigation. Search for MC-35984 patch.

How to apply the patch

For instructions, see How to apply a composer patch provided by Adobe in our support knowledge page.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a