forked from LiveCarta/PayPal-PHP-SDK
Updating Curl Options to use TLS version 1.x
- Bug fixes
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
----
|
----
|
||||||
|
|||||||
Reference in New Issue
Block a user