kolega Posted June 12, 2014 Share Posted June 12, 2014 I have met this information during payment process, has anyone met this? Return to merchant and try a different payment method We are not able to process your payment using your PayPal account at this time. Please return to the merchant's website and try using a different payment method (if available). Link to comment Share on other sites More sharing options...
karkraj Posted June 13, 2014 Share Posted June 13, 2014 Hi, Are you using Standard paypal module? or any others like pro, advanced and wpp etc... Link to comment Share on other sites More sharing options...
kolega Posted June 13, 2014 Author Share Posted June 13, 2014 Yeah, I am using the standard PayPal module, which is in "repository" (sorry, for Linux terminology O:-) ) Link to comment Share on other sites More sharing options...
karkraj Posted June 13, 2014 Share Posted June 13, 2014 Hi, this problem with Paypal credentials check the backend module credentials. Or try with different paypal account. Link to comment Share on other sites More sharing options...
ccccc Posted June 27, 2014 Share Posted June 27, 2014 hi, i am using ps 1.5.6.2, when i try to use paypal to checkout error occur like this: Notice: Undefined variable: tmp in /home/lubsscom/public_html/modules/paypal/api/paypal_connect.php on line 130 can anyone help? thx Link to comment Share on other sites More sharing options...
bellini13 Posted June 27, 2014 Share Posted June 27, 2014 and what version of the paypal module? Link to comment Share on other sites More sharing options...
ccccc Posted June 29, 2014 Share Posted June 29, 2014 hello bellini13, my paypal verion is 3.7.1 Link to comment Share on other sites More sharing options...
bellini13 Posted June 29, 2014 Share Posted June 29, 2014 a few things 1) This is a warning message because you likely have debug mode enabled. Besides receiving this warning, is the module working properly? Or are you having an actual issue? 2) the paypal module is attempting to connect to the paypal server using fsock. This means that your server does not support the CURL extension. If you are having an issue, I would first install/enable the curl extension. If you do not know what this means, then contact your hosting provider and request them to enable this 3) if you are having a problem and your host will not enable CURL, then you are stuck with fsock and I am not sure what else you can do here. additional troubleshooting would be required to determine why the fsock connection is failing. Link to comment Share on other sites More sharing options...
ccccc Posted July 2, 2014 Share Posted July 2, 2014 Dear Bellini13, thank you for you help, the curl has enabled, but still when click on paypal button, this message show, Error occurred: Please try to contact the merchant: <b>PayPal response:</b> -> « Back ..... Link to comment Share on other sites More sharing options...
bellini13 Posted July 2, 2014 Share Posted July 2, 2014 was that a bad copy/paste, or was there really no response received? Link to comment Share on other sites More sharing options...
ccccc Posted July 4, 2014 Share Posted July 4, 2014 yes, really no response received... Link to comment Share on other sites More sharing options...
bellini13 Posted July 4, 2014 Share Posted July 4, 2014 there is really not much I can do from my end with that type of blank response from Paypal. In order to properly assist, I would need access to your store and just troubleshoot the issue, however for that type of support I do charge for my services. If that is something you are interested in, feel free to contact me via my website contact form, or to send me a PM with your back office and FTP information. 1 Link to comment Share on other sites More sharing options...
ccccc Posted July 21, 2014 Share Posted July 21, 2014 Dear Bellini, thank you for your help~~ when the error occur, the error reporting, Notice: Undefined variable: tmp in /home/lubsscom/public_html/modules/paypal/api/paypal_connect.php on line 130 and here is my code on line 130 return $tmp ? $tmp : false; Link to comment Share on other sites More sharing options...
bellini13 Posted July 21, 2014 Share Posted July 21, 2014 Hello, I had already replied to you on June 29th. I believe you need to work with your host to determine if CURL and or fopen extensions are installed and enabled. Link to comment Share on other sites More sharing options...
sydsyd Posted October 17, 2014 Share Posted October 17, 2014 (edited) Hi, I'm having the exact same problem: Getting this error displayed in the checkout page: Notice: Undefined variable: tmp in /prestashop/modules/paypal/api/paypal_connect.php on line 130 and an empty response from paypal: Please try to contact the merchant: <b>PayPal response:</b> -> prestashop 1.6.0.9 hosted on dreamhost shared hosting, paypal v.3.7.2 by prestashop. CURL is enabled. Paypal account is a sandbox account and the module is set to test mode. When switching to live mode I do get the paypal payment page. Switched prestashop to dev mode but logs are empty. Thanks for any help. I modified paypal/api/paypal_connect.php to print errors and found this error (I still don't know why prestashop isn't logging): SSL routines:SSL3_GET_RECORD:wrong version number with this solution: http://stackoverflow.com/questions/26378351/error1408f10bssl-routinesssl3-get-recordwrong-version-number-paypal-maybe I modified line 88 to version 1 instead of 3: @curl_setopt($ch, CURLOPT_SSLVERSION, 1); now test mode works however I still don't know the impact on live mode and why there is a difference here. I'll probably go back to version 3 before going live. Edited October 17, 2014 by sydsyd (see edit history) 2 Link to comment Share on other sites More sharing options...
midana Posted October 30, 2014 Share Posted October 30, 2014 I'm also getting this :/ Link to comment Share on other sites More sharing options...
Joel Bardsley Posted November 1, 2014 Share Posted November 1, 2014 Same here, also on 1.5.6.2 Link to comment Share on other sites More sharing options...
giasemis Posted November 3, 2014 Share Posted November 3, 2014 Ι have exactly the same issue. I did the update proposed in post #16 but doesn't solve my problem Link to comment Share on other sites More sharing options...
giasemis Posted November 3, 2014 Share Posted November 3, 2014 After I print the variables of the function giving the error: at paypal/api/paypal_connect.php file: private function _connectByFSOCK($host, $script, $body) { echo $host; echo $script; echo $body; echo $host; echo "</br> "; echo $errno; echo "</br> "; echo $errstr; $host = api-3t.paypal.com $script= /nvp $body contains the credentials and the data transfered to Paypal $errno = 0 $errstr = php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known this is the fault I am getting The problem is some days is working and some not and this is since last month so I can assume this is a Paypal error Link to comment Share on other sites More sharing options...
giasemis Posted November 3, 2014 Share Posted November 3, 2014 this was the answer from PayPal: --------------- I've run a test on your site but I didn't come across any issues. Please see the attached screenshot.Details you provided (= php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known) indicates an issue with your cart not getting the PayPal re-direction URL at all or not getting it properly. I would suggest contacting Prestashop for more information. --------------- the problem still there. Prestashop team could you please help with this issue? thank you Link to comment Share on other sites More sharing options...
FabioS Posted November 5, 2014 Share Posted November 5, 2014 I have fixed the problem...sorry for my english :-) This issue is caused by recent update PayPal (10/16/2014) for fixed SSL3 vulnerability https://www.paypal-community.com/t5/PayPal-Forward/PayPal-Response-to-SSL-3-0-Vulnerability-aka-POODLE/ba-p/891829 This problem affects both the test and live site, and you can fix this problem by changing the module paypal. - go to /modules/paypal/api/ - open paypal_connect.php - around line 88 you can see @curl_setopt($ch, CURLOPT_SSLVERSION, 3); -replace with : // @curl_setopt($ch, CURLOPT_SSLVERSION, 3); //fix by FabioS @curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1); @curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'SSLv3'); //endfix - save and that's it. Best regards! 6 Link to comment Share on other sites More sharing options...
giasemis Posted November 6, 2014 Share Posted November 6, 2014 Hi Fabio, thanks for the proposed solution. Indeed the problem has started appearing during that date. anyway I check your solution and it doesn't solve the problem for my case. I think it is 100% paypal since is a problem is comming and going, One day redirection to paypal is working and the next is not. I receiving that follow error ERRNO 0ERRSTR php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known Best Regards Gerasimos Link to comment Share on other sites More sharing options...
SHU Technologies Posted November 7, 2014 Share Posted November 7, 2014 I have fixed the problem...sorry for my english :-) This issue is caused by recent update PayPal (10/16/2014) for fixed SSL3 vulnerability https://www.paypal-community.com/t5/PayPal-Forward/PayPal-Response-to-SSL-3-0-Vulnerability-aka-POODLE/ba-p/891829 This problem affects both the test and live site, and you can fix this problem by changing the module paypal. - go to /modules/paypal/api/ - open paypal_connect.php - around line 88 you can see @curl_setopt($ch, CURLOPT_SSLVERSION, 3); -replace with : // @curl_setopt($ch, CURLOPT_SSLVERSION, 3); //fix by FabioS @curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1); @curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'SSLv3'); //endfix - save and that's it. Best regards! Hi, I had the same problem with Paypal test accounts and your solution works like charm. Thanks:)) 2 Link to comment Share on other sites More sharing options...
FabioS Posted November 7, 2014 Share Posted November 7, 2014 Hi, I had the same problem with Paypal test accounts and your solution works like charm. Thanks:)) Your are welcome! Link to comment Share on other sites More sharing options...
mohrt Posted November 19, 2014 Share Posted November 19, 2014 (edited) I was able to fix by just removing the setting: @curl_setopt($ch, CURLOPT_SSLVERSION, 3); CURL MANUAL: CURL_SSLVERSION_TLSv1 (1), CURL_SSLVERSION_SSLv2 (2), CURL_SSLVERSION_SSLv3 (3), CURL_SSLVERSION_TLSv1_0 (4), CURL_SSLVERSION_TLSv1_1 (5) CURL_SSLVERSION_TLSv1_2 (6). Note: Your best bet is to not set this and let it use the default. Setting it to 2 or 3 is very dangerous given the known vulnerabilities in SSLv2 and SSLv3. Edited November 19, 2014 by mohrt (see edit history) Link to comment Share on other sites More sharing options...
Sarak Posted January 21, 2015 Share Posted January 21, 2015 Just found this exact same problem and it seems to be fixed after removing @curl_setopt($ch, CURLOPT_SSLVERSION, 3); from paypal_connect.php. Link to comment Share on other sites More sharing options...
bellini13 Posted January 21, 2015 Share Posted January 21, 2015 Just found this exact same problem and it seems to be fixed after removing @curl_setopt($ch, CURLOPT_SSLVERSION, 3); from paypal_connect.php. You haven't received numerous emails from Paypal over the past few months telling you to do this? Or did you just ignore them? Link to comment Share on other sites More sharing options...
JordanStark Posted January 23, 2015 Share Posted January 23, 2015 Use the most updated paypal module. This is what solved the problem for me. There is a new paypal module in your modules area. The module is titled PayPal USA, Canada 1.3.8 <----The module that solves this problem! Link to comment Share on other sites More sharing options...
requ Posted January 29, 2015 Share Posted January 29, 2015 Hi, Plz check it out - helps me: https://www.prestashop.com/forums/topic/369866-paypal-payment-error/?p=1841487 bb, requ Link to comment Share on other sites More sharing options...
Anthea Posted March 10, 2015 Share Posted March 10, 2015 (edited) FabioS, on 06 Nov 2014 - 02:03 AM, said: I have fixed the problem...sorry for my english :-) This issue is caused by recent update PayPal (10/16/2014) for fixed SSL3 vulnerability https://www.paypal-c...DLE/ba-p/891829 This problem affects both the test and live site, and you can fix this problem by changing the module paypal. - go to /modules/paypal/api/ - open paypal_connect.php - around line 88 you can see @curl_setopt($ch, CURLOPT_SSLVERSION, 3); -replace with : // @curl_setopt($ch, CURLOPT_SSLVERSION, 3); //fix by FabioS @curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1); @curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'SSLv3'); //endfix - save and that's it. Best regards! Thank you so much for posting this quick fix... it solved the problem.... thank you!!!!! Edited March 10, 2015 by Anthea (see edit history) Link to comment Share on other sites More sharing options...
boogs Posted March 10, 2015 Share Posted March 10, 2015 Hi, I have been fighting with that Paypal module for 2 weeks now. It worked well and one day started to return an error or even disappear from the payment modes... I tried reinstalling the module several times, regenerate Paypal API details, double checked them, no way to get it back working correctly. The solution just before is no more up to date because my code is ok in paypal_connect.php. I have last verified version of both PS and Paypal module installed (1.6.0.14 and 3.8.2). Can someone please have an idea to share to help ? See below the error I get for every payment try : <h2> </h2>Veuillez contacter le marchant: <b>PayPal response:</b> TIMESTAMP -> 2015-03-10T13:58:14Z L_ERRORCODE0 -> 10004 L_SHORTMESSAGE0 -> Internal Error L_LONGMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details. L_SEVERITYCODE0 -> Error Link to comment Share on other sites More sharing options...
advancecommunication Posted March 10, 2015 Share Posted March 10, 2015 Error occurred: Please try to contact the merchant: <b>PayPal response:</b> TIMESTAMP -> 2015-03-10T14:47:58Z L_ERRORCODE0 -> 10002 L_SHORTMESSAGE0 -> Security error L_LONGMESSAGE0 -> Security header is not valid L_SEVERITYCODE0 -> Error I have this problem! 1 Link to comment Share on other sites More sharing options...
lunos Posted May 1, 2015 Share Posted May 1, 2015 I have fixed the problem...sorry for my english :-) This issue is caused by recent update PayPal (10/16/2014) for fixed SSL3 vulnerability https://www.paypal-community.com/t5/PayPal-Forward/PayPal-Response-to-SSL-3-0-Vulnerability-aka-POODLE/ba-p/891829 This problem affects both the test and live site, and you can fix this problem by changing the module paypal. - go to /modules/paypal/api/ - open paypal_connect.php - around line 88 you can see @curl_setopt($ch, CURLOPT_SSLVERSION, 3); -replace with : // @curl_setopt($ch, CURLOPT_SSLVERSION, 3); //fix by FabioS @curl_setopt($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1); @curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'SSLv3'); //endfix - save and that's it. Best regards! yesss! Many thanks FabioS Link to comment Share on other sites More sharing options...
markthedoc Posted May 2, 2015 Share Posted May 2, 2015 I updated the PayPal module to version 3.8.3 and this fixed it for me. 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