Error in the sandbox socket connection

elalux
Contributor
Contributor

Paypal has changued the socket configuration of the sandbox ?

 

When I try connect  with fsockopen

 

$fp = fsockopen('tls://www.sandbox.paypal.com', 443, $errno, $errstr, 30);

 

The function shows the following errors:

---------------------------------------------------------

Warning: fsockopen() [function.fsockopen]: SSL operation failed with code 1. OpenSSL Error messages: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure in (line number)

 

Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in (line number)

 

Warning: fsockopen() [function.fsockopen]: unable to connect to tls://www.sandbox.paypal.com:443 (Unknown error) in (line number)

---------------------------------------------------------

 

But if i use 'tls://www.paypal.com' there no show errors.

 

Please help me, thanks from now for any help.

Login to Me Too
1 REPLY 1

vermadilipjpr
New Community Member

I am also facing same issue, Please help.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.