Airpay Payment Gateway Integration

Airpay Payment Gateway Integration

This article shares step-by-step information on how to get started with Airpay payment gateway, connect your Airpay account with Knorish to automate payment collection and assign courses.

Steps to follow on the Knorish platform

After you have setup your Airpay account, enabling it on Knorish is fairly straightforward. Here's how to do this.


  • Login to your Knorish account
  • Access Integrations under Settings > Payment Gateway
  • Under Airpay Payment Gateway, select environment (Live or Sandbox) and then enter the Merchant ID, API Key, Username and Password. You may have received these details from Airpay team.
  • Click Connect

It's done! You have just learnt how to integrate the Airpay payment gateway into your course site.

Important

  1. Airpay, as a gateway, requires whitelisting of URLs to process payments in Live or Sandbox (test) environments. Please refer to the URL below (replace "domain" with your own domain) and share it with Airpay support for whitelisting.
    - Website URL: https://{your_domain}
    - Response Success URL: https://{your_domain}/user/account/airpaypaymentprocesssuccess
    - Response Cancel URL: https://{your_domain}/user/account/airpaypaymentprocesscancel
    - IPN/Webhook URL: https://{your_domain}/webhook/airpay
  2. The merchant ID for Airpay will vary between Live and Sandbox environments.
  3. The API endpoints for Airpay Live and Sandbox environments are the same.
  4. USD currency support may not be active by default. If you wish to activate USD currency support, please contact Airpay support for assistance.
  5. To setup an Airpay account, please reach out to Airpay here: https://airpay.co.in/
  6. Unfortunately, the Airpay Sandbox does not provide a dashboard to review transactions.