SSL connect error

https://github.com/paypal/PayPal-PHP-SDK/issues/474
This commit is contained in:
tobeorla
2016-01-20 17:10:46 +01:00
parent 740f5bee98
commit 3b7f36c379

View File

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