Skip to content

Releases: unzerdev/php-sdk

Enable PHP 8.0 compatibility

02 Jul 11:37
d094b9e
Compare
Choose a tag to compare

Added

  • Enable PHP 8.0 compatibility.
  • Allow PHPUnit version 8.x and 9.x in composer dev requirements and adjust tests accordingly.
  • Payment Page examples: Add missing customer information that are required for payment with Instalment (address, dob, salutation).

Changed

  • \UnzerSDK\Services\HttpService::handleErrors explicitly casts response code to int, to ensure same behavior on all PHP versions.
  • Several minor changes.

Introducing Apple Pay

05 May 10:01
6324a6c
Compare
Choose a tag to compare

Added

  • Introduce the payment type Applepay.

Changed

  • Examples:
    • Card Examples - Ensure that error messages are displayed just one time.
    • Configuration - Change default protocol to https.
    • Configuration - Correct vendor name of path constant UNZER_PAPI_FOLDER.
  • Update documentation links.

Version 1.1.1.1

15 Mar 09:52
39d4317
Compare
Choose a tag to compare

Fix

  • Change debug logging of failed tests that depend on another one to work as expected.
  • PayPal recurring example: Response handling changed to check the recurring status of the payment type.

Added

  • Extended testing for Instalment payment type.
  • Cards (extended) example using email UI element.

Changed

  • Remove PhpUnit 8 support.
  • Card recurring example using email UI element.
  • Card example and paypage examples use a dummy customer-email to ensure they work with 3ds2.
  • Several minor changes.

Add email property to card type

15 Dec 14:02
309f63b
Compare
Choose a tag to compare

Changed

  • Add email property to payment type card to meet 3Ds2.x regulations.
  • Several minor changes.

Rebranding to Unzer

10 Dec 15:04
521d308
Compare
Choose a tag to compare

This SDK replaces the heidelpay/heidelpayPHP, find the migration guide here.

Changed

  • Rebranding of the SDK.
  • Removed payment type string from URL when fetching a payment type resource.
  • Replace payment methods guaranteed/factoring by secured payment methods, i.e.:
    • InvoiceGuaranteed and InvoiceFactoring replaced by InvoiceSecured
    • SepaDirectDebitGuaranteed replaced by SepaDirectDebitSecured
    • HirePurchaseDirectDebit replaced by InstallmentSecured
    • Basket is now mandatory for all those payment types above.
  • Added mapping of old payment type ids to the new payment type resources.
  • Constant in \UnzerSDK\Constants\ApiResponseCodes got renamed:
    • API_ERROR_IVF_REQUIRES_CUSTOMER renamed to API_ERROR_FACTORING_REQUIRES_CUSTOMER.
    • API_ERROR_IVF_REQUIRES_BASKET renamed to API_ERROR_FACTORING_REQUIRES_BASKET.
  • Several minor changes.

Remove

  • Remove deprecated methods:
    • getAmountTotal
    • setAmountTotal
    • getCardHolder
    • setHolder
    • cancel
    • cancelAllCharges
    • cancelAuthorization
    • getResource
    • fetchResource
  • Remove deprecated constants:
    • API_ERROR_AUTHORIZE_ALREADY_CANCELLED
    • API_ERROR_CHARGE_ALREADY_CHARGED_BACK
    • API_ERROR_BASKET_ITEM_IMAGE_INVALID_EXTENSION
    • ENV_VAR_NAME_DISABLE_TEST_LOGGING