Updating Curl Options to use TLS version 1.x

- Bug fixes
This commit is contained in:
japatel
2014-10-15 11:20:06 -05:00
parent 89855f4624
commit 8e19366415
3 changed files with 4 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ class Item extends PPModel
* *
* *
* @param string $url * @param string $url
* @throws InvalidArgumentException * @throws \InvalidArgumentException
* @return $this * @return $this
*/ */
public function setUrl($url) public function setUrl($url)

View File

@@ -19,7 +19,7 @@ class PPHttpConfig
* @var array * @var array
*/ */
public static $defaultCurlOptions = array( public static $defaultCurlOptions = array(
CURLOPT_SSLVERSION => 3, CURLOPT_SSLVERSION => 1,
CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_RETURNTRANSFER => TRUE,
CURLOPT_TIMEOUT => 60, // maximum number of seconds to allow cURL functions to execute CURLOPT_TIMEOUT => 60, // maximum number of seconds to allow cURL functions to execute

View File

@@ -3,7 +3,9 @@ PayPal PHP SDK release notes
v0.13.1 v0.13.1
---- ----
* Enabled TLS version 1.x for SSL Negotiation
* Updated Identity Support from SDK Core * Updated Identity Support from SDK Core
* Fixed Backward Compatibility changes
v0.13.0 v0.13.0
---- ----