MDVA-30265: tracking link in email returns 404 Page not Found
The MDVA-30265 patch solves the issue of the "404 Page not Found" error when the customer clicks on the shipment tracking link in the order confirmation email. This patch is available when the Quality Patches Tool (QPT) 1.0.5 is installed. Please note that the issue was fixed in Adobe Commerce 2.4.2.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.3.5-p1
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.3.3 to 2.4.1
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 [!DNL Quality Patches Tool]: Search for patches page. Use the patch ID as a search keyword to locate the patch.
After the shipment is created for an order placed, an email is sent to the customer with tracking information and a link to track the order. However, when the customer clicks on the shipment tracking link in the email, this returns a "404 Page not Found" error.
Steps to reproduce:
- Install Adobe Commerce 2.4. For steps, refer to Install Adobe Commerce using Composer in our developer documentation.
- Place an order.
- Go to the Admin panel > Sales > Orders. Look for the order you just created and open it.
- Create a shipment and add a tracking number (Carrier = Custom Value). For steps, refer to Order Management > Creating a Shipment in our user guide.
- You receive an email. Click on the tracking link to check if it is working.
- Create an invoice. For steps, refer to Order Management > Creating an invoice in our user guide. Then click again on the tracking link above.
The tracking link should work even after creating the invoice.
After creating the invoice, the tracking link is not working and returns a "404 Page not Found" error page.
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:
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.