library mobilepay
Luxplus implementation of MobilePay API Subscription 2.0.0.
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
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.
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
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
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
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
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
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
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
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
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