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 14 forks source link

Use cache to prevent VIES API block #11

Closed JoryHogeveen closed 2 years ago

JoryHogeveen commented 3 years ago

The current version of the plugin runs various checks for each switch or update for addresses. This results in more than needed calls to the VIES API and might get the server IP blocked. By using cache (Custom TB table?) the API results can be stored with an expiry date (24h?).

JoryHogeveen commented 2 years ago

Fixed in #13