Closed vlad88sv closed 12 years ago
I was getting: cURL error: [60] SSL certificate problem, verify that the CA cert is OK.
Then I read this: http://unitstep.net/blog/2009/05/05/using-curl-in-php-to-access-https-ssltls-protected-sites/
I've added in ipnlistener.php this: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
on function curlPost() after "curl_setopt($ch, CURLOPT_HEADER, true);" (around line 103)
I think this needs the "proper fix", maybe you should bundle PayPal CA certificate along with the example?.
Thank you very much.
I had the same problem. Thanks vlad88sv for the "quick fix"!
This was added in a recent merge.
I was getting: cURL error: [60] SSL certificate problem, verify that the CA cert is OK.
Then I read this: http://unitstep.net/blog/2009/05/05/using-curl-in-php-to-access-https-ssltls-protected-sites/
I've added in ipnlistener.php this: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
on function curlPost() after "curl_setopt($ch, CURLOPT_HEADER, true);" (around line 103)
I think this needs the "proper fix", maybe you should bundle PayPal CA certificate along with the example?.
Thank you very much.