--- title: "Upgrade the plugin" url: "https://docs.adyen.com/plugins/shopware-6/upgrade" source_url: "https://docs.adyen.com/plugins/shopware-6/upgrade.md" canonical: "https://docs.adyen.com/plugins/shopware-6/upgrade" last_modified: "2021-09-20T13:51:00+02:00" language: "en" --- # Upgrade the plugin We recommend that you upgrade when we have a major release, such as [3.0.0](/plugins/release-notes/?title%5B0%5D=Shopware%2B6\&version%5B0%5D=3.0.0). To stay up to date on the released fixes and features, subscribe to our [releases on GitHub](https://github.com/Adyen/adyen-shopware6/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 Shopware 6 project root directory. 2. Run the following command: ```bash composer require adyen/adyen-shopware6: VERSION_TO_UPGRADE ``` For example, running `composer require adyen/adyen-shopware6: 3.0.0` will upgrade the plugin to v3.0.0. 3. Run the database migration scripts: ```bash bin/console database:migrate --all AdyenPaymentShopware6 ``` 4. Run the update script: ```bash bin/console plugin:update AdyenPaymentShopware6 ``` ## Customized Integration 1. Extract any custom code you have added to the plugin. 2. In your command-line tool, go to the Shopware 6 project root directory. 3. Run the following command: ```bash composer require adyen/adyen-shopware6: VERSION_TO_UPGRADE ``` For example, running `composer require adyen/adyen-shopware6: 3.0.0` will upgrade the plugin to v3.0.0. 4. Run the database migration scripts: ```bash bin/console database:migrate --all AdyenPaymentShopware6 ``` 5. Run the update script: ```bash bin/console plugin:update AdyenPaymentShopware6 ``` 6. Check if the custom code is compatible with the new version and apply any changes if needed.