| 1 |
2.5.0 |
| 2 |
----- |
| 3 |
|
| 4 |
- **NEW**: Remove classes and methods specific to customer |
| 5 |
- **NEW**: Add Authentication class for method specific to login and account permissions |
| 6 |
- **NEW**: Add a method to patch payment |
| 7 |
|
| 8 |
2.4.0 |
| 9 |
----- |
| 10 |
|
| 11 |
- **NEW**: Support for __isset magic method in resources. This should bring Twig support. |
| 12 |
(Thanks [](https://github.com/oservieresoservieres](https://github.com/oservieres](https://github.com/oservieres)) |
| 13 |
- **NEW**: Add a method to specify custom User-Agent products. |
| 14 |
|
| 15 |
2.3.0 |
| 16 |
----- |
| 17 |
|
| 18 |
- **NEW**: Support for Customer/Cards. (see official documentation) |
| 19 |
- **NEW**: Payment objects can now be aborted. |
| 20 |
|
| 21 |
``` |
| 22 |
$payment->abort(); |
| 23 |
``` |
| 24 |
|
| 25 |
- **Breaking change**: Drop *data* key in objects collections (e.g. list of payments/list of refunds): |
| 26 |
|
| 27 |
``` |
| 28 |
$payments = \Payplug\Payment::listPayments(); |
| 29 |
// $payment = $payments['data'][0]; // BEFORE |
| 30 |
$payment = $payments[0]; // NEW BEHAVIOR |
| 31 |
|
| 32 |
$refunds = \Payplug\Refund::listRefunds($payment); |
| 33 |
// $refund = $refunds['data'][0]; // BEFORE |
| 34 |
$refund = $refunds[0]; // NEW BEHAVIOR |
| 35 |
``` |
| 36 |
|
| 37 |
- **Breaking change**: Drop deprecated classes *PayPlugException* and *PayPlugServerException* (with two uppercase |
| 38 |
letters in **P**ay**P**lug). If you use **P**ay**p**lugException* and **P**ay**p**lugServerException* classes (with one |
| 39 |
uppercase letter in Payplug), you have nothing to do. |
| 40 |
- **NEW**: This library is now under MIT Licence (Issue #4). |