php - CURL TLS 1.2 and paypal invalid response -


i've tried pass ipn paypal support tls 1.2, answer invalid used https://github.com/paypal/tls-update

string(51) "problem ssl ca cert (path? access rights?)" debug information: ########### curl version: { "version_number": 463623,      "age": 3, "features": 1597,      "ssl_version_number": 0, "version": "7.19.7",      "host": "x86_64-redhat-linux-gnu",      "ssl_version": "nss\/3.21 basic ecc",      "libz_version": "1.2.3",      "protocols": [               "tftp", "ftp", "telnet",               "dict", "ldap", "ldaps", "http",                "file", "https", "ftps", "scp", "sftp"         ] } 

this code:

$fp = curl_init();         curl_setopt($fp, curlopt_url,$url);         curl_setopt($fp, curlopt_returntransfer,true);         curl_setopt($fp, curlopt_ssl_verifypeer, 1);          curl_setopt($fp, curlopt_ssl_verifyhost, 1);         curl_setopt($fp, curlopt_post, 1);         curl_setopt($fp, curlopt_followlocation, true);         curl_setopt($fp, curlopt_failonerror, 1);         curl_setopt($fp, curlopt_sslversion, 6);          curl_setopt($fp, curlopt_postfields, $req);         curl_setopt($fp, curlopt_httpheader, array("content-type: application/x-www-form-urlencoded", "content-length: " . strlen($req)));         curl_setopt($fp, curlopt_verbose, 1);         curl_setopt($fp, curlopt_ssl_verifypeer, 1);         curl_setopt($fp, curlopt_timeout, 60); 

and response in sandbox:

    array (     [mc_gross] => 60.00     [protection_eligibility] => eligible     [address_status] => unconfirmed     [payer_id] => j8csu3rm7qcrl     [tax] => 0.00     [address_street] => calle sdsd 76993- 17469     [payment_date] => 02:26:52 nov 08, 2016 pst     [payment_status] => completed     [charset] => windows-1252     [address_zip] => 02001     [first_name] => rafael     [mc_fee] => 2.39     [address_country_code] => es     [address_name] => manuel alarcon     [notify_version] => 3.8     [custom] => paypal     [payer_status] => verified     [business] => busines@gmail.com     [address_country] => spain     [address_city] => albacete     [quantity] => 1     [verify_sign] => ahoho4-kgsw3.irct33czxovr3duazmpra2a2duu49aey5rczs6cwtmv     [payer_email] => perso@gmail.com     [txn_id] => 1sb252517c462560g     [payment_type] => instant     [last_name] => alarcon     [address_state] => albacete     [receiver_email] => busines@gmail.com     [payment_fee] =>      [receiver_id] => s2xrcppxetpbs     [txn_type] => web_accept     [item_name] => compra en kilutio el 08-11-2016 10:26:31     [mc_currency] => eur     [item_number] => 1478600791730832494     [residence_country] => es     [test_ipn] => 1     [handling_amount] => 0.00     [transaction_subject] =>      [payment_gross] =>      [shipping] => 0.00     [ipn_track_id] => 5dace8985cf64     [entorno] =>  ) [error]=>[response]=>invalid 

can me please?


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -