Skip to content

Magento

| View as Markdown

This guide is for the integration of Magento (shopping cart) backend with airpay for the accepting payments. Download Magento Kit and follow the installation steps. If steps correctly followed, the installation will be successful.

Magento Installation steps:

step 1: Please make sure that app/ directory is writable
step 2: Inside app folder create a folder named code
step 3: Inside the code folder place the airpay folder from extracted magento kit (path:/app/code/airpay/airpay/)
step 4: Then run below commands as root from app/ directory
"$ cd ..
"$ php bin/magento cache:clean
"$ php bin/magento cache:flush
"$ php bin/magento setup:upgrade
"$ php bin/magento module:enable Airpay_Airpay --clear-static-content
"$ php bin/magento setup:di:compile

Enabling the module and configuring it with your airpay merchant credentials:

step 1: Navigate to 'https://<your_server_domain>/admin/' in your browser to configure AirpayPayment
step 2: Navigate to 'Stores > Configuration > Sales > Payment Methods
step 3: Find 'airpay' Payment Method
step 4: Enter your airpay Merchant details and click Save Config
Note: If airpay is not visible as a payment method, try clearing cache from System > Cache Management