Hi,
when enabling the online check for VAT numbers I get this:
SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from
'http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl' : failed to
load external entity
"http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl" in
/var/www/html/wwwdafraeu/administrator/components/com_hikashop/helpers/vat.php:
137 Stack trace: #0
/var/www/html/wwwdafraeu/administrator/components/com_hikashop/helpers/vat.php(
137): SoapClient->SoapClient('http://ec.europ...') #1
/var/www/html/wwwdafraeu/administrator/components/com_hikashop/helpers/vat.php(
44): hikashopVatHelper->onlineCheck('BE0817.401.875 ') #2
/var/www/html/wwwdafraeu/administrator/components/com_hikashop/classes/address.
php(219): hikashopVatHelper->isValid(Object(stdClass)) #3
/var/www/html/wwwdafraeu/administrator/components/com_hikashop/classes/address.
php(142): hikashopAddressClass->_checkVat(Object(stdClass)) #4
/var/www/html/wwwdafraeu/administrator/components/com_hikashop/classes/user.php(
563): hikashopAddressClass->save(Object(stdClass)) #5
/var/www/html/wwwdafraeu/components/com_hikashop/controllers/user.php(20):
hikashopUserClass->register(Object(userController), 'user') #6
/var/www/html/wwwdafraeu/libraries/joomla/application/component/controller.php(
754): userController->register() #7
/var/www/html/wwwdafraeu/components/com_hikashop/hikashop.php(54):
JController->execute('register') #8
/var/www/html/wwwdafraeu/libraries/joomla/application/component/helper.php(388):
require_once('/var/www/html/w...') #9
/var/www/html/wwwdafraeu/libraries/joomla/application/component/helper.php(357):
JComponentHelper::executeComponent('/var/www/html/w...') #10
/var/www/html/wwwdafraeu/includes/application.php(198):
JComponentHelper::renderComponent('com_hikashop') #11
/var/www/html/wwwdafraeu/index.php(42): JSite->dispatch() #12 {main}
At first I thought this might be a problem with loading the SOAP extension, but this is successfully loaded following phpinfo().
Then I thought it was the SOAP service, but this seems to work on my laptop. Then I tried another SOAP service on my webserver and this worked.
So it seems to be a combination Centos 6.2 (my distro) and the European VAT checking service.
I realize this is not strictly a Hikashop problem defect, but would there be any way to work around this? By using the PEAR SOAP version for instance?
Thank you,
BC