babyewok Posted October 16, 2014 Share Posted October 16, 2014 My client received an empty PayPal error message: PayPal response:-> This is on PS 1.5.6.2 and PayPal module 3.6.5 - any ideas as to what caused this? Successful orders have been placed before and after this error 1 Link to comment Share on other sites More sharing options...
babyewok Posted October 21, 2014 Author Share Posted October 21, 2014 *bump* Link to comment Share on other sites More sharing options...
jojohn Posted October 21, 2014 Share Posted October 21, 2014 When debugging the data returned by the curl, I got this error erreur SSL3_GET_RECORD:wrong version number To fix the error, open the file "\www\myprestashop\modules\paypal\api\paypal_connect.php" Find this instruction @curl_setopt($ch, CURLOPT_SSLVERSION, 3); And replace it by @curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_SSLv3); 1 Link to comment Share on other sites More sharing options...
ProfesorAlga Posted November 6, 2014 Share Posted November 6, 2014 When debugging the data returned by the curl, I got this error erreur SSL3_GET_RECORD:wrong version number To fix the error, open the file "\www\myprestashop\modules\paypal\api\paypal_connect.php" Find this instruction @curl_setopt($ch, CURLOPT_SSLVERSION, 3); And replace it by @curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_SSLv3); Thanks a lot jojohn, it worked! Link to comment Share on other sites More sharing options...
HavanA Posted January 28, 2016 Share Posted January 28, 2016 <bump> I received two empty messages regarding this same paypal error today. I found this code in paypal_connect.php: @curl_setopt($ch, CURLOPT_SSLVERSION, defined('CURL_SSLVERSION_TLSv1') ? CURL_SSLVERSION_TLSv1 : 1); I am using Prestashop 1.6.1.4 Does anybody know what I should change in my case? Link to comment Share on other sites More sharing options...
Recommended Posts