Checkout API version
We recommend using Checkout API v69.Step 1: Upgrade methods
Change the methods in your integration from the ones in the v4.10.1 or earlier column to the ones in v5.0.0 column:Step 2: Upgrade initializing Drop-in and Components
When initializing Drop-in or a Component, you must now pass an instance of AdyenContext. For example:Step 3: Update Components configuration
The configuration for a Component is now in a configuration object that corresponds to the Component type. For example, to style the Redirect Component:Step 4: Update payment methods configuration
The configuration for a payment method is now in a configuration object that corresponds to the payment method component. For example, to configure the Card Component:InstantPaymentComponent.
Apple Pay
ForApplePayComponent.Configuration.init() , the only parameters you can pass are merchantIdentifier and payment. All other Apple Pay configuration properties are now mutable.
Change the value of the payment property from the one in the v4.10.1 or earlier column to the one in v5.0.0 column::
Cards
The value for each of the following properties is now a strongly typed array of values from theCardType enum:
CardPaymentMethod.brandsStoredCardPaymentMethod.brandsStoredCardPaymentMethod.brand
Step 5: (Optional) Update Drop-in configuration
You must do this if your integration is a Drop-in integration. The configuration for Drop-in is now in aDropInComponent.Configuration() object. For example: