> ## Documentation Index
> Fetch the complete documentation index at: https://adyen-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrade the Plugin

> We recommend that you upgrade when we have a major release, such as [10.

We recommend that you upgrade when we have a major release, such as [10.0.0](https://adyen-preview.mintlify.site/plugins/release-notes.md).

We do not provide support for plugin versions earlier than [9.0.0](https://adyen-preview.mintlify.site/plugins/release-notes.md).

To stay up to date on the released fixes and features, subscribe to our [releases on GitHub](https://github.com/Adyen/adyen-magento2/releases).

The integration effort involved in upgrading depends on whether you have made any customizations to the plugin.

There are different steps to follow for:

* [Default integration](#default-integration)
* [Customized Integration](#customized-integration)

## Default Integration

1. In your command-line tool, go to the Adobe Commerce project root directory.

2. Run the following command:

   ```bash theme={null}
     composer require adyen/module-payment:VERSION_TO_UPGRADE
   ```

   For example, running `composer require adyen/module-payment:10.0.0` will upgrade the plugin to v10.0.0.

3. Run the database migration scripts:
   ```bash theme={null}
     bin/magento setup:upgrade
   ```

4. Clear the cache:
   ```bash theme={null}
     bin/magento cache:flush
   ```

## Customized Integration

1. Extract any custom code you have added to the plugin.

2. In your command-line tool, go to the Adobe Commerce project root directory.

3. Run the following command:

   ```bash theme={null}
     composer require adyen/module-payment:VERSION_TO_UPGRADE
   ```

   For example, running `composer require adyen/module-payment:10.0.0` will upgrade the plugin to v10.0.0.

4. Run the database migration scripts:
   ```bash theme={null}
     bin/magento setup:upgrade
   ```

5. Clear the cache:
   ```bash theme={null}
     bin/magento cache:flush
   ```

6. Check if the custom code is compatible with the new version and apply any changes if needed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.