MDVA-42520: Tax rate applied twice when “Enable Cross Border Trade” is used

The MDVA-42520 patch fixes the issue where the tax rate is applied twice when the Enable Cross Border Trade is used. This patch is available when the Quality Patches Tool (QPT) 1.1.11 is installed. The patch ID is MDVA-42520. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.5.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.3-p1

Compatible with Adobe Commerce versions:

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

The tax rate is applied twice when the Enable Cross Border Trade is used.

Steps to reproduce:

  1. Enable Company, Shared Catalog, and Quote

  2. Configure taxes according to the screenshot. Make sure you enable Cross Border Trade.

    tax settings {width="700"}

  3. Create a tax rate for Germany (10%).

  4. Create a tax rule to apply the tax rate.

  5. Create a company and a custom shared catalog.

  6. Create a product with a price of 100 and include it in the custom shared catalog with a price discount of 20%.

  7. Create a customer with a German address and assign it to the company

  8. Add 10 products to the card as the customer.

  9. Go to the shopping cart and request a quote.

  10. Open this quote on the backend and try to add an additional 10% discount.

Expected results:

Quote Subtotal (Including Tax) and Quote Grand Total (Including Tax) = $720

Actual results:

Quote Subtotal (Including Tax) and Quote Grand Total (Including Tax) = $649.50.

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