TLS 1.2 & HTTP/1.1 Integration For PayPal
$10-25 USD
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');
Project ID: #17232133
About the project
5 freelancers are bidding on average $22 for this job
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
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.
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