Skip to content

Commit cdcb5d6

Browse files
Remove cert binding (#2)
* Remove cert binding * Update Curl Agent info * Delete paymill.crt * Update CHANGELOG.md * Update config.xml * Update pigmbhpaymill.php
1 parent a55ce7e commit cdcb5d6

File tree

5 files changed

+10
-31
lines changed

5 files changed

+10
-31
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.3.0 - 2017-07-19
2+
* Remove CURLOPT_CAINFO - path to Certificate Authority (CA) bundle
3+
* Remove paymill.crt
4+
* Change user agent info to "Paymill-Prestashop/2.3.0"
5+
16
## 2.2.0 - 2015-07-21
27
* add ssl support for the payment form page
38
* Integration of PayFrame to enable use of SAQ A for easier PCI DSS 3.0 compliance
@@ -74,4 +79,4 @@
7479
* Added Feature: Backend-log
7580

7681
## 1.0.0 - 2013-03-14
77-
* initial Version
82+
* initial Version

config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<module>
33
<name>pigmbhpaymill</name>
44
<displayName><![CDATA[PAYMILL]]></displayName>
5-
<version><![CDATA[2.2.1]]></version>
5+
<version><![CDATA[2.3.0]]></version>
66
<description><![CDATA[PAYMILL credit card payments &amp;amp; direct debit]]></description>
77
<author><![CDATA[PayIntelligent GmbH]]></author>
88
<tab><![CDATA[payments_gateways]]></tab>

paymill/v2/lib/Services/Paymill/Apiclient/Curl.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Services_Paymill_Apiclient_Curl implements Services_Paymill_Apiclient_Inte
4747
*/
4848
private $_apiUrl = '/';
4949

50-
const USER_AGENT = 'Paymill-php/0.0.2';
50+
const USER_AGENT = 'Prestashop/2.3.0';
5151

5252
public static $lastRawResponse;
5353
public static $lastRawCurlOptions;
@@ -124,7 +124,6 @@ protected function _requestApi($action = '', $params = array(), $method = 'POST'
124124
CURLOPT_CUSTOMREQUEST => $method,
125125
CURLOPT_USERAGENT => self::USER_AGENT,
126126
CURLOPT_SSL_VERIFYPEER => true,
127-
CURLOPT_CAINFO => realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'paymill.crt',
128127
);
129128

130129
if (Services_Paymill_Apiclient_Interface::HTTP_GET === $method) {
@@ -174,4 +173,4 @@ public function getResponse()
174173
return $this->_responseArray;
175174
}
176175

177-
}
176+
}

paymill/v2/lib/Services/Paymill/Apiclient/paymill.crt

Lines changed: 0 additions & 25 deletions
This file was deleted.

pigmbhpaymill.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct()
4545
{
4646
$this->name = 'pigmbhpaymill';
4747
$this->tab = 'payments_gateways';
48-
$this->version = '2.2.1';
48+
$this->version = '2.3.0';
4949
$this->author = 'PAYMILL GmbH';
5050
$this->need_instance = 1;
5151
$this->currencies = true;

0 commit comments

Comments
 (0)