Store VIES timestamp and response when validation is successful

Created on 23 November 2018, about 6 years ago
Updated 10 January 2025, 9 days ago

In general, it's a good idea for merchants to keep records of how they validated the VAT number. This patch adds a feature to store the successful VIES response and timestamp along with the VAT number. It adds two new properties to the field and does not change the appearance or user experience; it simply saves additional information.

The patch likely ought to have tests written before we commit it. We could perhaps capture and mock the various VIES responses and ensure the appropriate behavior.

In any case, it'd be good for people to try it out/review it, regardless of whether we block on tests in the end or not.

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇳🇴Norway wizonesolutions Norway

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇪Belgium dieterholvoet Brussels

    This doesn't seem like a widely requested or useful feature to me, it should probably live in custom code or a separate module. If anyone else is still interested in this feature, feel free to re-open.

Production build 0.71.5 2024