Skip to content

Releases: payplug/payplug-php

Improve initialization and versionning API

23 Aug 12:36
72ad4b7

Choose a tag to compare

  • NEW: Deprecated Payplug::setSecretKey function, use Payplug::init instead.
  • NEW: API version should now be specified explicitly from module.
  • NEW: Improve Payplug setSecretKey with init method.
  • NEW: Excluded configuration API_VERSION versionning, it will be send from the apps nowadays.

PSD2 Compliance

04 Jul 10:35
97a948a

Choose a tag to compare

  • Major: Replace customer by shipping and billing to be compliant with PSD2.
  • New: Add versionning with new API_VERSION parameter.

Deferred payments

29 Apr 11:48
ddda4ce

Choose a tag to compare

  • New: Add deferred payments.

Installment plans

08 Feb 10:15
fdd1d09

Choose a tag to compare

  • New: Add installment plans.

2.5.1

26 Apr 15:39
b382d15

Choose a tag to compare

  • Bugfix: Fix packagist bundle.

2.5.0

04 Apr 10:59
d8e62d9

Choose a tag to compare

  • NEW: Add Authentication class for method specific to login and account permissions
  • NEW: Add a method to patch payment
  • NEW: Add a method to delete cards
  • Breaking change: Remove classes and methods specific to customer

2.4.0

07 Sep 13:05

Choose a tag to compare

  • NEW: Support for __isset magic method in resources. This should bring Twig support.
    (Thanks oservieres)
  • NEW: Add a method to specify custom User-Agent products.

V2.3.0

25 Apr 10:23

Choose a tag to compare

  • NEW: Support for Customer/Cards. (see official documentation)

  • NEW: Payment objects can now be aborted.

    $payment->abort();
    
  • Breaking change: Drop data key in objects collections (e.g. list of payments/list of refunds):

    $payments = \Payplug\Payment::listPayments();
    // $payment = $payments['data'][0]; // BEFORE
    $payment = $payments[0]; // NEW BEHAVIOR
    
    $refunds = \Payplug\Refund::listRefunds($payment);
    // $refund = $refunds['data'][0]; // BEFORE
    $refund = $refunds[0]; // NEW BEHAVIOR
    
  • Breaking change: Drop deprecated classes PayPlugException and PayPlugServerException (with two uppercase
    letters in PayPlug). If you use **P__ayplugException and **P__ayplugServerException classes (with one
    uppercase letter in Payplug), you have nothing to do.

  • NEW: This library is now under MIT Licence (Issue #4).

2.2.1: Merge pull request #3 from nilleroux/allow-tlsv10

09 Mar 09:38

Choose a tag to compare

Do not check OpenSSL version since TLS v1.0 is supported.