CheckoutViewController
andCheckoutViewControllerDelegate
have been replaced withCheckoutController
andCheckoutControllerDelegate
.CheckoutViewControllerCardScanDelegate
has been replaced withCardScanDelegate
.AppearanceConfiguration
has been replaced withAppearance
, and now offers much more customization options.PaymentRequest
andPaymentRequestDelegate
have been replaced withPaymentController
andPaymentControllerDelegate
.- You'll no longer need to handle the return of a redirect in either
CheckoutControllerDelegate
/PaymentControllerDelegate
. Instead, invokeAdyen.applicationDidOpen(_:)
inUIApplicationDelegate.application(_:open:options:)
. - The separate delegate method in
PaymentControllerDelegate
to return payment details has been removed. Instead, fill in thedetails
property of the payment method before returning it inPaymentControllerDelegate.selectPaymentMethod(from:paymentController:selectionHandler:)
,
AppearanceConfiguration
has changed from a class to a struct.- The
checkoutButtonTitleTextAttributes
,checkoutButtonTitleEdgeInsets
andcheckoutButtonCornerRadius
properties onAppearanceConfiguration
have been deprecated. They are replaced bycheckoutButtonType
, which allows you to pass in a custom button type.
- The
Error.canceled
case has been renamed toError.cancelled
. - The deprecated
Error.message
case has been removed.