Merge pull request #476 from tobeorla/patch-1

SSL connect error
This commit is contained in:
Jay
2016-01-20 23:01:28 +05:30

View File

@@ -19,7 +19,7 @@ class PayPalHttpConfig
* @var array * @var array
*/ */
public static $defaultCurlOptions = array( public static $defaultCurlOptions = array(
CURLOPT_SSLVERSION => 1, CURLOPT_SSLVERSION => 6,
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