MDVA-31006: Paypal Duplicate Orders 10415 error

The MDVA-31006 patch fixes the issue where using the PayPal Express checkout payment creates duplicate orders with a 10415 error. This patch is available when the Quality Patches Tool (QPT) 1.0.6 is installed. The issue was fixed in Adobe Commerce 2.4.2.

Affected products and versions

  • Adobe Commerce (all deployment methods) 2.3.2 - 2.4.0
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.


The user is not being sent to the Adobe Commerce order success page, so they refresh the blank page, and the second order is placed, causing duplicate orders.


  • Adobe Commerce is installed.
  • PayPal Express checkout payment is configured.
  • Log in to the Commerce admin. Go to Stores > Configuration > Sales > Payment Methods > select Paypal Express Checkout > Configure > Advanced Settings > Skip Order Review Step > No.

Steps to reproduce:

  1. Log in as a user.
  2. Select an item and click Add to Cart.
  3. Click on the cart and click Proceed to Checkout.
  4. Proceed to the PayPal Express window and make a payment.
  5. You are redirected to the Adobe Commerce Order Review Page.
  6. Press the Place Order button.
  7. Emulate system error due to server infrastructure issues. The user will see a blank page.
  8. Refresh the page.

Expected results:

  • The customer is redirected to the Order Review page and sees an error message “A successful payment transaction has already been completed. Please, check if the order has been placed.
  • In the payment.log, which is located in /var/log/payment.log, there is an error 10415, but only one order was created.

Actual results:

  • As the customer is not sent to the Adobe Commerce order success page, they refresh the blank page, and a second order is placed, so two duplicated orders are created.
  • In the payment.log, which is located in /var/log/payment.log, there is an error 10415.

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.