Step 1: Install the Module #
Run the following command to install the AmwalPay Payment module via Composer:
composer require amwalpay/magento2-payment:dev-main
Step 2: Enable the AmwalPay Payment Gateway #
Execute the command below to enable the AmwalPay module in Magento:
php -f bin/magento module:enable --clear-static-content Amwal_Pay
Step 3: Run Magento Setup Commands #
Run the following Magento commands in sequence to complete the installation:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
Step 4: Magento Admin Configuration #
- Log in to the Magento Admin Panel.
- Navigate to Stores → Configuration.
- Under the Sales menu, go to Payment Methods → Amwal Pay
- Enter your Merchant ID, Terminal ID, and Secret Key in the respective fields
- and click on save.
