2017 © Pedro Peláez
 

library mobilepay

Luxplus implementation of MobilePay API Subscription 2.0.0.

image

luxplus/mobilepay

Luxplus implementation of MobilePay API Subscription 2.0.0.

  • Tuesday, May 29, 2018
  • by Shawnley
  • Repository
  • 3 Watchers
  • 2 Stars
  • 2,197 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 13 % Grown

The README.md

MobilePay

  • 7th July, (*1)

    • Initial Luxplus implementation of MobilePay Subscription API 1.1.1.
  • 10th August:, (*2)

    • Implementation of MobilePay Subscription API 1.2.6 - Refunds. 2 new methods: getRefunds() and postRefunds().
  • 11th August:, (*3)

    • Fixed bug in path from /recurringpayments-restapi/api/ to /subscriptions/api/ for Refunds.
  • 14th August:, (*4)

    • Fixed bug in the CreateRefundRequest toJSON() method.
    • Implemented links-parameter in CreateOnOffPaymentRequest.
  • 23rd August:, (*5)

    • Changed path from /recurringpayments-restapi/api/ to /subscriptions/api/ across the board.
  • 18th September:, (*6)

    • Updated MobilePay Subscription API to use 2.0.0
    • Implemented postPaymentRequestsBatch() method, which takes an array of CreatePaymentRequest instances.
    • Changed the postPaymentRequests() method to accept an instance of CreatePaymentRequest OR an array of CreatePaymentRequest (it calls postPaymentRequestsBatch() regardless).
    • Removed the abstract method toJSON() in the abstract class Request and replaced it with the JsonSerializable interface. The jsonSerialize() method returns an array instead of a json encoded string.
    • Added the following exception classes:
      • MobilePayException extends Exception
      • PreconditionFailedException extends MobilePayException
      • NotFoundException extends MobilePayException
      • InternalServerErrorException extends MobilePayException
      • IdNotProvidedException extends MobilePayException
      • BadRequestException extends MobilePayException
      • CurlException Extends Exception
    • Rewrote the error handling code with proper exceptions and error messages in the MobilePayConnection class connect() method and a few other places.
    • Added ErrorResponse class to better handle the HTTP code response errors.
    • Added possibility to supply correlation id with a call.
    • Added a createGUID() method in MobilePaySubscriptionClient to use for the correlation id.
  • 27th December:, (*7)

    • Fixed bug in MobilePayConnection post()-method introduced in the update from the 18th September. Introduced by postPaymentRequestsBatch.
  • 23rd April 2018, (*8)

    • Fixed issue in ErrorResponse and added a getFullResponse() method for logging purposes.
  • 28th April 2018
    • Fixed HttpResponseException bug.
  • 29th May 2018
    • The createSimpleInstance-method now instantiates with expirationTimeoutMinutes of 2 weeks instead of 5 minutes.
    • Removed unused dependencies.

The Versions

29/05 2018

dev-master

9999999-dev

Luxplus implementation of MobilePay API Subscription 2.0.0.

  Sources   Download

BSD-3-Clause proprietary

The Requires

 

The Development Requires

by Nikolaj Gammelmark

27/12 2017

v1.2.5

1.2.5.0

Luxplus implementation of MobilePay API Subscription 2.0.0.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Nikolaj Gammelmark

18/09 2017

v1.2.4

1.2.4.0

Luxplus implementation of MobilePay API Subscription 1.1.1

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Nikolaj Gammelmark

23/08 2017

v1.2.3

1.2.3.0

Luxplus implementation of MobilePay API Subscription 1.1.1

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Nikolaj Gammelmark

14/08 2017

v1.2.2

1.2.2.0

Luxplus implementation of MobilePay API Subscription 1.1.1

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Nikolaj Gammelmark

14/08 2017

v1.2.1

1.2.1.0

Luxplus implementation of MobilePay API Subscription 1.1.1

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Nikolaj Gammelmark

11/08 2017

v1.2

1.2.0.0

Luxplus implementation of MobilePay API Subscription 1.1.1

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Nikolaj Gammelmark

10/08 2017

v1.1

1.1.0.0

Luxplus implementation of MobilePay API Subscription 1.1.1

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Nikolaj Gammelmark

07/07 2017

v1.0

1.0.0.0

Luxplus implementation of MobilePay API Subscription 1.1.1

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Nikolaj Gammelmark