Starting on June 26, 2018, PayPal will be making changes that may impact your ability to accept any PayPal transactions, process credit card payments with PayPal, or access the funds in your PayPal Business account. Read More.
To confirm your server will make connections to the PayPal and Braintree APIs over TLS 1.2 we suggest creating the following PHP file on your server -
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://tlstest.paypal.com'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_SSLVERSION, 6); // CURL_SSLVERSION_TLSv1_2 $result = curl_exec($ch); echo 'result = '.$result."\n"; echo 'errno = '.curl_errno($ch). "\n"; echo 'error = '.curl_error($ch); curl_close($ch);
The expected response should be "PayPal_Connection_OK", if it is not you will need to take steps to update the PHP CURL extension in use on your server.