diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fd0f0f..cfadda6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ #Release Notes +##2.0.3 + +- Remove CURLOPT_CAINFO - path to Certificate Authority (CA) bundle +- Remove paymill.crt +- Change user agent info to "Paymill-Shopware/2.0.3" + ##2.0.2 - Fix checkout with iframe @@ -123,4 +129,4 @@ - Added ELV as a payment mean ##1.0.0 -- Initial release \ No newline at end of file +- Initial release diff --git a/Frontend/PaymPaymentCreditcard/lib/Services/Paymill/Apiclient/Curl.php b/Frontend/PaymPaymentCreditcard/lib/Services/Paymill/Apiclient/Curl.php index 6514410..8791be8 100644 --- a/Frontend/PaymPaymentCreditcard/lib/Services/Paymill/Apiclient/Curl.php +++ b/Frontend/PaymPaymentCreditcard/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-Shopware/2.0.3'; 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 +} diff --git a/Frontend/PaymPaymentCreditcard/lib/Services/Paymill/Apiclient/paymill.crt b/Frontend/PaymPaymentCreditcard/lib/Services/Paymill/Apiclient/paymill.crt deleted file mode 100644 index 20585f1..0000000 --- a/Frontend/PaymPaymentCreditcard/lib/Services/Paymill/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