driesvints / vat-calculator

Handle all the hard stuff related to EU MOSS tax/vat regulations, the way it should be.
MIT License
1.2k stars 88 forks source link

MS_MAX_CONCURRENT_REQ #127

Closed ghost closed 3 years ago

ghost commented 3 years ago

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?

driesvints commented 3 years ago

What's the full exception stack trace?

ghost commented 3 years ago

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.

driesvints commented 3 years ago

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.