Skip to content

Commit

Permalink
Merge pull request #102 from tschelabaumann/nebula
Browse files Browse the repository at this point in the history
4.0.0
Added shipping and billing address
Added shopping cart (items)
Added PayPal functionality
Possible BC break in ResponseHandler.php
  • Loading branch information
christian-kolb committed Jun 15, 2015
2 parents 12d48d4 + fd06d05 commit 7905d35
Show file tree
Hide file tree
Showing 18 changed files with 1,534 additions and 317 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,20 @@ 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 in branch v2: https://github.com/paymill/paymill-php/tree/v2.

How to test
-----------
How to test cards and errors
----------------------------

There are different credit card numbers, frontend and backend error codes, which can be used for testing. For more information, please read our testing reference. https://www.paymill.com/en-gb/documentation-3/reference/testing/

How to run unit and integration tests
-------------------------------------
Just run:

```
ant test
```


Getting started with PAYMILL
----------------------------

Expand Down Expand Up @@ -140,6 +149,13 @@ Changelog

- bugfix: [#92](https://github.com/paymill/paymill-php/pull/92) remove typecheck for http response code

#### 4.0.0

- Added shipping and billing address
- Added shopping cart (items)
- Added PayPal functionality
- Possible [BC break in ResponseHandler.php](https://github.com/paymill/paymill-php/pull/102#discussion_r32232137)

Documentation
-------------

Expand Down
4 changes: 3 additions & 1 deletion lib/Paymill/API/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,15 @@ public function requestApi($action = '', $params = array(), $method = 'POST')
return $responseBody;
}

return array(
$result = array(
'header' => array(
'status' => $responseInfo['http_code'],
'reason' => null,
),
'body' => $responseBody
);

return $result;
}

/**
Expand Down
Loading

0 comments on commit 7905d35

Please sign in to comment.