Skip to content

Releases: alma/alma-php-client

v1.3.0

01 Oct 07:37
Compare
Choose a tag to compare
  • Add P10x informations

v1.2.0

30 Jul 13:55
Compare
Choose a tag to compare
  • New eligibility v2 endpoint
  • Add customerTotalCostAmount, customerTotalCostBps in eligibility

v1.1.0

13 Mar 10:45
Compare
Choose a tag to compare
  • Add an option to depart from a legacy behaviour where the eligibility endpoint would not raise RequestErrors on 4xx
    and 5xx errors. The default is to keep the original behaviour so as not to break existing implementations.
    New implementations should call the endpoint with a second argument set to true and try/catch RequestError
    exceptions to better handle error cases with eligibility:
      try {
        $eligibility = $alma->payments->eligibility($data, true);
      } catch (RequestError $e) {
          // Handle errors
      }
  • Add fields and docs to the Payment entity
  • Add a Refund entity and extract refunds data within the Payment entity constructor
  • Add the feePlans endpoint to the merchants scope, so that one can fetch "fee plans" configured for their merchant
    account: $alma->merchants->feePlans(); — see function's docs for available options

v1.0.15

12 Feb 15:20
Compare
Choose a tag to compare
  • Add missing fields to Instalment entity

v1.0.14

01 Feb 17:30
Compare
Choose a tag to compare
  • Fix non-working code in the Orders endpoint & PaginatedResults class
  • Improve type hints
  • Fix compatibility with PHP versions older than 5.6

v1.0.13

06 Dec 14:39
Compare
Choose a tag to compare
  • Move LIVE_MODE & TEST_MODE constants into the Client class so that they're more easily addressable

v1.0.12

25 Nov 17:11
Compare
Choose a tag to compare
  • Fixes webhook signature computation (use url-safe base64 encoding)
  • Updates Webhook type constant name

v1.0.11

07 Jul 11:42
Compare
Choose a tag to compare
  • Adds endpoint to send payment link to customer via SMS

v1.0.10

30 Mar 22:10
Compare
Choose a tag to compare
  • Properly deserialize orders array in Payment entity
  • Documents Order entity fields
  • Adds endpoint to add an Order to a Payment

v1.0.9

09 Jan 16:32
Compare
Choose a tag to compare
  • Document usage of the lib without Composer & release a ready-to-use zip of the API client