When the provided VAT ID number is invalid according to the validation by the European Union's VAT Information Exchange System (VIES) through the SOAP service, we currently receive the following error message:

The VAT number could not be validated by the European VAT Database. Please go back and input a correct VAT.

This message could be improved:

  • "the European VAT Database" is correctly called "the European Union's VAT Information Exchange System".
  • "Please go back" should be removed since the user actually can't go back, but instead has to correct the VAT ID number on the current page.
  • "input a correct VAT" means the amount of tax, but not the VAT ID number.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

roball’s picture

The attached patch implements this improved error message, as shown in the attached before and after screenshots.

This is my last patch for this module for now...

dwkitchen’s picture

Status: Needs review » Fixed

Thanks for the better error message, didn't apply cleanly but committed the changes.

roball’s picture

Thank you very much dwkitchen for committing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.