TLS 1.2 & HTTP/1.1 Integration For PayPal

Closed Posted 5 years ago Paid on delivery
Closed Paid on delivery

For your site to continue to be able to communicate with PayPal, you need to set your version of cURL to explicitly use the TLS 1.2 protocol. Setting this version prior to PayPal’s TLS 1.2 rollout should not impact current communications with PayPal.

Here’s a code gist for setting the SSLVERSION for cURL that we will continue to develop and improve over time. Copy this code into your active theme’s [login to view URL] file or a custom plugin.

/*

Update the SSLVERSION for CURL to support PayPal Express moving to TLS 1.2

More info: [login to view URL]

Your server will need to be updated to a supported version of OpenSSL for this to work.

Add this code to your active theme's [login to view URL] or a custom plugin.

*/

function my_http_api_curl($handle) {

curl_setopt( $handle, CURLOPT_SSLVERSION, 6 );

}

add_action('http_api_curl', 'my_http_api_curl');

JavaScript MySQL PayPal API PHP Software Architecture

Project ID: #17232133

About the project

5 proposals Remote project Active 5 years ago

5 freelancers are bidding on average $22 for this job

GeorgeKazi

Hi! I read your project brief and the description matches similar work I have done in the past. I have 10 years experience coding with PHP. Please contact me as soon as possible so that I can outline a solution to y More

$25 USD in 1 day
(26 Reviews)
4.9
vanchien

Hi, This job is simple in PHP code but you need upgrade libraries on server also. If you need any clarification feel free to contact me via Chat. thank you.

$25 USD in 1 day
(6 Reviews)
2.2
mahdibahri

i can give you a full php code created By me + i will setup test account for you with an easy way to add many items + test then pay

$15 USD in 10 days
(1 Review)
0.0