ACSD-61522: Email addresses in First and Last Name fields send invalid order confirmations
The ACSD-61522 patch fixes the issue where it is possible to enter email addresses into a guest customer’s First Name and Last Name fields, leading to invalid order confirmation emails being sent. This patch is available when the Quality Patches Tool (QPT) 1.1.54 is installed. The patch ID is ACSD-61522. Please note that the issue is scheduled to be fixed in ÃÛ¶¹ÊÓƵ Commerce 2.4.8.
Affected products and versions
The patch is created for ÃÛ¶¹ÊÓƵ Commerce version:
- ÃÛ¶¹ÊÓƵ Commerce (all deployment methods) 2.4.5-p9
Compatible with ÃÛ¶¹ÊÓƵ Commerce versions:
- ÃÛ¶¹ÊÓƵ Commerce (all deployment methods) 2.4.4 - 2.4.7-p3
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
The system allows email addresses to be entered into a guest customer’s First Name and Last Name fields, resulting in the sending of invalid order confirmation emails.
Steps to reproduce:
- Add any product to the cart as a guest customer.
- Go to Checkout.
- Fill the Email Address field with test1@example.com.
- Fill the First Name field with test2@example.com.
- Fill Last Name with test3@example.com.
- Fill in other required fields.
- Place the order.
Expected results:
It is not possible to use email addresses in the First Name and Last Name fields.
Actual results:
- The order is placed.
- First Name and Last Name fields are saved as entered.
- Order confirmation emails are sent to all three emails.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- ÃÛ¶¹ÊÓƵ Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- ÃÛ¶¹ÊÓƵ Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.