Back

Accept mobile money payments at your Kenya hotspot via Safaricom M-PESA

Kenya's dominant mobile payment method. Connect via Consumer Key, Consumer Secret, Shortcode, and Lipa Na M-PESA Passkey. Sandbox supported.

Powerlynx
Safaricom MPESA

How it works

Safaricom M-PESA connects to Powerlynx via four credentials from your M-PESA developer account: Consumer Key, Consumer Secret, Shortcode, and Lipa Na M-PESA Online Passkey. The Shortcode is the unique number (Pay Bill, Buy Goods, or Till Number) through which customers make payments.

In Powerlynx under Config / Finance / Payment Gateways / Safaricom M-PESA, enter all four credentials. The “Create payment on” field lets you choose whether Powerlynx creates the payment record on the validation or confirmation response from M-PESA — since M-PESA sometimes sends only one of these, this setting ensures flexibility. A Sandbox environment is available for testing.

Per-location configuration is supported — different Shortcodes can be linked to different hotspot locations. After saving, click the Register button in Powerlynx to register callback URLs with M-PESA. The country must be set to Kenya under Config / System / Localization.

What this integration provides

  • M-PESA payments at the captive portal — customers redirected to M-PESA payment page.
  • Payment created on validation or confirmation response — configurable per account.
  • Sandbox environment for pre-live testing.
  • Per-location Shortcode configuration.
  • Callback URLs registered directly from Powerlynx.
  • Payments tracked under Finance / Payments.
  • Kenya only.

Credentials required

Consumer Key, Consumer Secret, Shortcode (Pay Bill / Buy Goods / Till Number), Lipa Na M-PESA Online Passkey — from your Safaricom M-PESA developer account.

Who uses this

Any ISP, MSP or system integrators deploying in Kenya. M-PESA is the dominant payment method in the Kenyan market, enabling it at the captive portal is essential for revenue from local users.

Requirements

  • Safaricom M-PESA merchant account.
  • All four credentials.
  • Callback URLs registered via the Register button in Powerlynx.
  • Country set to Kenya under Config / System / Localization.

How to configure Safaricom M-PESA payments at your Powerlynx captive portal in Kenya — step-by-step guide.

Bring fast, affordable and reliable Wi-Fi access with Powerlynx

21-day free trial, no limitations in features

Start your free trial arrow