0

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,

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by raju_boini525
0

hai all,

I solved half of problem by changing settings in pph.ini file.

but i am geting one problem

Warning: SoapClient::__construct() [function.SoapClient---construct]: SSL: fatal protocol error 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 37

do you have any idea please help me.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.