manojb05 Posted January 21, 2016 Share Posted January 21, 2016 Hi, I am using prestashop 1.6, yesterday its working find suddenly. i got a error "Error: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure Connect failed with fsockopen method" how can i rectify the issue. Please help for the same. Regards Manoj -> Making new connection to 'api-3t.sandbox.paypal.com/nvp' Connect with CURL method successful Sending this params: METHOD=SetExpressCheckout&VERSION=106&PWD=*********&USER=mn.bhanu-facilitator_api1.gmail.com&SIGNATURE=*********&CANCELURL=http%3A%2F%2Fnewton.co.in%2FPrestaShop%2Forder%3Fpaypal_ec_canceled%3D1%26&RETURNURL=http%3A%2F%2Fnewton.co.in%2FPrestaShop%2Fmodules%2Fpaypal%2Fexpress_checkout%2Fpayment.php&NOSHIPPING=1&BUTTONSOURCE=PRESTASHOP_EC&L_PAYMENTREQUEST_0_NUMBER0=24&L_PAYMENTREQUEST_0_NAME0=Payogel+Toothpaste+%28Pack+of+6%29&L_PAYMENTREQUEST_0_DESC0=20g+%2A+6+PcMRP%3A%C2%A0%C2%A0318.00+%C2%A0Offer+Price%3A+285.00+...&L_PAYMENTREQUEST_0_AMT0=285&L_PAYMENTREQUEST_0_QTY0=1&PAYMENTREQUEST_0_PAYMENTACTION=Sale&PAYMENTREQUEST_0_CURRENCYCODE=USD&PAYMENTREQUEST_0_SHIPPINGAMT=0.00&PAYMENTREQUEST_0_ITEMAMT=285&PAYMENTREQUEST_0_AMT=285.00&ADDROVERRIDE=1&EMAIL=manojb05%40gmail.com&PAYMENTREQUEST_0_SHIPTONAME=Manoj++Bhanu&PAYMENTREQUEST_0_SHIPTOPHONENUM=8800397318&PAYMENTREQUEST_0_SHIPTOSTREET=512+&PAYMENTREQUEST_0_SHIPTOSTREET2=513&PAYMENTREQUEST_0_SHIPTOCITY=New+Delhi+&PAYMENTREQUEST_0_S HIPTOSTATE=DL&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=IN&PAYMENTREQUEST_0_SHIPTOZIP=110019&SOLUTIONTYPE=Sole&LANDINGPAGE=Login&USER=mn.bhanu-facilitator_api1.gmail.com&PWD=*********&SIGNATURE=********* Send with CURL method failed ! Error: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure Connect failed with fsockopen method Link to comment Share on other sites More sharing options...
bellini13 Posted January 21, 2016 Share Posted January 21, 2016 paypal no longer supports SSLv3. what version of the paypal module are you using? you can search these forums for paypal poodle for more information Link to comment Share on other sites More sharing options...
manojb05 Posted January 21, 2016 Author Share Posted January 21, 2016 thanks berllini your prompt reply. i am download paypal from module link (Version 3.10.2 (08/26/2015). Please help for the same http://addons.prestashop.com/en/payment-card-wallet/1748-paypal.html Link to comment Share on other sites More sharing options...
babyewok Posted January 26, 2016 Share Posted January 26, 2016 I have this error in sandbox mode with the latest vesrion of PayPal europe: 3.10.2 Link to comment Share on other sites More sharing options...
bellini13 Posted January 26, 2016 Share Posted January 26, 2016 (edited) Paypal Europe v3.10.2 does not use sslv3 anywhere in the code. what version of PHP are you using? Edited January 26, 2016 by bellini13 (see edit history) Link to comment Share on other sites More sharing options...
babyewok Posted January 27, 2016 Share Posted January 27, 2016 Exactly! It is on my wamp server which I know has an older php version. Will check what version, but is there something I can change to make it work with an older version? Link to comment Share on other sites More sharing options...
ago2 Posted January 27, 2016 Share Posted January 27, 2016 (edited) I have this error in sandbox mode with the latest vesrion of PayPal europe: 3.10.2Its still working in de live mode.I found this:https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1766&expand=true&locale=en_US We are making changes to the Sandbox environments prior to any Live changes, so you can verify your integration against the Sandbox. For testing prior to the Sandbox environment upgrade, we have created ‘test-*’ versions of the Sandbox endpoints (see details above). If you see these or similar error messages in the Sandbox environment, you will need to update your integration before we make changes to our Live environment. So maybe the module needs an update. Edited January 27, 2016 by ago2 (see edit history) Link to comment Share on other sites More sharing options...
babyewok Posted January 27, 2016 Share Posted January 27, 2016 Hmm, it is the very latest module and the developer says this issue has all been dealt with! Link to comment Share on other sites More sharing options...
bellini13 Posted January 27, 2016 Share Posted January 27, 2016 the issue has been dealt with, but it assumes your server software meets the modern encryption standards that are required. because of the POODLE incident, SSLv3 is banned, and replaced with TLS. apparently your environment does not support TLSv1 or it would be used Link to comment Share on other sites More sharing options...
ago2 Posted January 27, 2016 Share Posted January 27, 2016 as said TSLv1 is not supported anymore in sanbox modehttps://devblog.paypal.com/upcoming-security-changes-notice/i changed@curl_setopt($ch, CURLOPT_SSLVERSION, defined('CURL_SSLVERSION_TLSv1') ? CURL_SSLVERSION_TLSv1 : 1);to@curl_setopt($ch, CURLOPT_SSLVERSION, defined('CURL_SSLVERSION_TLSv1_2') ? CURL_SSLVERSION_TLSv1_2 : 6);inmodules/paypal/api/paypal_connect.phpand it worked for me in both modes. Link to comment Share on other sites More sharing options...
babyewok Posted January 28, 2016 Share Posted January 28, 2016 No joy. I had already tried that. It only happens on my WAMP, so I think perhaps it is the php version - it is running 5.3.4 Link to comment Share on other sites More sharing options...
bellini13 Posted January 28, 2016 Share Posted January 28, 2016 upgrade your wamp locally on move forward Link to comment Share on other sites More sharing options...
babyewok Posted January 28, 2016 Share Posted January 28, 2016 Yes did that this afternoon all good now thanks Link to comment Share on other sites More sharing options...
babyewok Posted January 28, 2016 Share Posted January 28, 2016 Mind you, thinking of it, this also happened on my client's live server with the sandbox account only. Was fine with a live account. Running php 5.5 or 5.6 on there. Is that something to worry about? Link to comment Share on other sites More sharing options...
bellini13 Posted January 28, 2016 Share Posted January 28, 2016 the sandbox has changed as reported already above. live has not yet changed. apparently TLSv1 is no longer supported, so the paypal module will need to be updated to use a different/supported TLS version. their server would need to support that version too Link to comment Share on other sites More sharing options...
babyewok Posted January 29, 2016 Share Posted January 29, 2016 Oh I see. Thanks. I assume the paypal developer will release a new version soon then. We have til June til paypal make the switch on live don't we? Link to comment Share on other sites More sharing options...
bellini13 Posted January 29, 2016 Share Posted January 29, 2016 if history tells us anything, it is do not rely on the Paypal module author to do anything quickly, otherwise it would have been done already... Link to comment Share on other sites More sharing options...
[email protected] Posted February 2, 2016 Share Posted February 2, 2016 I got the same error. I tryed: @curl_setopt($ch, CURLOPT_SSLVERSION, defined('CURL_SSLVERSION_TLSv1') ? CURL_SSLVERSION_TLSv1 : 1);to@curl_setopt($ch, CURLOPT_SSLVERSION, defined('CURL_SSLVERSION_TLSv1_2') ? CURL_SSLVERSION_TLSv1_2 : 6);inmodules/paypal/api/paypal_connect.phpit work! thanx to ago2 Link to comment Share on other sites More sharing options...
Shellanza Posted May 26, 2016 Share Posted May 26, 2016 Hi, I got the same error but I cannot find this line in my paypal_connect.php file. Actually using Prestashop 1.6.1.5 with Paypal module version 3.10.8 Any help? :-s Shella 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