I am trying to set up Paypal on my site, the problem is that I am currently OVH has 0.9.8o version of OpenSSL, or it appears that Paypal is required from version 1.0.2 to run.
The error comes from line 2:
if($this->getParameter('paypal_sandbox') == true)
$fp = fsockopen('tls://www.sandbox.paypal.com', 443, $errno, $errstr, 30);
else
$fp = fsockopen('ssl://www.paypal.com', 443, $errno, $errstr, 30);
This is error return :
"Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure"
Besides, I also want to know if for line 4 must use it well "ssl://" or does it put "tls://" as for the sandbox environment ?
Thank you !