Skip to main content
If your integration uses iOS v4.10.1 or before and you are upgrading it to use v5.0.0, make the following changes to your integration.

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:
In v5.9.0, iDEAL uses InstantPaymentComponent.

Apple Pay

For ApplePayComponent.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 the CardType enum:
  • CardPaymentMethod.brands
  • StoredCardPaymentMethod.brands
  • StoredCardPaymentMethod.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 a DropInComponent.Configuration() object. For example: