Skip to main content

Payment integration

KopoKopo M-Pesa Payment Gateway

Kenya M-Pesa STK push collections via KopoKopo (k2-connect-php) with signed webhooks and payment status polling.

Read the payment gateway setup guide

Supported markets

  • Kenya

Setup guidance

  1. Create a KopoKopo application and copy the Client ID, Client Secret, and API Key from the dashboard.
  2. Enter your KopoKopo till number (online payments short code).
  3. Use sandbox credentials for testing, then switch to production when ready.

Configuration requirements

Enter these values in the matching gateway settings. Obtain credentials from the provider and keep them private.

KopoKopo Client ID Required
KopoKopo Client Secret Required
KopoKopo API Key Required
Used to verify X-KOPOKOPO-Signature webhook headers.
KopoKopo Till Number Required
Environment Required
Webhook URL Optional