Skip to main content

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:

AreaPath
Payment Gateway SettingsSettings β†’ Billing Setup β†’ Payment Setting β€” credentials, branch assignment, provider-specific options
Currency β†’ Payment GatewaySettings β†’ Billing Setup β†’ Currencies β†’ Configure (Step 2) β€” mandatory assignment of gateways to each currency
Payment ProviderSettings β†’ Billing Setup β†’ Payment Provider β€” capability flags per gateway (document on each gateway page)
Quick start
GoalWhere
Configure a gateway and assign branchesPayment Gateway Settings
Make the gateway available for a currencyCurrency configuration
Postpaid auto-chargeGateway must natively support variable recurring card charges and Has Autocharge must be enabled in CMP (for example, Stripe)
Sandbox credentials at installPrerequisites β€” Payment Gateways
Two steps required for a gateway to appear

Configuring credentials alone is not enough. A payment gateway is shown to customers only when both are true:

  1. The gateway is assigned to the customer’s branch in Payment Gateway Settings
  2. 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
ControlCMP pathEffect
BranchSettings β†’ Billing Setup β†’ Payment SettingWhen you have more than one branch, assign each gateway to the branches where it should be available
CurrencySettings β†’ Billing Setup β†’ Currencies β†’ Configure β†’ Step 2Mandatory β€” select which gateways customers can use for that currency
Configuration workflow β€” current vs future

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.

Screenshot: CMP β€” Payment Gateway Settings with Edit Payment Gateway Settings for Stripe

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.

Gateway visible only when assigned to a branch

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.

Screenshot: CMP β€” Configure Currency Step 2 Manage Payment Gateway

Wizard steps:

StepName
1Edit Currency
2Manage Payment Gateway (current β€” assign providers)
3Success

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.

Currency assignment is mandatory

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 modeHow the gateway is used
PrepaidCustomer tops up wallet through an active gateway for their branch + currency
PostpaidSaved card / auto-charge β€” gateway must natively support variable recurring card charges, and Has Autocharge must be enabled in CMP for that provider
ManualNo gateway auto-charge; offline payment. Saving a card can auto-convert Manual β†’ Postpaid
Postpaid gateway requirement

Postpaid auto-charge requires both:

  1. Native gateway support β€” the provider can charge saved cards for recurring payments with variable amounts
  2. 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​

GatewayHub pageTypical regions / notes
StripeCards, wallets; postpaid auto-charge commonGlobal
AsiaPayCards and local methods (region-dependent)Asia
HyperPayCards / MENA payment railsMiddle East / North Africa
Authorize.netCardsNorth America (and others)
M-PesaMobile moneyEast Africa
PayPalPayPal checkout / accountsGlobal
RazorpayCards, UPI, netbanking, walletsIndia
MollieCards and European methodsEurope
DingerLocal payment methodsMyanmar / SEA
CardlinkCardsGreece / EU
PaytmWallet, UPI, cardsIndia
PayduniyaLocal payment methodsIndia / region-specific
Confirm methods with StackConsole

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

Pages in this section​