Skip to content
Snippets Groups Projects
Commit 32aecc64 authored by Till Brehm's avatar Till Brehm
Browse files

Update validate_client.inc.php

parent f0e15758
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ class validate_client {
}
try {
ini_set("default_socket_timeout", 5);
$client = new SoapClient("http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl");
$client = new SoapClient("http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl", array('connection_timeout' => 5));
$params = array('countryCode' => $cc, 'vatNumber' => $vn);
try{
$r = $client->checkVat($params);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment