Benefits to upgrading
Read our release notes to learn about the benefits of upgrading.
To upgrade from Web Drop-in/Components v5.x.x to v6.x.x, complete the following steps.
If you are upgrading from an earlier version, you need to follow a different upgrade guide:
Required API version
Using Web Drop-in/Components v6.0.0 requires Checkout API v69 or later.
Step 1: Use the new package
Step 2: Upgrade import statements
Step 3: Upgrade your configuration
Make the following changes to your configuration properties:
countryCodeis now a mandatory configuration property. Set it during theAdyenCheckoutinitialization.- If you use the Sessions flow, you can also set
countryCodein the /sessions request.
- If you use the Sessions flow, you can also set
- The
setStatusAutomaticallyproperty is no longer used. To disable the Drop-in animation, setdisableFinalAnimationto true. - You can no longer set
installmentOptionsduring theAdyenCheckoutinstantiation. Set it directly in the Card configuration instead. - The
showBrandsUnderCardNumberproperty is no