diff --git a/MangoPay/Libraries/HttpCurl.php b/MangoPay/Libraries/HttpCurl.php index 02c75e08..a6fdbb3c 100644 --- a/MangoPay/Libraries/HttpCurl.php +++ b/MangoPay/Libraries/HttpCurl.php @@ -44,8 +44,6 @@ private function BuildRequest(RestTool $restTool) curl_setopt($this->_curlHandle, CURLOPT_CONNECTTIMEOUT, $this->GetCurlConnectionTimeout()); curl_setopt($this->_curlHandle, CURLOPT_TIMEOUT, $this->GetCurlResponseTimeout()); - curl_setopt($this->_curlHandle, CURLOPT_RETURNTRANSFER, true); - if ($this->_root->Config->CertificatesFilePath == '') { curl_setopt($this->_curlHandle, CURLOPT_SSL_VERIFYPEER, false); } else {