rayrayrugby Posted October 16, 2014 Share Posted October 16, 2014 Hi, I apologize in advance for my bad english, I'm french . I have a big problem with my paypal module since yesterday. Indeed when I try to pay my order by means of Paypal , I'm redirected on a blank page on wich activating the paypal debug mode I can see that error : Send with CURL method failed ! Error: Unknown SSL protocol error in connection to api-3t.sandbox.paypal.com:443 Connect failed with fsockopen method <b>PayPal response:</b> -> Since yesterday i try to find a solution to this embarrassing problem but nothing work so far ..... Could someone help me please ? I specify that I use the paypal module in test mode, of this fact I use my sandbox username, pwd and signature. I work in local. PayPal v3.7.2 PrestaShop™ 1.6.0.9 Thanks. Link to comment Share on other sites More sharing options...
samyha Posted October 17, 2014 Share Posted October 17, 2014 Hello, Did you try to reset the module? Link to comment Share on other sites More sharing options...
rayrayrugby Posted October 17, 2014 Author Share Posted October 17, 2014 Hello, Thanks for your reply , Yes I did it several times but nothing changed .... Fortunately, I found a way to avoid this problem by installing the US version of Paypal and now all works fine. I don't know why on the european version this error occur .... 1 Link to comment Share on other sites More sharing options...
thepan Posted October 18, 2014 Share Posted October 18, 2014 (edited) Same Problem when using Sandbox and dont want to install the US version. Edited October 18, 2014 by thepan (see edit history) Link to comment Share on other sites More sharing options...
frankit Posted October 21, 2014 Share Posted October 21, 2014 (edited) http://www.prestashop.com/forums/topic/336999-paypal-module-not-able-to-process-the-payment/#post_id_1835204 Edited October 21, 2014 by frankit (see edit history) Link to comment Share on other sites More sharing options...
Derry Posted October 22, 2014 Share Posted October 22, 2014 (edited) Hi, I had exactly the same problem (Paypal API failed in Sandbox mode and in my case did not return an error code).. I have contacted Paypal Technical Support and they answered: "Please check that the module does not enforce version 3 of the SSL protocol.We have disabled this protocol for sandbox as a response to the "POODLE" vulnerability." I have replaced the following line in /modules/paypal/api/paypal_connect.php //---replace @curl_setopt($ch, CURLOPT_SSLVERSION, 3); ----with @curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_DEFAULT); and now it works again. Edited October 22, 2014 by Derry (see edit history) 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now