Duskfall Posted February 10, 2016 Share Posted February 10, 2016 (edited) While live mode seems to work properly, i have tried the test mode to make test purchases. I have already setup a sandbox account and credentials but when i press the paypal button in my eshop i get this error Send with CURL method failed ! Error: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure Connect failed with fsockopen method I have the latest module version and Prestashop 1.6.1.3 version. Edit: Also tried 1.6.1.4 version. I present one log of the module: Result : Logs : Array ( [0] => Making new connection to 'api-3t.sandbox.paypal.com/nvp' [1] => Connect with CURL method successful [2] => <b>Sending this params:</b> [3] => METHOD=SetExpressCheckout&VERSION=106&PWD=test&USER=test&SIGNATURE=test&CANCELURL=test&RETURNURL=test&NOSHIPPING=1&BUTTONSOURCE=PRESTASHOP_EC&L_PAYMENTREQUEST_0_NUMBER0=9&L_PAYMENTREQUEST_0_NAME0=test&L_PAYMENTREQUEST_0_DESC0=...&L_PAYMENTREQUEST_0_AMT0=0.84&L_PAYMENTREQUEST_0_QTY0=5&PAYMENTREQUEST_0_PAYMENTACTION=Sale&PAYMENTREQUEST_0_CURRENCYCODE=EUR&PAYMENTREQUEST_0_SHIPPINGAMT=2.00&PAYMENTREQUEST_0_ITEMAMT=4.2&PAYMENTREQUEST_0_AMT=6.20&ADDROVERRIDE=1&EMAIL=test%40test.com&PAYMENTREQUEST_0_SHIPTONAME=test&PAYMENTREQUEST_0_SHIPTOPHONENUM=test&PAYMENTREQUEST_0_SHIPTOSTREET=test&PAYMENTREQUEST_0_SHIPTOSTREET2=test&PAYMENTREQUEST_0_SHIPTOCITY=test&PAYMENTREQUEST_0_SHIPTOSTATE=GR-54&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=GR&PAYMENTREQUEST_0_SHIPTOZIP=56224&SOLUTIONTYPE=Sole&LANDINGPAGE=Login&USER=test&PWD=test&SIGNATURE=test [4] => Send with CURL method failed ! Error: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure [5] => Connect failed with fsockopen method ) Furthermore I can't see the PayPal images on backend they are showed as ? The funny thing is that when i do a simple get with the querystring params in a browser i get a result with the token data etc. Please advise! Thanks Edited February 10, 2016 by Duskfall (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted February 10, 2016 Share Posted February 10, 2016 They disabled SSL v3 in Paypal sandbox. There are changes that you need to make to the module so that it connects with TLS. There was a post just a few days ago in this thread on what you need to do. Link to comment Share on other sites More sharing options...
Duskfall Posted February 16, 2016 Author Share Posted February 16, 2016 Thanks for the answer I have found something in a post indeed though not clear enough for me For reference what i did was commenting out the two lines in the module in paypal_connect.php //@curl_setopt($ch, CURLOPT_SSLVERSION, defined('CURL_SSLVERSION_TLSv1') ? CURL_SSLVERSION_TLSv1 : 1); //@curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'TLSv1'); Link to comment Share on other sites More sharing options...
desgnl Posted February 17, 2016 Share Posted February 17, 2016 They disabled SSL v3 in Paypal sandbox. There are changes that you need to make to the module so that it connects with TLS. There was a post just a few days ago in this thread on what you need to do. Hello. Do you have a link to this post please? Link to comment Share on other sites More sharing options...
eewee Posted March 6, 2016 Share Posted March 6, 2016 Hello, 2016 Merchant Security Roadmap Microsite : https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1913 You have a lot of useful information on this site. Link to comment Share on other sites More sharing options...
Guest locen Posted May 24, 2016 Share Posted May 24, 2016 Hi, i have problem in test mode (sandbox) i see this: Please try to contact the merchant: <b>PayPal response:</b> TIMESTAMP -> 2016-05-24T07:41:22Z L_ERRORCODE0 -> 10002 L_SHORTMESSAGE0 -> Security error L_LONGMESSAGE0 -> Security header is not valid L_SEVERITYCODE0 -> Error but in live mode all is ok please help me Link to comment Share on other sites More sharing options...
bellini13 Posted May 24, 2016 Share Posted May 24, 2016 This error means that your API keys are invalid. If you want to use the sandbox, then you need to create a sandbox account Link to comment Share on other sites More sharing options...
Guest locen Posted May 24, 2016 Share Posted May 24, 2016 I created account and all seems work but status is waiting paypal payment. Is it correct or it must have payment accepted? 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