Page 1 of 1

TLS 1.2 - WorldPay and Opencart

Posted: Wed May 09, 2018 7:39 pm
by phpnewbie_oc

My question is does Opencart WorldPay Online Payments support TLS 1.2?
I received an email saying they are stopping the support of TLS 1.0 on WorldPay.
I don't want my new site to break, does anyone know anything about this?

Re: TLS 1.2 - WorldPay and Opencart

Posted: Thu May 10, 2018 7:57 pm
by ADD Creative
The Worldpay module should be fine as it doesn't restrict which SSL/TLS protocol should be used.

The issue you may have it that your hosting may not support TLS 1.2 via PHP cURL functions. You will need to ask your web host this.

Or you could try testing your hosting yourself by putting the code below in a .php file and accessing it. Remember to remove it afterwards.

Code: Select all

$ch = curl_init('');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = curl_exec($ch);

$json = json_decode($data);
echo $json->tls_version;