LaCollisionSeptember 28 in Help & Support
The Nexus VAT validation for EU business addresses seems to not work any longer.
In \Tax::validateVAT at line 382:
if ( $xml->read() )
if ( $xml->name === 'soap:Envelope' and $xml->read() )
if ( $xml->name === 'soap:Body' and $xml->read() )
if ( $xml->name === 'checkVatResponse' )
$responseArray[ $xml->name ] = $xml->readString();
while ( $xml->next() and $xml->nodeType !== $xml::END_ELEMENT );
The response from the EU service seems to have changed; the XML looks something like that:
➡️ The namespace is "env", and a <env:Header> tag seems to have appeared before the Body; so the $xml->read() can't find the Body element any longer.
There was a patch for that this week.
As mentioned by @opentype, we issued a patch for this. You can find it by going to ACP -> Support.
Perfect! Thanks a lot to both of you
Started November 16
Started November 12
Started October 5
Started October 19
Started September 21
Started November 22
Started October 26
Started November 17