MDVA-30594: multiple address checkout errors

The MDVA-30594 patch solves the issue where the customer does not see the order success page after placing an order with multiple addresses. Checking the orders on the Commerce Admin shows two orders with the same products instead of the correct products. This patch is available when the Quality Patches Tool (QPT) 1.0.7 is installed. The issue was fixed in Adobe Commerce 2.4.2.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce on cloud infrastructure 2.3.3

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.3.0 - 2.4.1
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

Multiple address orders do not complete with the order success page and show two orders with the same products instead of the correct ones.

Prerequisites:

Create two websites with stores and store views.

Steps to reproduce:

  1. Set Catalog Price Scope for website catalog (Stores > Settings > Configuration > Catalog > Catalog > Price > Scope).

  2. Configure Fixed Product Taxes (FPT) (Stores > Configuration > Sales > Tax > Fixed Product Taxes):

    • Enable FPT = Yes
    • Display Prices in Product List = Excluding FPT
    • Display Prices on Product View Page = Excluding FPT
    • Display Prices in Sales Modules = Excluding FPT (Including FPT description and final price).
    • Display Prices in Emails = Excluding FPT (Including FPT description and final price).
    • Apply Tax to FPT = Yes
    • Include FPT in Subtotal = No
  3. Create an FPT attribute, and assign it to the default attribute set. (See Configuring FPT: Create an FPT attribute in our user guide).

  4. Create four simple products, and set the FPT attribute value (Example: set the FPT attribute value = Australia).

  5. Create two bundled products with the following configuration:

    • Define FPT.
    • Set Dynamic Price = No.
    • Set Price = 100.
    • Bundle options shipped together, all marked as default with Price Type = Fixed.
    • Add two of the simple products created in Step four.
  6. Create a user account in the frontend. Update the address with Australian address (set country to Australia or whichever country was used in the FPT setup).

  7. Add the two bundled products to the cart.

  8. Go to the cart page, and check that the FPT is displaying correctly.

  9. Click Checkout with Multiple Addresses.

  10. Add a second address.

  11. Assign each product to a different address.

  12. Continue with the checkout process up to Place Order.

  13. Click the Place Order button.

Expected results:

The order with multiple addresses is placed successfully.

Actual results:

A message like, “An error has occurred.” will appear.

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.

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