From d1c99654efb9a6fb254c7f7ad7405d675edf921e Mon Sep 17 00:00:00 2001 From: Tschela Baumann Date: Tue, 23 May 2017 12:14:13 +0200 Subject: [PATCH] Remove certificate authority info --- paymill/lib/Services/Paymill/Apiclient/Curl.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/paymill/lib/Services/Paymill/Apiclient/Curl.php b/paymill/lib/Services/Paymill/Apiclient/Curl.php index 6514410..ca8caf2 100644 --- a/paymill/lib/Services/Paymill/Apiclient/Curl.php +++ b/paymill/lib/Services/Paymill/Apiclient/Curl.php @@ -33,7 +33,7 @@ class Services_Paymill_Apiclient_Curl implements Services_Paymill_Apiclient_Inte */ private $_apiUrl = '/'; - const USER_AGENT = 'Paymill-php/0.0.2'; + const USER_AGENT = 'Paymill-Opencart/1.6.1'; public static $lastRawResponse; public static $lastRawCurlOptions; @@ -109,8 +109,7 @@ protected function _requestApi($action = '', $params = array(), $method = 'POST' CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => $method, CURLOPT_USERAGENT => self::USER_AGENT, - CURLOPT_SSL_VERIFYPEER => true, - CURLOPT_CAINFO => realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'paymill.crt', + CURLOPT_SSL_VERIFYPEER => true ); if (Services_Paymill_Apiclient_Interface::HTTP_GET === $method) { @@ -160,4 +159,4 @@ public function getResponse() return $this->_responseArray; } -} \ No newline at end of file +}