Magento 2 Update

Please note! This section is not part of the normal integration. You can use this part if you want to update from an older version of the AfterPay module.

We advise to execute the following steps:

Step 1: Enable the Magento maintenance modus

php bin/magento maintenance:enable

Step 2: Update the AfterPay module with composer to the latest available version and also update its depending libraries

composer update afterpay/afterpay-module

Step 3: Upgrade Magento to migrate any changes needed for the newest AfterPay module

php bin/magento setup:upgrade

Step 4: Compile the latest code

php bin/magento setup:di:compile

Step 5: Deploy the static content

php bin/magento setup:static-content:deploy

Step 6: Disable the Magento maintenance modus

php bin/magento maintenance:disable

Step 7: Clear the cache

php bin/magento cache:clean

Please note! It is important to test the new version before you use it for live transactions. If you have any questions, please contact us.