Releases: unzerdev/php-sdk
Releases · unzerdev/php-sdk
4.0.0
Added
- Add
companyfield to\UnzerSDK\Resources\EmbeddedResources\Addressclass. - Add PHP 8.5 to supported versions in
composer.json.
Changed
- Allow
nullreturn forgetCompany()in\UnzerSDK\Resources\EmbeddedResources\Address. - Remove deprecated
curl_closeand\ReflectionMethod::setAccessiblecalls to address PHP 8.5 deprecation warnings. - Drop support for PHP 7.4 and PHP 8.0.
Deprecated
- Mark
\UnzerSDK\Resources\PaymentTypes\Giropayas deprecated.
3.15.0
Added
- Add the SCA (Strong Customer Authentication) transaction type.
- Add class
\UnzerSDK\Resources\TransactionTypes\Sca. - Add methods in
\UnzerSDK\Unzerclass: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\Paymentclass:getSca(bool $lazy = false): ?Sca- Get the SCA transaction.
- Add class
3.14.0
- Add
subscriptionAgreementproperty for v2 Paypage creation to\UnzerSDK\Resources\EmbeddedResources\Paypage\Urls
3.13.2
Changed
- Added chargeback handling for
fetchResourceFromEvent()method.
3.13.1
Added
- Added support for payment method
Wero.
3.13.0
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
- Add Styling properties for v2 Paypage
\UnzerSDK\Resources\V2\Paypage:basketBackgroundColorpaymentFormBackgroundColor
- Add prototypes for v2 Customer:
\UnzerSDK\Resources\V2\Customer. - Add prototypes for v3 Basket:
\UnzerSDK\Resources\V3\Basket.
3.11.0
Added
- Add support for
preauthorizetransaction. - Enable PHP 8.4 in composer.json.
- Add support for Open Banking payment method.
3.10.0
Added
- Add support for Linkpay v2.
Changed
- Update paypage v2 styling parameter to match API changes.
3.9.0
Changed
- Update paypage v2 styling parameter to match API changes.
- Add exemption types "scp" and "no_exemption".