Update Extension

How can I update my Adobe Commerce Extension?

🚧

The process of updating the Afterpay extension for Magento 1 involves the complete removal of all extension files, followed by copying the new files.

Remove old Afterpay files/folders

[ADOBE-COMMERCE] will refer to the root folder where you have installed your version of Adobe Commerce.

  • Remove Files in: [ADOBE-COMMERCE]/app/code/Afterpay/Afterpay

Install latest version of Afterpay Extension

Click the following link to learn how to install the latest version of the Afterpay Extension on your Adobe Commerce store:
Install Extension

Install latest version of Afterpay Extension using Composer

🚧

Prerequisite

Prerequisite for this section - use Composer to install the extension.

[ADOBE-COMMERCE] refers to the root folder where Magento is installed.

  • Open Command Line Interface and navigate to the Adobe Commerce directory on your server
  • In CLI, run the below command to update Afterpay module:
    composer update afterpay-global/module-afterpay
  • Make sure that Composer finished the update without errors
  • In CLI, run the Adobe Commerce setup upgrade:
    php bin/magento setup:upgrade
  • In CLI, run the Adobe Commerce Dependencies Injection Compile:
    php bin/magento setup:di:compile
  • In CLI, run the Adobe Commerce Static Content deployment:
    php bin/magento setup:static-content:deploy

3. Flush the Adobe Commerce System Cache

Login to Adobe Commerce Admin and go to System → Cache Management. Then select Flush Cache Storage