Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
Open Shop TLS v1.2 for Paypal
« previous
next »
Print
Pages: [
1
]
Author
Topic: Open Shop TLS v1.2 for Paypal (Read 6202 times)
datahell
Elxis Team
Hero Member
Posts: 10358
Open Shop TLS v1.2 for Paypal
«
on:
April 10, 2018, 20:12:34 »
If you use
component Open Shop
and
Paypal
for payments then you MUST follow the instructions I provide below!
In June 2018 Paypal switches from TLS v1.1 to version
1.2
. This means that your server must support OpenSSL at least of version 1.0.1c. But this is an other topic.
One small change is required in an open shop file in order IPN requests to use TLS v1.2 instead of v1.1. You can either download Open Shop, get that file and replace it in your system or open it with a text editor and do the changes I will write below.
The file is this one:
includes/pm/paypal/paypal.php
Open it and change these:
Change line
393
from this:
curl_setopt($ch, CURLOPT_SSLVERSION, 1);
to this:
curl_setopt($ch, CURLOPT_SSLVERSION, 6);
Change line
398
from this:
curl_setopt($ch, CURLOPT_SSLVERSION, 1);
to this:
curl_setopt($ch, CURLOPT_SSLVERSION, 6);
Go to line
401
:
} else {//no SSL certificate
Add below:
curl_setopt($ch, CURLOPT_SSLVERSION, 6);
That's it!
If you dont do this change on June 2018 Paypal IPN requests will stop working in your shop!
«
Last Edit: April 10, 2018, 20:14:27 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
rentasite
Elxis Community
Hero Member
Posts: 3282
Web Services
Re: Open Shop TLS v1.2 for Paypal
«
Reply #1 on:
May 02, 2018, 15:25:43 »
John, can these changes be done before June 2018? Or should we wait for Paypal's switch?
Logged
Rent a Site
|
Lelevose
datahell
Elxis Team
Hero Member
Posts: 10358
Re: Open Shop TLS v1.2 for Paypal
«
Reply #2 on:
May 03, 2018, 18:11:06 »
You can do them right now.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
Open Shop TLS v1.2 for Paypal