{"title":"Upgrade the plugin","category":"default","creationDate":1632138600,"content":"<p>We recommend that you upgrade when we have a major release, such as <a href=\"\/pt\/plugins\/release-notes\/?title%5B0%5D=Shopware%2B6&amp;version%5B0%5D=3.0.0\">3.0.0<\/a>.<\/p>\n<p>To stay up to date on the released fixes and features, subscribe to our <a href=\"https:\/\/github.com\/Adyen\/adyen-shopware6\/releases\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">releases on GitHub<\/a>.<\/p>\n<p>The integration effort involved in upgrading depends on whether you have made any customizations to the plugin.<\/p>\n<p>There are different steps to follow for:<\/p>\n<ul>\n<li><a href=\"#default-integration\">Default integration<\/a><\/li>\n<li><a href=\"#customized-integration\">Customized Integration<\/a><\/li>\n<\/ul>\n<h2 id=\"default-integration\">Default Integration<\/h2>\n<ol>\n<li>In your command-line tool, go to the Shopware 6 project root directory.<\/li>\n<li>Run the following command:\n<pre><code class=\"language-bash\">  composer require adyen\/adyen-shopware6: VERSION_TO_UPGRADE<\/code><\/pre>\n<p>For example, running <code>composer require adyen\/adyen-shopware6: 3.0.0<\/code> will upgrade the plugin to v3.0.0.<\/p><\/li>\n<li>Run the database migration scripts:\n<pre><code class=\"language-bash\">  bin\/console database:migrate --all AdyenPaymentShopware6<\/code><\/pre><\/li>\n<li>Run the update script:\n<pre><code class=\"language-bash\">  bin\/console plugin:update AdyenPaymentShopware6<\/code><\/pre><\/li>\n<\/ol>\n<h2 id=\"customized-integration\">Customized Integration<\/h2>\n<ol>\n<li>Extract any custom code you have added to the plugin.<\/li>\n<li>In your command-line tool, go to the Shopware 6 project root directory.<\/li>\n<li>Run the following command:\n<pre><code class=\"language-bash\">  composer require adyen\/adyen-shopware6: VERSION_TO_UPGRADE<\/code><\/pre>\n<p>For example, running <code>composer require adyen\/adyen-shopware6: 3.0.0<\/code> will upgrade the plugin to v3.0.0.<\/p><\/li>\n<li>Run the database migration scripts:\n<pre><code class=\"language-bash\">  bin\/console database:migrate --all AdyenPaymentShopware6<\/code><\/pre><\/li>\n<li>Run the update script:\n<pre><code class=\"language-bash\">  bin\/console plugin:update AdyenPaymentShopware6<\/code><\/pre><\/li>\n<li>Check if the custom code is compatible with the new version and apply any changes if needed.<\/li>\n<\/ol>","url":"https:\/\/docs.adyen.com\/pt\/plugins\/shopware-6\/upgrade","articleFields":{"feedback_component":true,"parameters":{"plugin_type":"plugin","github_url":"https:\/\/github.com\/Adyen\/adyen-shopware6\/releases","minimal_version":"","minimal_version_url":"","latest_major_version":"3.0.0","latest_major_version_path":"\/plugins\/release-notes\/?title[0]=Shopware+6&version[0]=3.0.0"},"last_edit_on":"20-09-2021 13:51"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/plugins\/shopware-6\/upgrade","title":"Upgrade the plugin","content":"We recommend that you upgrade when we have a major release, such as 3.0.0.\nTo stay up to date on the released fixes and features, subscribe to our releases on GitHub.\nThe integration effort involved in upgrading depends on whether you have made any customizations to the plugin.\nThere are different steps to follow for:\n\nDefault integration\nCustomized Integration\n\nDefault Integration\n\nIn your command-line tool, go to the Shopware 6 project root directory.\nRun the following command:\n  composer require adyen\/adyen-shopware6: VERSION_TO_UPGRADE\nFor example, running composer require adyen\/adyen-shopware6: 3.0.0 will upgrade the plugin to v3.0.0.\nRun the database migration scripts:\n  bin\/console database:migrate --all AdyenPaymentShopware6\nRun the update script:\n  bin\/console plugin:update AdyenPaymentShopware6\n\nCustomized Integration\n\nExtract any custom code you have added to the plugin.\nIn your command-line tool, go to the Shopware 6 project root directory.\nRun the following command:\n  composer require adyen\/adyen-shopware6: VERSION_TO_UPGRADE\nFor example, running composer require adyen\/adyen-shopware6: 3.0.0 will upgrade the plugin to v3.0.0.\nRun the database migration scripts:\n  bin\/console database:migrate --all AdyenPaymentShopware6\nRun the update script:\n  bin\/console plugin:update AdyenPaymentShopware6\nCheck if the custom code is compatible with the new version and apply any changes if needed.\n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Plugins","lvl2":"Shopware 6","lvl3":"Upgrade the plugin"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/plugins","lvl2":"https:\/\/docs.adyen.com\/pt\/plugins\/shopware-6","lvl3":"\/pt\/plugins\/shopware-6\/upgrade"},"levels":4,"category":"Plugins","category_color":"green","tags":["Upgrade","plugin"]}}
