Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vat checker validation extension #483

Closed
syjer opened this issue Jul 2, 2018 · 0 comments
Closed

Vat checker validation extension #483

syjer opened this issue Jul 2, 2018 · 0 comments

Comments

@syjer
Copy link
Member

syjer commented Jul 2, 2018

Add a hook point for handling the validation in case/additionally to the EU one.

Ideally, there can be multiple validation extension: if one of them return true, the vat nr is considered valid.

Flow:

  1. user enter vat nr
  2. if EU -> validate with vies -> if ok -> consider ok
  3. if false OR not eu -> use all registered extensions and if one of them return true -> consider ok.

Parameters provided to the extension:

  • vat nr
  • country
  • ???
cbellone added a commit that referenced this issue Jul 3, 2018
cbellone added a commit that referenced this issue Jul 3, 2018
cbellone added a commit that referenced this issue Jul 3, 2018
(cherry picked from commit 122e226)
@cbellone cbellone closed this as completed Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants