ACSD-49849: Customer email is replaced with PayPal email

The ACSD-49849 patch fixes the issue where a customer’s email is replaced with a PayPal’s email when placing an order with PayPal Express via GraphQL. This patch is available when the Quality Patches Tool (QPT) 1.1.29 is installed. The patch ID is ACSD-49849. Please note that the issue was fixed in Adobe Commerce 2.4.6.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.5-p1

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.3.7 - 2.4.5-p2
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

A customer’s email is replaced with a PayPal’s email when placing an order with PayPal Express via GraphQL.

Steps to reproduce:

  1. Go to Configuration > Sales > Payments.
  2. Enable and configure PayPal Express and set Payment Action = Sale.
  3. Go to Catalog > Products, and create a simple product.
  4. Complete the guest checkout using GraphQL. For more, refer to the GraphQL checkout tutorial in Adobe Commerce Developer Documentation.
  5. Use PayPal Express as the payment method.
  6. Note the email you used in the step where you set up your email for the cart in Adobe Commerce Developer Documentation.
  7. After the order is placed, go to the Adobe Commerce Admin and check the email in the created order.

Expected results:

The email is the same as set during checkout.

Actual results:

The email set during the checkout is overridden by the email set in the PayPal account.

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 Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

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