M-Pesa
M-Pesa is a mobile-money payment method widely used in East Africa. CMP can accept M-Pesa payments when the gateway is enabled for the branch and currency.
Provider: m-pesa.africa
| Configure in CMP | Settings β Billing Setup β Payment Setting / Payment Provider |
| Sandbox | Provide Daraja / M-Pesa API sandbox credentials β Prerequisites |
| Payment modes | Typically prepaid wallet top-up; postpaid card auto-charge is usually not applicable |
What M-Pesa is used for in CMPβ
| Mode | Behaviour |
|---|---|
| Prepaid | Customer pays wallet top-up via M-Pesa when offered |
| Postpaid | Confirm with StackConsole β M-Pesa is generally not a saved-card autocharge rail |
| Manual | Offline settlement outside M-Pesa in CMP |
See Payment Gateways hub.
Configure M-Pesaβ
- Obtain M-Pesa / Safaricom Daraja (or partner) sandbox credentials
- Provide credentials to StackConsole
- Enable M-Pesa under Payment Setting
- Configure Payment Provider β see Payment Gateway Providers
Edit Payment Gateway Settings fieldsβ
Each gateway has its own CMP form fields. Field details for this provider will be documented here when confirmed from the CMP UI / StackConsole.
Until then:
- Configure the gateway under Settings β Billing Setup β Payment Setting
- Assign Branches β see branch visibility
- Assign the gateway to each currency β see currency assignment
img/screenshots/cmp-payment-gateway-m-pesa.png
Payment Gateway Providersβ
Path: Settings β Billing Setup β Payment Provider
Form title: Edit Payment Gateway Providers
Path: Settings β Billing Setup β Payment Provider (breadcrumb: Payment Gateway Providers)
Configure this providerβs currencies, Has Autocharge, logos, and status. Field details will be expanded when confirmed from the CMP UI.
img/screenshots/cmp-payment-provider-m-pesa.png
Has Autocharge
Yes / No (when applicable). Enables postpaid auto-charge for this provider in CMP.
Enabling Has Autocharge only turns the feature on at the application layer. The payment gateway must also support autocharge natively β typically automatic charging of saved credit cards for recurring payments with variable amounts.
Confirm native support with the gateway vendor and StackConsole before using this gateway as a postpaid default. See Payment Gateways β postpaid requirement.