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
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 QPT landing page. Use the patch ID as a search keyword to locate the patch.
Multiple address orders do not complete with the order success page and show two orders with the same products instead of the correct ones.
Create two websites with stores and store views.
Steps to reproduce:
Set Catalog Price Scope for website catalog (Stores > Settings > Configuration > Catalog > Catalog > Price > Scope).
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
Create an FPT attribute, and assign it to the default attribute set. (See Configuring FPT: Create an FPT attribute in our user guide).
Create four simple products, and set the FPT attribute value (Example: set the FPT attribute value = Australia).
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.
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).
Add the two bundled products to the cart.
Go to the cart page, and check that the FPT is displaying correctly.
Click Checkout with Multiple Addresses.
Add a second address.
Assign each product to a different address.
Continue with the checkout process up to Place Order.
Click the Place Order button.
The order with multiple addresses is placed successfully.
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.