- From the CLI, run the following commands to install the Mondu module.
composer require mondu/magento2-payment
- Run Magento install/upgrade scripts:
php bin/magento setup:upgrade
- Compile dependency injection:
php bin/magento setup:di:compile
- Deploy static view files (production mode only):
php bin/magento setup:static-content:deploy
- Flush Magento cache:
php bin/magento cache:flush
- Install docker and docker-compose.
- Create a `auth.json` file copying it from `auth.json.example` according to https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/develop/authentication-keys.html?lang=en.
- Run the following script:
docker-compose up
. - Wait the container to start (it may take a while).
- Run `composer install` inside the magento container.
- Download the latest release of Mondu module for Magento 2 file from the Mondu github repository https://github.com/mondu-ai/magento2-checkout/releases
- Unzip the file
- Create a directory `Mondu/Mondu` in: [MAGENTO]/app/code/
- Copy the files to `Mondu/Mondu` directory
- Run Magento install/upgrade scripts:
php bin/magento setup:upgrade
- Compile dependency injection:
php bin/magento setup:di:compile
- Deploy static view files (production mode only):
php bin/magento setup:static-content:deploy
- Flush Magento cache:
php bin/magento cache:flush