Releases: unzerdev/php-sdk
Releases · unzerdev/php-sdk
3.10.0
3.9.0
Changed
- Update paypage v2 styling parameter to match API changes.
- Add exemption types "scp" and "no_exemption".
3.8.0
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
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
Twint payment method is added to SDK.
Added
- Added
\UnzerSDK\Resources\PaymentTypes\Twint
payment method.
3.5.0
Added
- Add
\UnzerSDK\Resources\PaymentTypes\Googlepay
payment type. - Add Example for Google Pay.
- Add PHP 8.3 version to composer.json
3.4.1
Changed
- Revert deprecation of
\UnzerSDK\Resources\PaymentTypes\SepaDirectDebit
.
Release 3.4.0
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
Added
- Chargeback transaction type.
- Add class
\UnzerSDK\Resources\TransactionTypes\Chargeback
. - Add methods
\UnzerSDK\Unzer::fetchChargeback
and\UnzerSDK\Unzer::fetchChargebackById
to fetch chargeback information.
- Add class
- Add
\UnzerSDK\Resources\PaymentTypes\PayU
payment type. - Add example for PayU payment type.
Release 3.2.0
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 usegetCancellation
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.