Skip to content

Adyen PHP API Library v28.0.0

Choose a tag to compare

@AdyenAutomationBot AdyenAutomationBot released this 26 May 07:17
· 74 commits to main since this release
4e7adb3

What's Changed

Breaking Changes 🛠

Checkout API

- Remove `DotpayDetails` and `GiropayDetails`
- Remove enum `PAYSAFECARD` from `PaymentDetails`

Management API

  • Remove GiroPayInfo
  • Remove enum PAYSHOP from PaymentMethodResponse

New Features 💎

Checkout API

* add support for `RakutenPay`
* Add `Surcharge` and `EnhancedSchemeData` (supporting Airline enhanced scheme data) in `PaymentRequest`
* Add `EnhancedSchemeData` (supporting Airline enhanced scheme data) in `PaymentCaptureRequest`
* Add `fraudRiskLevel` in `ResponseAdditionalDataCommon`
* Add enum `PAYSAFECARD` from `StoredPaymentMethodDetails`
* New Donation `type` field supporting the following values: `roundup`, `fixedAmounts`  

(Documentation)
* Added sub-merchant info:
- subMerchantPhoneNumber, subMerchantEmail
- Nested: subMerchant.subSeller[n].email, subMerchant.subSeller[n].phoneNumber
* Added bonus enum to CheckoutSessionInstallmentOption * add RequestedTestAcquirerResponseCodeinAdditionalDataCommon`

Payment Classic API

* Add `fraudRiskLevel` in `ResponseAdditionalDataCommon`

Payout API

* Add `fraudRiskLevel` in `ResponseAdditionalDataCommon`

Management API

  • Add supportEmail field to the AfterpayTouchInfo
  • Add enum PAYMENTDESIGNATORCONTRACT in JCBInfo
  • Add PayByBankPlaidInfo
  • Add enum PAYBYBANK_PLAID in PaymentMethodResponse
  • Add domainSuffix field to Profile
  • In SplitConfigurationRule add enums CHARGED, DEFERRED_DEBIT and PREPAID (#1457)
  • Add enableGratuities to the Standalone model

LEM API

* Add  attribute `allowDebugUi` in `OnboardingLinkSettings`to  debug user interface (UI) when applicable.

Transfers API

- Added `IssuingTransactionData` with `captureCycleId` that provides the captureCycleId associated with transfer event
* Add enum `DCCPLATFORMCOMMISSION` in `PlatformPayment`
* Add enum `PENDING`in `TransferData`
* Add attribute `externalReason` in `TransferData`
* Add `scaOnApproval` attribute in `TransferReview`

Fixes ⛑️

Other Changes 🖇️

  • Introduced a new HMAC troubleshooting utility for signature validation debugging (#754). The tool calculates the HMAC signature given the HMAC key and the payload:
cd tools/hmac
php tools/hmac/HMACValidatorPayments.php 1122334455AABBCCDDEEDFDFFSDS payload.json

Check the README

Full Changelog: v27.0.0...v28.0.0