Skip to content

Settings reference

Every field on the PhonePe gateway configuration screen (Setup → Payment Gateways → PhonePe) is listed below with its default. For a guided explanation of what each one does, see Configuration.

Gateway fields

FieldWhat to enterDefault
Client IDYour PhonePe API Client ID from the Merchant (Business) dashboard(empty)
Client SecretYour PhonePe API Client Secret from the Merchant dashboard(empty)
Client VersionThe API client version — leave as-is unless PhonePe tells you otherwise1
Payment ModeRedirect (full-page checkout) or Iframe (in-page popup)Redirect
Webhook UsernameMust match the username you set in the PhonePe dashboard webhook(empty)
Webhook PasswordMust match the password you set in the PhonePe dashboard webhook(empty)
Sandbox ModeYes = PhonePe sandbox for testing; No = live paymentsNo
License KeyYour PhonePe for WHMCS license key from relyweb.co(empty)

The webhook URL

Register this URL in the PhonePe dashboard's webhook settings, using the same username and password you enter above:

https://yourdomain.com/modules/gateways/phonepe/webhook.php

Replace yourdomain.com with your WHMCS domain, and make sure it's reachable over HTTPS.

Where activity is logged

Every payment attempt and webhook exchange is recorded in the Gateway Log at Utilities → Logs → Gateway Log. Check it first whenever a payment doesn't behave as expected.

Documentation for the Relyweb app catalogue.