Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Conversation

@indrisepos
Copy link

The example "./bin/magento vat:validate NL NL133001477B01" did not run because the name "test" was already in use in di.xml. This is a common name, which can cause naming problems in other cases.

Sander Mangel and others added 30 commits February 20, 2018 15:48
Vatlayer API can return errors if for example monthly usage limit has been reached. In this case $clientResponse will not have key: 'valid', so exception.log is flooded by: `Notice: Undefined index: valid`

Vatlayer documentation tells us error key will exist if there is an error. The error info is now also visible in the FailedValidationException.
Add extra check in validateVATNumber
+ added api key
- removed unused keys
- removed types
+ added virtual types
+ configuration interface with all paths to config.xml
+ configuration implementation
+ the name is used to decouple from validation which makes it dynamic
the constructor tried to resolve something which is only needed at
runtime
- removed secondary logic from constructor
+ implemented configuration whih moves scope logic to configuration
+ cache multiple calls
+ add configuration interface
- removed direct scope calls for configuration
- removed direct implementation of Validation services
+ Inject cleannumberString object
* delimiters are required
JeroenBoersma and others added 30 commits December 18, 2019 16:41
…id, because validation failed implies an error while trying to validate
Keep request_message a Phrase object instead of coercing string
Fix from @evs-xsarus
report.ERROR: Deprecated Functionality: preg_replace(): Passing null to parameter
Makes the module installable on Magento 2.4.7.
The example "./bin/magento vat:validate NL NL133001477B01" did not run because the name "test" was already in use in di.xml. This is a common name, which can cause naming problems in other cases.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.