Laravel5-PaypalIPN icon indicating copy to clipboard operation
Laravel5-PaypalIPN copied to clipboard

Exception: cURL error: [35] error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

Open jonaths opened this issue 8 years ago • 2 comments

Hi. Im getting this issue:

Exception: cURL error: [35] error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure in /app/vendor/fahim/laravel5-paypal-ipn/src/PaypalIPNListener.php:120

Found that it happens because some Paypal update. I also found here that by setting line:

curl_setopt($curl, CURLOPT_SSLVERSION, 6);

the issue is fixed. I tested it locally and the error disappears. However I cant do the same when pushing to heroku since it loads the dependencies after the new commit. I believe that if you update this line of code the issue will be solved. Mind evaluating it please?

jonaths avatar May 25 '16 03:05 jonaths

Pretty frustrating issue, but for what it's worth this seems to work:

$ipn->use_curl = false;

dovid avatar Aug 09 '16 22:08 dovid

I believe this was fixed in some recent commit

dovid avatar Nov 15 '17 12:11 dovid