Can't validate Greek VAT

  • Posts: 5
  • Thank you received: 0
11 years 1 month ago #128385

Whenever a Customer from Greece tries to enter the EU VAT number, this message is returned:

Your VAT number can not be used with the country you selected. Please select the right country ( CODE: EL) or make sure your VAT starts with GR

I tried with a valid* VAT number in all possible ways:
- only digits: returns the message above
- EL before the digits: returns the message above
- with GR before the digits: returns this error message "The VAT number you entered is not valid" and changes the input field as ELGRdigits.

(*) verified on Vies

-- HikaShop version -- : HikaShop Essential: 2.2.1
-- Joomla version -- : 1.5.26
-- PHP version -- : 5.3.3
-- Chrome, Firefox

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 1 month ago #128462

Hi,

Please replace the file administrator/components/com_hikashop/helpers/vat.php with the file in this archive and try again. It should accept the code regardless of whether you use GR or EL at the beginning of the code.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
11 years 1 month ago #128502

Thanks.
The situation improved.

now the situation is:
- only digits: returns the message (*)
- EL before the digits: returns the message (*), and displays it into the modal window
- with GR before the digits: it works

* Your VAT number can not be used with the country you selected. Please select the right country ( CODE: EL) or make sure your VAT starts with GR

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 1 month ago #128685

I am not able to reproduce the problem on our end. Can you provide a link to your registration page so that we can see that ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum