- Posts: 5
- Thank you received: 0
Can't validate Greek VAT
12 years 11 months ago #128385
by forghy
Can't validate Greek VAT was created by forghy
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
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.
12 years 11 months ago #128462
by nicolas
Replied by nicolas on topic Can't validate Greek VAT
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.
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.
Please Log in or Create an account to join the conversation.
12 years 11 months ago #128502
by forghy
Replied by forghy on topic Can't validate Greek VAT
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
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.
12 years 11 months ago #128685
by nicolas
Replied by nicolas on topic Can't validate Greek VAT
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.161 seconds