Additional exception message for VAT-ID-check related errors

Hello developers!
I’d like to add an additional error message to the users in case the VAT ID check fails.
I don’t want to modify all the “VAT_MESSAGE_*” language items but instead add an additional error item to the exceptions list.
Any hints where to start?

Thanks,
Martin

Hello Martin,

this is due to the recent issues last week?

There’s already a bug open:
https://bugs.oxid-esales.com/view.php?id=1648

Regards

Hello Marco,
no this is more a feature enhancement.
Quite often we are facing the problem that our customers don’t know about their VAT-ID and its format.
As we have a B2B shop the VAT-ID field has to be filled correctly for our EU customers. And this prevents them from succesfully registering when the VAT ID is wrong.

Regards,
Martin

Hello Martin,

right, this is a nice idea. Have a look at the method [I]oxonlinevatidcheck[/I].

Regards

Hello Marco,
yes, I already had a look there.
I know that the public method checkUid is called, which itself calls _checkOnline. In case of any error during this online check an oxInputException is thrown by _parseError.
Now where would I add another “throw exception” (or whatever else) to get an additional message to the user?

Regards,
Martin

Anyone some hints for me???
Please…

Thanks,
Martin