Payment Gateways
A payment gateway is the provider CMP uses to collect payments β wallet top-ups (prepaid), invoice settlement, and (where supported) saved card / auto-charge for postpaid.
Payment gateways are separate from payment modes (prepaid, postpaid, manual). Manual mode does not use gateway auto-charge β customers pay offline.
CMP paths:
| Area | Path |
|---|---|
| Payment Gateway Settings | Settings β Billing Setup β Payment Setting β credentials, branch assignment, provider-specific options |
| Currency β Payment Gateway | Settings β Billing Setup β Currencies β Configure (Step 2) β mandatory assignment of gateways to each currency |
| Payment Provider | Settings β Billing Setup β Payment Provider β capability flags per gateway (document on each gateway page) |
| Goal | Where |
|---|---|
| Configure a gateway and assign branches | Payment Gateway Settings |
| Make the gateway available for a currency | Currency configuration |
| Postpaid auto-charge | Gateway must natively support variable recurring card charges and Has Autocharge must be enabled in CMP (for example, Stripe) |
| Sandbox credentials at install | Prerequisites β Payment Gateways |
Configuring credentials alone is not enough. A payment gateway is shown to customers only when both are true:
- The gateway is assigned to the customerβs branch in Payment Gateway Settings
- The gateway is assigned to the currency under Currencies β Configure (Step 2)
If either assignment is missing, the gateway stays hidden on registration, top-up, and payment screens.
How payment gateway visibility worksβ
Payment Gateway Settings (credentials + branch)
+
Currencies β Configure Step 2 (gateway linked to currency)
β
Gateway appears for that branch + currency
| Control | CMP path | Effect |
|---|---|---|
| Branch | Settings β Billing Setup β Payment Setting | When you have more than one branch, assign each gateway to the branches where it should be available |
| Currency | Settings β Billing Setup β Currencies β Configure β Step 2 | Mandatory β select which gateways customers can use for that currency |
Today, after you configure a payment gateway, you must also open Currencies β Configure and add the gateway for each currency. StackConsole plans to improve this into a single payment-gateway workflow later. Until then, complete both steps before testing payments.
1. Payment Gateway Settings (branch visibility)β
Path: Settings β Billing Setup β Payment Setting (breadcrumb: Payment Gateway Settings)
Use this screen to create or edit each gateway: provider credentials, branch assignment, and provider-specific options.

The listing shows configured gateways with columns such as Name, Branches, Is Live, Has Save Card, and Disable On Registration.
Branch assignmentβ
When editing a gateway, assign it under Branches to one or more branches (for example, Stack Console). Visibility is limited to customers under those branches.
A payment gateway is visible only when it is assigned to a branch. If Branches is empty or the customerβs branch is not selected, the gateway will not appear on self-registration, admin onboarding payment steps, or wallet top-up β even if credentials and currency assignment are correct.
When you have more than one branch, review branch assignment for every gateway you expect customers to use.
Provider-specific settingsβ
Each payment gateway has its own:
- Payment Gateway Settings form fields (API keys, merchant IDs, flags)
- Payment Provider / Edit Payment Gateway Providers form fields (for example Has Autocharge, logos)
Document those on the gatewayβs own page β for example Stripe, Razorpay, or PayPal.
See also Payment Modes β related billing setup.
2. Assign gateway to currency (mandatory)β
Path: Settings β Billing Setup β Currencies β Configure β Step 2 β Configure Payment Gateway for Currency
After a payment gateway exists under Payment Gateway Settings, you must attach it to each currency where customers should pay with it.

Wizard steps:
| Step | Name |
|---|---|
| 1 | Edit Currency |
| 2 | Manage Payment Gateway (current β assign providers) |
| 3 | Success |
Payment Gateway Providers
Required. Multi-select the gateways allowed for this currency (for example, Stripe). Use + Add Payment Gateway Provider if you need to add another provider definition first.
Then click Submit & Continue.
Even after the gateway is configured and assigned to a branch, it will not be offered for payments in a currency until you add it on Currencies β Configure β Step 2.
Complete this for every currency that should accept online payments.
Payment modes and gatewaysβ
| Payment mode | How the gateway is used |
|---|---|
| Prepaid | Customer tops up wallet through an active gateway for their branch + currency |
| Postpaid | Saved card / auto-charge β gateway must natively support variable recurring card charges, and Has Autocharge must be enabled in CMP for that provider |
| Manual | No gateway auto-charge; offline payment. Saving a card can auto-convert Manual β Postpaid |
Postpaid auto-charge requires both:
- Native gateway support β the provider can charge saved cards for recurring payments with variable amounts
- CMP setting β Has Autocharge enabled for that provider under Settings β Billing Setup β Payment Provider
Setting Has Autocharge alone is not sufficient. Payment Provider form fields are documented on each gateway page (for example, Stripe β Payment Gateway Providers). See Postpaid.
Supported gatewaysβ
| Gateway | Hub page | Typical regions / notes |
|---|---|---|
| Stripe | Cards, wallets; postpaid auto-charge common | Global |
| AsiaPay | Cards and local methods (region-dependent) | Asia |
| HyperPay | Cards / MENA payment rails | Middle East / North Africa |
| Authorize.net | Cards | North America (and others) |
| M-Pesa | Mobile money | East Africa |
| PayPal | PayPal checkout / accounts | Global |
| Razorpay | Cards, UPI, netbanking, wallets | India |
| Mollie | Cards and European methods | Europe |
| Dinger | Local payment methods | Myanmar / SEA |
| Cardlink | Cards | Greece / EU |
| Paytm | Wallet, UPI, cards | India |
| Payduniya | Local payment methods | India / region-specific |
Some gateways expose many payment methods at the provider β CMP may integrate only a subset. Confirm supported methods and autocharge behaviour with StackConsole before go-live.
Before go-live checklistβ
- Sandbox credentials provided for each gateway β Prerequisites
- Gateway configured under Payment Setting with provider-specific credentials (see each gateway page)
- Gateway assigned to the correct branch(es)
- Gateway added for each currency under Currencies β Configure β Step 2
- Postpaid default gateway used only if the gateway natively supports autocharge and Has Autocharge is enabled in CMP
- Test prepaid top-up and (if used) postpaid auto-charge in sandbox