You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.
try {
$result = $client->checkVat($params);
} catch (SoapFault$e) {
$result = $e->faultstring;
$regex = '/\{ \'([A-Z_]*)\' \}/';
$n = preg_match($regex, $result, $matches);
$result = $matches[1];
$faults = array(
'INVALID_INPUT' => 'The provided CountryCode is invalid or the VAT number is empty',
'SERVICE_UNAVAILABLE' => 'The SOAP service is unavailable, try again later',
'MS_UNAVAILABLE' => 'The Member State service is unavailable, try again later or with another Member State',
'TIMEOUT' => 'The Member State service could not be reached in time, try again later or with another Member State',
'SERVER_BUSY' => 'The service cannot process your request. Try again later.'
);
$this->error($faults[$result]);
returnfalse;
}
Hi Author!
How we need to handle until soap server is buzzy?
Hit from traced exception:
The text was updated successfully, but these errors were encountered: