Jump to content

Paypal TLS version is not compatible


WVW

Recommended Posts

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

 

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

  • 3 months later...
  • 3 months later...

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

  • 2 weeks later...
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

  • 4 months later...

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

usikker.jpg.e9b445e19470afd3c0078fc950c6766c.jpg

Edited by John Overby
Wrong spelling (see edit history)
Link to comment
Share on other sites

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.

padlock.jpg

Link to comment
Share on other sites

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

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

  • 3 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...