Laravel5-PaypalIPN
Laravel5-PaypalIPN copied to clipboard
Exception: cURL error: [35] error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
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?
Pretty frustrating issue, but for what it's worth this seems to work:
$ipn->use_curl = false;
I believe this was fixed in some recent commit