This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
Release Version 1.2.3.0
Added
- An example for
Prepayment
payment method. - An example for
Invoice
payment method. - Charge methods
getCancelledAmount
andgetTotalAmount
. - Authorize method
getCancelledAmount
. - Detailed
Keypair
fetch. - Added properties to
Keypair
resource.
Fixed
- A problem with
HeidelpayApiException.
- A problem which resulted in an error when trying to create a
Customer
implicitly with a transaction when itscustomerId
was set.
Changed
- Replaced unreliable
Payment::cancel()
method withPayment::cancelAmount()
which takes multiple cancellation scenarios into account. - Replaced
ApiResponseCodes::API_ERROR_AUTHORIZE_ALREADY_CANCELLED
withApiResponseCodes::API_ERROR_ALREADY_CANCELLED
. - Replaced
ApiResponseCodes::API_ERROR_CHARGE_ALREADY_CHARGED_BACK
withApiResponseCodes::API_ERROR_ALREADY_CHARGED_BACK
. - Add deprecation notice for
Payment::cancelAllCharges
andPayment::cancelAuthorization
- Adapted integration tests with basket to changes in API.
- Refactor deprecation notices.
- Refactored and extended unit tests.
- Test
Keypair
can now be set via environment variables.