WVW Posted August 22, 2019 Share Posted August 22, 2019 Hi I have linked my Paypal business account to my store, however when I click on the test button under TLS & CURL it says TLS version is not compatible I am running PS v1.6.1.4 w/ Paypal module v 3.12.1 I have done some searching on this problem and found the below URL which explained PayPal disabled SSL 3.0 and was switching to TLS. My TLS version is 1.2! I also read from redwr4p's error they edited paypal_connect.php file changing the 3 to a 4 on the CURLOPT_SSLVERSION line. Unfortunately that broke my PS w/ an internal server error. Can anyone please help advise what I need to change to make this error go away so the module can work? P.S. I realise the PayPal version shown in the URL is v3.7.2 which is different from the my module, but checking for updates on PS it shows all modules are up to date!? Any suggestions please? Link to comment Share on other sites More sharing options...
WVW Posted August 23, 2019 Author Share Posted August 23, 2019 44 minutes ago, Sinoks said: You are confusing so many things I am not surprised as I am still brand new to using PS 44 minutes ago, Sinoks said: You have to either become smarter That's why I came to the help forum, in the hopes to get help so I can learn from others. Not expecting unhelpful answers like this one! 45 minutes ago, Sinoks said: or find someone to do it for you I am happy to do it myself so I can become smarter. Link to comment Share on other sites More sharing options...
202ecommerce Posted August 23, 2019 Share Posted August 23, 2019 Hello, Thank you for your message. Could you check if you are using a correct version of cURL. Please update your cURL extension to version 7.34.0 or higher of it is not the case. If you still have a problem please contact ou support team via PrestaShop Addons. Best regards, Tetiana Link to comment Share on other sites More sharing options...
SwissGroove Posted December 16, 2019 Share Posted December 16, 2019 Same here with Paypal module v3.14.0 : "TLS version is not compatible" . I read somewhere that Paypal shut down the subdomain used for this test. You'll always get this warning even when you are using the correct TLS and CURL version. Link to comment Share on other sites More sharing options...
202ecommerce Posted December 17, 2019 Share Posted December 17, 2019 Hello SwissGroove, Paypal modules don't use subdomains to make the TLS test : a request is send, testing only the domain of the eShop. This request returns a OK or a KO. If you face any issue with Paypal 3.14, please do not hesitate to contact our support team : https://addons.prestashop.com/fr/contactez-nous?id_product=1748 Best regards Link to comment Share on other sites More sharing options...
Goof Ball Posted April 9, 2020 Share Posted April 9, 2020 the problem appears to be in the PayPal plugin. if you go to https://yourdomain.com/module/paypal/tlscurltestserver If it's simply 'ok' with no spaces before or after it. no problem, all is OK. If there are spaces..... it fails. In /modules/paypal/classes/AdminPayaPalController.php replace if ($response != 'ok') { with if (trim($response) != 'ok') { Link to comment Share on other sites More sharing options...
ANGELO Vintage Posted April 21, 2020 Share Posted April 21, 2020 On 4/9/2020 at 9:01 PM, Goof Ball said: the problem appears to be in the PayPal plugin. if you go to https://yourdomain.com/module/paypal/tlscurltestserver If it's simply 'ok' with no spaces before or after it. no problem, all is OK. If there are spaces..... it fails. In /modules/paypal/classes/AdminPayaPalController.php replace if ($response != 'ok') { with if (trim($response) != 'ok') { that not solve the problem Link to comment Share on other sites More sharing options...
202ecommerce Posted April 22, 2020 Share Posted April 22, 2020 Hello ! Thank you for your message and your suggestions Goof Ball. We will add this fix to the version 5.1.3 of the module. ANGELO Vintage Could you please contact our support team. We will be happy to help you. Best regards, Link to comment Share on other sites More sharing options...
John Overby Posted August 23, 2020 Share Posted August 23, 2020 (edited) I'm using the 3.14.2 module, and also gets this "TLS version is not compatible" message. But that's not all. When the module is active, I get this "site not secure" and a orange triangle on the lock in the browser. (see attached picture) I've tested the site at https://www.ssllabs.com/ssltest/, and it runs TLS ver 1.3 and everything else seems OK. Any suggestions will be of great value. TIA Edited August 23, 2020 by John Overby Wrong spelling (see edit history) Link to comment Share on other sites More sharing options...
SwissGroove Posted August 23, 2020 Share Posted August 23, 2020 7 hours ago, John Overby said: But that's not all. When the module is active, I get this "site not secure" and a orange triangle on the lock in the browser. (see attached picture) On which URL? This should be related to Mixed Content. You can check the URL on https://www.whynopadlock.com/ to see which element causes the issue in order to fix it. Link to comment Share on other sites More sharing options...
John Overby Posted August 31, 2020 Share Posted August 31, 2020 On 8/23/2020 at 10:40 PM, SwissGroove said: On which URL? This should be related to Mixed Content. You can check the URL on https://www.whynopadlock.com/ to see which element causes the issue in order to fix it. Should have added the URL, but here it is: https://xn--butikkenvedhjen-hub.dk/dir/da/ this URL cannot be tested with the NoPadLock page, but if i use the original https://www.butikkenvedhøjen.dk/dir/da I get the attached result. The main page this Prestashop resides on, have no problem with the https. https://www.butikkenvedhøjen.dk Thanks for your effort so far. Link to comment Share on other sites More sharing options...
SwissGroove Posted August 31, 2020 Share Posted August 31, 2020 Hi, I can see 3 URL's in the source code of your page starting with http:// instead of httpS:// which causes mixed content. http://xn--butikkenvedhjen-hub.dk/dir/http://xn--butikkenvedhjen-hub.dk/dir/da/stores http://www.butikkenvedhøjen.dk/dir/cookies.html You should check your website files or editor to see where these URL's are exactly added. Then change the URL's to httpS:// Link to comment Share on other sites More sharing options...
John Overby Posted September 4, 2020 Share Posted September 4, 2020 Well so far I have located the last two links and corrected them. I am in doubt regarding the first link http://xn--butikkenvedhjen-hub.dk/dir/, which seems to be the link to the whole Prestashop. Could you please direct me to where I can find it. I have tested the site again. Thanks for you effort so far. Link to comment Share on other sites More sharing options...
John Overby Posted September 4, 2020 Share Posted September 4, 2020 Link to comment Share on other sites More sharing options...
SwissGroove Posted September 4, 2020 Share Posted September 4, 2020 Hi, it's related to your header logo: <a id="header_logo" href="http://xn--butikkenvedhjen-hub.dk/dir/" title="Butikken ved højen"> Link to comment Share on other sites More sharing options...
John Overby Posted September 5, 2020 Share Posted September 5, 2020 I finally found it and corrected it. THX. Unfortunately, TLS is still not compatible, and my site is still not secure. ? But thanks for the effort 😀 I did correct quite a few errors Link to comment Share on other sites More sharing options...
SwissGroove Posted September 5, 2020 Share Posted September 5, 2020 21 hours ago, John Overby said: I finally found it and corrected it. THX. Unfortunately, TLS is still not compatible, and my site is still not secure. ? But thanks for the effort 😀 I did correct quite a few errors Strange about the Mixed content, still displaying the same last URL when debugging. Did you clear the cache after the changes? Regarding TLS you could try what 202ecommerce said ealier in this topic: On 8/23/2019 at 10:55 AM, 202ecommerce said: Could you check if you are using a correct version of cURL. Please update your cURL extension to version 7.34.0 or higher of it is not the case. If you still have a problem please contact ou support team via PrestaShop Addons. Link to comment Share on other sites More sharing options...
John Overby Posted September 5, 2020 Share Posted September 5, 2020 I have cleared the cache, but to no avail. But I have no idea how to update my cURL extension, or even to see what version I`m running now. Any help will be appriciated. TIA Link to comment Share on other sites More sharing options...
reklamkapan Posted December 18, 2020 Share Posted December 18, 2020 hi guys i want to write somthing for this issue, firstly you check curl settings yo can check enter olivierbellone/tls_test.php from github https://gist.github.com/olivierbellone/9f93efe9bd68de33e9b3a3afbd3835cf. then script run from prowser after upload server example .....com/x.php you can give a result like below: Quote OS: Linux uname: Linux blablablalllll x86_64 PHP version: 7.2.31 curl version: 7.38.0 SSL version: OpenSSL/1.0.1t SSL version number: 0 OPENSSL_VERSION_NUMBER: 1000114f TLS test (default): TLS 1.2 TLS test (TLS_v1): TLS 1.2 TLS test (TLS_v1_2): TLS 1.2 so if requirement is done your paypal module is run. if your website in manintance you must switch or you must add server ip to Maintenance IP . because paypal tsl check function runnin your server ex: https://domain.com/module/paypal/tlscurltestserver so request going manintace site, so no any result coming instead paypal run. my english is very bad so i am sorry thank u friends u be good.. 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