Can't process payment, failed setting cipher list: TLSv1:TLSv1.2

NickND
Contributor
Contributor

Tring process payment via credit card, on localhost, all works and all ok, but on live host I get this error:

PayPalConnectionException: failed setting cipher list: TLSv1:TLSv1.2 in PayPal/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php:181

 

used this library https://github.com/paypal/PayPal-PHP-SDK

Curl_version:

"version_number": 467712,
    "age": 3,
    "features": 50877,
    "ssl_version_number": 0,
    "version": "7.35.0",
    "host": "x86_64-pc-linux-gnu",
    "ssl_version": "OpenSSL\/1.0.1",
    "libz_version": "1.2.3.4",
    "protocols": [
        "dict",
        "file",
        "ftp",
        "ftps",
        "gopher",
        "http",
        "https",
        "imap",
        "imaps",
        "ldap",
        "ldaps",
        "pop3",
        "pop3s",
        "rtmp",
        "rtsp",
        "smtp",
        "smtps",
        "telnet",
        "tftp"
    ]

 

Tried this test 

https://github.com/paypal/TLS-update#php

it's return 

PayPal_Connection_OK

 Help please fix this issue, thanks.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.