Customers who have registered with a valid VAT id are put in the general group by default.
Customer configuration: - Enable Automatic Assignment to Customer Group is set to Yes - Group for valid VAT id - intra Union is set to 'B2B - no vat'
When i debug the code, isValid method for Tax validation returns true
So all params are ok but still the person go's into the wrong group (general)
What is more bizarre to me is, when i go the customer in the backend and save the customer without changing anything, the customer goes into the correct group.
Any feedback on this would be really appreciated.
Thanks
Edit: Apparently the customer gets in the general group initially even with a valid VAT id. After success the customer gets the following message:
"Your VAT ID was successfully validated. You will not be charged tax. Thank you for registering with .... If you are a registered VAT customer, please click here to enter your billing address for proper VAT calculation"
If the customer doesn't click the link he stays in general group, if he clicks the link and re enters the information with his VAT, he will be in the B2B group.
Is there a workaround for this so people get in the right group initially?