Magento 2.4.4: Bug in the tax calculation for customers with a VAT number #39559
Labels
Issue: needs update
Additional information is require, waiting for response
Reported on 2.4.4
Indicates original Magento version for the Issue report.
Preconditions and environment
I am experiencing a problem with Magento 2.4.4:
I have created two customer groups: Bronze and Bronze_Vies (for European customers with valid VAT number). The Bronze_Vies group should be tax-free, but:
New users: They are not always correctly assigned to the Bronze_Vies group, even with a valid VAT number.
Tax calculation: Even if assigned to the correct group, some customers still see taxes in the checkout. This happens inconsistently and sometimes the taxes only appear after choosing a payment method. I need to understand if this is a known bug in Magento 2 and how I can fix it.
Steps to reproduce
Reproduction of bug in account creation:
Backend configuration: Enable automatic assignment to customer group and choose the group ‘Bronze_vies’ for customers with a valid VAT number.
Frontend account creation: Register a new account by entering a valid VAT number.
Check assignment: Check whether the account has been correctly assigned to the group ‘Bronze_vies’.
Reproduction of bug in tax calculation:
Log in with account: Log in to the newly created account (which should be in the ‘Bronze_vies’ group).
Addition to cart: Add products to cart.
Check Taxes: Check if taxes are calculated correctly in the order summary and checkout.
Test with different payment methods: Try completing the checkout with different payment methods to see if the problem recurs.
Expected result
Expected Result:
Correct assignment: The customer with a valid VIES VAT number should automatically be assigned to the group ‘Bronze_Vies’.
Tax exemption: The customer of the group ‘Bronze_Vies’ should pay no tax, neither in the shopping cart nor in the checkout.
Actual result
Current Result:
Incorrect assignment: In some cases, the customer is not correctly assigned to the group ‘Bronze_vies’.
Incorrect calculation of fees: Even when the customer is in the correct group, the fees are calculated incorrectly and applied at checkout.
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: