Install the Affirm extension on Adobe Commerce
Learn how to install and upgrade the Affirm Adobe Commerce extension.
Overview
This guide describes how to integrate Affirm into your Adobe Commerce platform and offer Affirm as a payment option to your customers.
Install the extension
You have two options for installing the Adobe Commerce Affirm extension. Both options also upgrade the extension using the exact same steps described below.
Install using Composer
- Retrieve your Magento authentication keys.
- In the Magento 2 root directory, enter the following commands using the command line:
composer require affirm/magento2
composer update
php bin/magento setup:upgrade
php bin/magento setup:di:compile
- Clear the Adobe Commerce cache to use the default Magento 2 Affirm configuration. For Magento 2.2 and lower an Affirm Module version 2.1.5 will be used.
Install using Command Line
- Download the extension
- If it doesn't exist, create the directory
Magento2_root/app/code/Astound/Affirm/
. - Unzip the extension and move all the files to
Magento2_root/app/code/Astound/Affirm/
. - In the Magento 2 root directory, run the following command to verify that
Astound_Affirm
exists in List of disabled modules:
php bin/magento module:status
- In the Adobe Commerce root directory, run the following commands:
php bin/magento module:enable Astound_Affirm
php bin/magento setup:upgrade
- Clear the Adobe Commerce cache to use the default Affirm configuration.
Updated 11 months ago