Skip to content

Releases: unzerdev/php-sdk

3.10.0

01 Oct 10:12
e737aa5
Compare
Choose a tag to compare

Added

  • Add support for Linkpay v2.

Changed

  • Update paypage v2 styling parameter to match API changes.

3.9.0

18 Sep 13:15
c66f9f8
Compare
Choose a tag to compare

Changed

  • Update paypage v2 styling parameter to match API changes.
  • Add exemption types "scp" and "no_exemption".

3.8.0

30 Aug 07:53
40adefe
Compare
Choose a tag to compare

Support for Paypage v2 is added to SDK.

Added

  • Added athorization for Paypage v2.
  • Added \UnzerSDK\Unzer::createPaypage method to create Paypage v2.
  • Added \UnzerSDK\Unzer::fetchPaypageV2 to fetch payment status information for the given Paypage v2.

3.7.0

21 Jun 09:58
6908c82
Compare
Choose a tag to compare

Support for Click To Pay payment method is added to SDK.

Added

  • Added \UnzerSDK\Resources\PaymentTypes\ClickToPay payment method.
  • Added constant \UnzerSDK\Constants\ExemptionType::TRANSACTION_RISK_ANALYSIS for exemption type "tra".

3.6.0

16 Apr 15:10
498687f
Compare
Choose a tag to compare

Twint payment method is added to SDK.

Added

  • Added \UnzerSDK\Resources\PaymentTypes\Twint payment method.

3.5.0

08 Feb 11:23
818cb1f
Compare
Choose a tag to compare

Added

  • Add \UnzerSDK\Resources\PaymentTypes\Googlepay payment type.
  • Add Example for Google Pay.
  • Add PHP 8.3 version to composer.json

3.4.1

05 Dec 14:08
df721ca
Compare
Choose a tag to compare

Changed

  • Revert deprecation of \UnzerSDK\Resources\PaymentTypes\SepaDirectDebit.

Release 3.4.0

07 Nov 15:20
632ce4c
Compare
Choose a tag to compare

Added

  • Add \UnzerSDK\Resources\PaymentTypes\PaylaterDirectDebit payment type.
  • Add Example for Direct Debit payment type.
  • Add constants \UnzerSDK\Constants\CustomerRegistrationLevel for valid "registrationLevel" values. Relevant for setting riskData.
  • Add riskData to PaylaterInstallment example.
  • Add riskData to PaylaterInvoice example.
  • Add bank account information to \UnzerSDK\Resources\PaymentTypes\Sofort class.

Changed

  • Allow null for setters in \UnzerSDK\Traits\HasAccountInformation trait to avoid error when e.g. API response contains empty bic.
  • Apple Pay example: Moved merchant identifier to constant in _enableExamples.php where it can be configured.

Deprecated

  • \UnzerSDK\Resources\PaymentTypes\SepaDirectDebit, please use \UnzerSDK\Resources\PaymentTypes\PaylaterDirectDebit.
  • \UnzerSDK\Resources\PaymentTypes\SepaDirectDebitSecured, please use \UnzerSDK\Resources\PaymentTypes\PaylaterDirectDebit.

Release 3.3.0

04 Sep 12:59
2854951
Compare
Choose a tag to compare

Added

  • Chargeback transaction type.
    • Add class \UnzerSDK\Resources\TransactionTypes\Chargeback.
    • Add methods \UnzerSDK\Unzer::fetchChargeback and \UnzerSDK\Unzer::fetchChargebackById to fetch chargeback information.
  • Add \UnzerSDK\Resources\PaymentTypes\PayU payment type.
  • Add example for PayU payment type.

Release 3.2.0

05 Jul 14:19
c49dbb6
Compare
Choose a tag to compare

Added

  • Support for "Paylater Installment" payment type.
    • Add payment type "PaylaterInstallment"
    • Add \UnzerSDK\Unzer::fetchPaylaterInstallmentPlans method to get available installment plans.
  • Add "Paylater Installment" example.

Deprecated

  • \UnzerSDK\Resources\Payment::getCancellation, please use getCancellation method of \UnzerSDK\Resources\TransactionTypes\Charge or \UnzerSDK\Resources\TransactionTypes\Authorization instead, depending on your use-case.
  • \UnzerSDK\Resources\PaymentTypes\InstallmentSecured, will be replaced by \UnzerSDK\Resources\PaymentTypes\PaylaterInstallment in the future.

Changed

  • Remove test-only constants and functions from \UnzerSDK\Services\EnvironmentService and move them to \UnzerSDK\test\Helper\TestEnvironmentService.
  • \UnzerSDK\Unzer::fetchPayment() method no longer automatically fetches linked Paypage to avoid issues with expired payment pages.