NKoonen / vatchecker

[Prestashop]Checks if customer has a valid VAT number, and then puts the customer a specific group.
https://customs-documents.com
BSD 3-Clause "New" or "Revised" License
34 stars 15 forks source link

seems the vies is tested in the same country #27

Closed HartLarsson closed 1 year ago

HartLarsson commented 1 year ago

i've do a test using italy as country and inserting a NON views but good VAT code and seems the VIES is checked.

image

VAT code in the same country must not be checked by default.

this is the config

image

if i disable the VIES check

image

seems it check vies anyway giving error??

image

If VIES chekc is OFF why give that error? Plus the offline validation, because was active, must passing the VIES check anyway.

NKoonen commented 1 year ago

The "Origin Country" is the country where you can not delivery with 0% tax to. So what you are describing is not a bug, but a feature. Some companies only do B2B so they require a vat number before sales. If you don't want the vat numbers to be checked in Italy you should disable Italy in the module config.

The error "EU VIES server not responding" could mean three things.

HartLarsson commented 1 year ago

So to avoid VIES check on Italian VAT I neet to unckeck Italy from the list? if yes the labels are not very clear better to write:

Select country where enabling VIES check:

note under the list: "If you disable a country the VAT number will not be checked against VIES DB"

"EU VIES server not responding" appearing if you disable the validation requirement.

NKoonen commented 1 year ago

Yes, that is correct. I will make the labels more clear in next update.