Adyen PHP API Library v28.0.0
·
74 commits
to main
since this release
What's Changed
Breaking Changes 🛠
Checkout API
- Remove `DotpayDetails` and `GiropayDetails`
- Remove enum `PAYSAFECARD` from `PaymentDetails`
Management API
- Remove
GiroPayInfo - Remove enum
PAYSHOPfromPaymentMethodResponse
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
supportEmailfield to theAfterpayTouchInfo - Add enum
PAYMENTDESIGNATORCONTRACTin JCBInfo - Add PayByBankPlaidInfo
- Add enum
PAYBYBANK_PLAIDin PaymentMethodResponse - Add
domainSuffixfield to Profile - In
SplitConfigurationRuleadd enumsCHARGED,DEFERRED_DEBITandPREPAID(#1457) - Add
enableGratuitiesto 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 ⛑️
- Remove invalid PHPDoc tag @description by @gcatanese in #764
- Correct PosSdk (PosMobileService) LIVE url by @gcatanese in #760
- Add a new configuration for HTTP client to set
CURLOPT_CONNECTTIMEOUTand defines default values by @candemiralp in #756
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
- Add close-issue-label flag to correctly label closed issues by @DjoykeAbyah in #750
- Add bug and feature GitHub issue form by @ayodejidev in #744
- Add nullable return types to API mustache templates by @ayodejidev in #748
- Improve PHP CI workflow by @ayodejidev in #753
- Import Guzzle utils by @szepeviktor in #720
- Vulnerability fix: set workflow permissions by @gcatanese in #765
- Generate Checkout models by @gcatanese in #761
- Generate models for LEM/Transfers/BalanceControl/BalancePlatform by @gcatanese in #763
- Generate models for Payment Classic/Payout/Management/Recurring APIs by @gcatanese in #762
Full Changelog: v27.0.0...v28.0.0