We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bac1a52 commit 8896268Copy full SHA for 8896268
1 file changed
src/Validate.php
@@ -83,23 +83,6 @@ public static function isValidVatNumber($vat_number)
83
return $result;
84
}
85
86
- /*
87
- // mpociot/vat-calculator
88
- use Mpociot\VatCalculator\Exceptions\VATCheckUnavailableException;
89
- use Mpociot\VatCalculator\VatCalculator;
90
- // Controllo con API europea ufficiale
91
- if (extension_loaded('soap')) {
92
- try {
93
- $validator = new VatCalculator();
94
-
95
- if (!$validator->isValidVATNumber($vat_number)) {
96
- return false;
97
- }
98
- } catch (VATCheckUnavailableException $e) {
99
100
101
- */
102
103
// Controllo attraverso apilayer
104
$access_key = setting('apilayer API key for VAT number');
105
if (!empty($access_key)) {
0 commit comments