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

isEUCountry function always return false on PrestaShop 8.x #36

Closed Caleydon closed 9 months ago

Caleydon commented 11 months ago

Hi. I've tested module on PrestaShop 8.1.2 and it doesn't working correctly. I discovered that isEUCountry function always return false so then always valid = null.

Could you please check what is wrong with isEUCountry function on PrestaShop 8.x ?

NKoonen commented 11 months ago

Hi. I've tested module on PrestaShop 8.1.2 and it doesn't working correctly. I discovered that isEUCountry function always return false so then always valid = null.

Could you please check what is wrong with isEUCountry function on PrestaShop 8.x ?

I already feared something like this, since we currently do i direct query into the database. (because PS does not offer proper functions for getting countries in Multistore mode)

Just changed it back to before. Please let me know if this resolves your issue.

Caleydon commented 11 months ago

Thank you. But it still doesn't working.

NKoonen commented 11 months ago

Then i would need more information, because i can't reproduce this error.