Airpay

Step 1 - Procure Gateway Credentials

Obtain the merchant credentials from the AIRPAY team for Sandbox (testing) and Production (live).

Please find below a sample format of credentials that you can expect from the gateway.

  • Client Id*: 1****8

  • Client Secret*: fe**********43

  • Merchant Id*: 2****2

  • Password*: u******n

  • Secret*: P4**********mP

  • Secret Key*: 4*******************c

  • User Name*: 1****6

  • Merchant ID: 3****0

Note

The fields marked * are mandatory and are required to be configured to proceed with the testing. Rest of the fields are optional and only required for specific features/flows.

Step 2 - Dashboard Configuration

  • Open up the Juspay Portal

  • Navigate to Payments → PG Control Centre

  • Select AIRPAY under the “Add a Payment Gateway (PG)" section

  • Select an environment for the payment gateway. If not sure then confirm with AIRPAY team whether the credentials provided by them are for testing or production usage

    • Live Environment: Real money involved, all flows supported

    • Testing Environment: Simulate payments, only some flows are supported

  • Gateway Reference ID: For most cases you don’t need this but if you do then refer https://juspay.io/in/docs/hyper-checkout/android/resources/gateway-reference-idlink icon

Step 3 - Payment Methods Configuration

Configure the payment methods as per your business needs using the Juspay Dashboard. Enable or disable payment methods your business will accept through AIRPAY on this screen.

Step 4 - Advanced Features (optional)

Following Advanced Feature Flags are available under AIRPAY:

  • S2S Integration: Enabling this flag would enable the Server to Server integration with AIRPAY.

Step 5 - Configure Juspay URLs at Gateway

Refer to the Webhook Section to get the list of Juspay URLs that need to be whitelisted at the gateway end.

Step 6 - Testing

Test all payment flows using the sandbox environment. Ensure that all enabled payment methods work as expected and the callbacks are received correctly.

Step 7 - Go live

Switch your configuration to production credentials on Juspay Dashboard after thorough testing, and inform gateway to enable your production credentials if required.

Last updated 3 months ago