PhonePe
Takes payments online through the workspace's own PhonePe payment gateway account. Customers pay invoices, shop orders, event tickets and course places by UPI, card or netbanking on PhonePe's secure page, the money settles straight into your account, and refunds go back the same way.
| At a glance | |
|---|---|
| Type | Add-on |
| Group | Bill |
| Price | Free (PhonePe charges its own fees on your account) |
| Provides | Take payments online, Generate payment links |
| Needs | The Payments module, and a workspace in rupees |
| Offered to | Every industry pack |
| Permission | Manage add-ons (addons.manage) to switch it on; Manage settings to connect the account |
What it does
PhonePe is a payment gateway add-on of Payments. While it is on and connected, Payments can:
- take payment online on an invoice's pay page (the shared receipt link and the customer portal), at the online shop's checkout, for event tickets, for course places and at the self-order kiosk. Each payment opens PhonePe's checkout page for exactly what is owed, valid for an hour, and the customer pays there by UPI, card or netbanking;
- let staff Collect online on an invoice, with the PhonePe page to send the customer;
- send money back through PhonePe when a payment is refunded, in full or in part;
- make pay-now links, sent by text or WhatsApp (they need an SMS or WhatsApp add-on as well).
A payment is recorded only once PhonePe itself says it is complete for exactly the amount owed, whether the customer comes back to your page or PhonePe's webhook arrives first. It is never recorded twice.
Currencies. Rupees only. A payment must be at least one rupee.
Not the same as the PhonePe UPI QR. The UPI QR payments module can also use a PhonePe account for the till's QR. This add-on is the online payment gateway for invoices and the shop; the two are set up separately.
Switching it on
- Switch on Payments first (Workspace → Modules). PhonePe needs it, so the switch is refused while Payments is off.
- Go to Workspace → Add-ons. PhonePe is under Bill.
- Open its ⋮ menu, choose Enable, and press Enable in the dialog. There is nothing to fill in there.
- Choose Connect under Settings → Payments on its ⋮ menu and connect your account (below).
Connecting your PhonePe account
Settings → Payments, provider PhonePe. The keys come from your PhonePe Business dashboard (Developer settings → API keys); PhonePe issues a client ID, a client version and a client secret.
| Field | What to enter |
|---|---|
| Client ID | Your PhonePe client ID. |
| Client secret | The client secret shown with it. Write-only: it is kept encrypted and only its first and last letters are ever shown. |
| Client version | The number shown beside the client ID, for example 1. |
| Webhook username | A username you choose for PhonePe's webhook (below). |
| Webhook password | A password you choose for the webhook. Write-only. |
| Environment | Test (no real money) for PhonePe's sandbox keys, or Live for production keys. |
| Accept payments through this gateway | Tick it to take payments. Needs the client ID, secret and version. |
The webhook. In the PhonePe dashboard (Developer settings → Webhooks), add the Webhook address shown on the card, with the username and password you saved here, and tick the events the card lists. PhonePe signs each delivery with that pair, and a delivery that does not match is refused. Payments are still recorded without the webhook, when the customer comes back to your page or when the payment is checked again later.
One gateway takes payments at a time. To move to another, switch this one's Accept payments off first.
Turning it off
Turn off on the ⋮ menu asks first. New online payments through PhonePe stop at once. Payments already under way are still recorded when PhonePe confirms them, refunds of earlier payments still go back through it, and the keys stay saved for when it is switched on again.
Ready-made automations
None of its own. The moments around a payment (one that fails, a pay-now link to send) are the Payments module's ready-made automations.
In the desktop and mobile apps
Not carried. The apps take payment at the counter.