hai all,
i am working on shopping cart project, i need globalpay integration . i got the sample code and run in my localhost it shows me error this.
Warning: SoapClient::__construct() [function.SoapClient---construct]: I/O warning : failed to load external entity "https://certapia.globalpay.com/GlobalPay/transact.asmx?WSDL" in C:\wamp\www\exampls\PHP Web Service Sample (Credit Card) 4.0.0\PHP Web Service Sample (Credit Card) 4.0.0\globalpay.inc.php on line 36
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://certapia.globalpay.com/GlobalPay/transact.asmx?WSDL' in C:\wamp\www\exampls\PHP Web Service Sample (Credit Card) 4.0.0\PHP Web Service Sample (Credit Card) 4.0.0\globalpay.inc.php:36 Stack trace: #0 C:\wamp\www\exampls\PHP Web Service Sample (Credit Card) 4.0.0\PHP Web Service Sample (Credit Card) 4.0.0\globalpay.inc.php(36): SoapClient->__construct('https://certapi...') #1 C:\wamp\www\exampls\PHP Web Service Sample (Credit Card) 4.0.0\PHP Web Service Sample (Credit Card) 4.0.0\globalpay.inc.php(143): sendCreditCardRequest('YOUR_USERNAME', 'YOUR_PASSWORD', 'Sale', '400300012345678...', '1215', '', 'John Doe', '1.00', '', '', '30329', '123 Corporate S...', '123', '') #2 C:\wamp\www\exampls\PHP Web Service Sample (Credit Card) 4.0.0\PHP Web Service Sample (Credit Card) 4.0.0\globalpay.inc.php(150): showCreditCardSaleResponse() #3 {main} thrown in C:\wamp\www\exampls\PHP Web Service Sample (Credit Card) 4.0.0\PHP Web Service Sample (Credit Card) 4.0.0\globalpay.inc.php on line 36
i enabled soap server in php.ini.
can any have the idea about this error please help.
thanxs,