Skip to content

Releases: unzerdev/php-sdk

4.0.0

02 Mar 13:07
fc760fd

Choose a tag to compare

Added

  • Add company field to \UnzerSDK\Resources\EmbeddedResources\Address class.
  • Add PHP 8.5 to supported versions in composer.json.

Changed

  • Allow null return for getCompany() in \UnzerSDK\Resources\EmbeddedResources\Address.
  • Remove deprecated curl_close and \ReflectionMethod::setAccessible calls to address PHP 8.5 deprecation warnings.
  • Drop support for PHP 7.4 and PHP 8.0.

Deprecated

  • Mark \UnzerSDK\Resources\PaymentTypes\Giropay as deprecated.

3.15.0

12 Feb 14:49
731eca0

Choose a tag to compare

Added

  • Add the SCA (Strong Customer Authentication) transaction type.
    • Add class \UnzerSDK\Resources\TransactionTypes\Sca.
    • Add methods in \UnzerSDK\Unzer class:
      • performSca(Sca $sca, $paymentType, $customer = null, ?Metadata $metadata = null, ?Basket $basket = null): Sca -
        Perform an SCA transaction.
      • fetchSca(Sca $sca): Sca - Fetch an SCA transaction.
      • fetchScaById($payment, string $scaId): Sca - Fetch an SCA transaction by ID.
      • chargeScaTransaction($payment, Charge $charge, $customer = null, ?Metadata $metadata = null, ?Basket $basket = null): Charge -
        Perform Charge on an SCA transaction.
      • authorizeScaTransaction($payment, Authorization $authorization, $customer = null, ?Metadata $metadata = null, ?Basket $basket = null): Authorization -
        Perform Authorize on an SCA transaction.
    • Add methods in \UnzerSDK\Resources\Payment class:
      • getSca(bool $lazy = false): ?Sca - Get the SCA transaction.

3.14.0

09 Jan 09:52
f5ded41

Choose a tag to compare

  • Add subscriptionAgreement property for v2 Paypage creation to \UnzerSDK\Resources\EmbeddedResources\Paypage\Urls

3.13.2

21 Oct 09:16
5156e22

Choose a tag to compare

Changed

  • Added chargeback handling for fetchResourceFromEvent() method.

3.13.1

23 Sep 14:23
0a26d70

Choose a tag to compare

Added

  • Added support for payment method Wero.

3.13.0

10 Jul 14:32
7e78dc1

Choose a tag to compare

Changed

  • Ensure type hints of nullable function parameters are explicitly defined as such to address deprecation warnings.
  • Change paypage v2 test domain ending from ".io" to ".com".

3.12.0

25 Apr 09:19
bc6d5d5

Choose a tag to compare

  • Add Styling properties for v2 Paypage \UnzerSDK\Resources\V2\Paypage:
    • basketBackgroundColor
    • paymentFormBackgroundColor
  • Add prototypes for v2 Customer: \UnzerSDK\Resources\V2\Customer.
  • Add prototypes for v3 Basket: \UnzerSDK\Resources\V3\Basket.

3.11.0

09 Dec 09:31
274650b

Choose a tag to compare

Added

  • Add support for preauthorize transaction.
  • Enable PHP 8.4 in composer.json.
  • Add support for Open Banking payment method.

3.10.0

01 Oct 10:12
e737aa5

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

Choose a tag to compare

Changed

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