Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Release Version 1.2.3.0

Compare
Choose a tag to compare
@sixer1182 sixer1182 released this 21 Oct 07:04
· 409 commits to master since this release
05ba1ca

Added

  • An example for Prepayment payment method.
  • An example for Invoice payment method.
  • Charge methods getCancelledAmount and getTotalAmount.
  • 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 its customerId was set.

Changed

  • Replaced unreliable Payment::cancel() method with Payment::cancelAmount() which takes multiple cancellation scenarios into account.
  • Replaced ApiResponseCodes::API_ERROR_AUTHORIZE_ALREADY_CANCELLED with ApiResponseCodes::API_ERROR_ALREADY_CANCELLED.
  • Replaced ApiResponseCodes::API_ERROR_CHARGE_ALREADY_CHARGED_BACK with ApiResponseCodes::API_ERROR_ALREADY_CHARGED_BACK.
  • Add deprecation notice for Payment::cancelAllCharges and Payment::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.