Closed ghost closed 3 years ago
What's the full exception stack trace?
Actually there is no stack since it never throws exception. I am using
$vat_details = VatCalculator::getVATDetails($request->vat_number)
and the $vat_details
were always false for a while. The I did dig it via a wsdl browser then the browser shows the error. Then 10 - 15 mins later it has started to return true. Not sure it is because of my local development or something else.
Cheers.
Found this: https://ec.europa.eu/taxation_customs/vies/help.html
I'm afraid this isn't something we can solve within the library. The VIES API has a reputation of being unreliable at times. I have no idea how to even start preventing this.
Hi,
sometimes I get
MS_MAX_CONCURRENT_REQ: Your Request for VAT validation has not been processed; the maximum number of concurrent requests for this Member State has been reached. Please re-submit your request later or contact TAXUD-VIESWEB@ec.europa.eu for further information"
and really do not now why. Could not find any proper information as well.
Is there any workaround for this one?