Minimum API version
We recommend you use Checkout API v67.
Backwards compatibility with earlier API versions is not fully tested - we would appreciate your feedback :)
Breaking changes
-
Makes
clientKey
required onPaymentMethodsConfiguration
. -
Removed
cancelHandler
from theapplePay
component. -
Drops support for iOS 10.0.
-
Made
paymentData
optional inRedirectAction
,ActionComponentData
andRedirectComponent
. -
RedirectComponent
requirespresentationDelegate
to present its UI. -
Adds a
PaymentMethod
object toDropInDelegate.didSubmit
, so you can identify which payment method is being submitted. -
Removed deprecated classes, functions, properties.
-
Renamed
DropInActionComponent
toAdyenActionComponent
and moved it to theAdyenActions
module. -
Refactored the SDK into a new module structure:
-
AdyenComponents
contains any payment component, for example QiwiWalletComponent, MBWayComponent, ApplePayComponent, and BLIKComponent. -
AdyenCard
contains any card payment related components, for example CardComponent, StoredCardComponent, and BCMCComponent. -
AdyenActions
contains all action components, for example AwaitComponent, VoucherComponent, and RedirectComponent. -
AdyenEncryption
contains the encryption helpers. -
AdyenSwiftUI
contains SwiftUI related integration helpers, for exampleViewControllerPresenter
,ViewModifier
. -
AdyenDropIn
containsDropInComponent
. -
AdyenWeChatPay
contains the WeChat Pay component.
New
- The
ThreeDS2Component
supports the new 3D Secure flow from Checkout API v67. The old flow is still supported if you’re using an API version earlier than v67. DokuComponent
adds support for Indonesian bank transfers and cash payments at convenience stores through Doku Wallet, Doku Alfamart, and Doku Indomaret.VoucherComponent
handles actions for voucher payment flows, for example Doku Alfamart.- Adds support for stored payment details for BLIK.
- You can configure button border color and width using
ButtonStyle
.
Improvements
- Removed hard dependency on Checkout API versions pre 67.
- Allow the title for
DropIn
to be centered. - Allow custom image for the cancel button.
- Get Apple Pay supported networks from
/paymentMethods
response, and removeApplePayConfiguration.excludedCardNetworks
. - Improved accuracy for card brand detection.
- Added CVC length validation for the stored cards component.
- You can now use
CardEncryptor
to encrypt individual card fields, for example CVC or expiry month. - Refactored the Demo example apps (for UIKit and SwiftUI) to make it easier to follow.
Fixes
- Fixed
MBWayComponent
to show Portugal and Spain in the phone prefix drop down list of phone extensions. - Fixed a bug where gift card payment methods had a missing logo.
- Fixes localization warning when using Swift Package Manager.
- Swish redirects are now fixed by adding the
returnUrlQueryString
option toRedirectDetails
.
Note: Please refer to the migration guide for details about the breaking changes.