sh0umik / Laravel5-PaypalIPN

Paypal IPN Package for Laravel 5
34 stars 22 forks source link

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

Open jonaths opened 8 years ago

jonaths commented 8 years ago

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?

dovid commented 8 years ago

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

$ipn->use_curl = false;

dovid commented 6 years ago

I believe this was fixed in some recent commit