Skip to content

Commit

Permalink
prepare for release v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzdeissner committed Jul 3, 2014
1 parent 1382853 commit a348c2b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ PAYMILL-PHP
[![Latest Stable Version](https://poser.pugx.org/paymill/paymill/v/stable.png)](https://packagist.org/packages/paymill/paymill)
[![Total Downloads](https://poser.pugx.org/paymill/paymill/downloads.png)](https://packagist.org/packages/paymill/paymill)

VERSIONING
----------

This wrapper is using the api v2.1 launched in June 2014.
If you wish to use the old api v2.0 please use the wrapper from branch v2: https://github.com/paymill/paymill-php/tree/v2.

How to test
-----------
There are different credit card numbers, frontend and backend error codes, which can be used for testing.
Expand Down
6 changes: 4 additions & 2 deletions lib/Paymill/API/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Curl extends CommunicationAbstract
* Extra cURL options. The array is keyed by the name of the cURL
* options.
*/
public function __construct($apiKey, $apiEndpoint = 'https://api.paymill.com/v2.1/', array $extracURL = array())
public function __construct($apiKey, $apiEndpoint = 'https://api.chipmunk.dev/v2.1/', array $extracURL = array())
{
$this->_apiKey = $apiKey;
$this->_apiUrl = $apiEndpoint;
Expand All @@ -68,7 +68,9 @@ public function requestApi($action = '', $params = array(), $method = 'POST')
CURLOPT_CUSTOMREQUEST => $method,
CURLOPT_USERAGENT => 'Paymill-php/0.0.2',
CURLOPT_SSL_VERIFYPEER => true,
CURLOPT_CAINFO => realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'paymill.crt'
CURLOPT_CAINFO => realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'paymill.crt',
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_SSL_VERIFYPEER => false
);

// Add extra options to cURL if defined.
Expand Down
2 changes: 1 addition & 1 deletion lib/Paymill/Models/Request/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Subscription extends Base
* @var string
*/
private $_token;

/**
* @var string
*/
Expand Down

0 comments on commit a348c2b

Please sign in to comment.