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
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
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.
Expected results:
The tracking link should work even after creating the invoice.
Actual results:
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:
- Adobe Commerce or Magento Open Source on-premises: Software Update Guide > Apply Patches in our developer documentation.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in our developer documentation.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches in our support knowledge base.
- Check if patch is available for your Adobe Commerce issue using Quality Patches Tool in our support knowledge base.
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.