MAA INVEST Pay Docs
Integrations

WooCommerce plugin

Install and configure the M-Pesa plugin for WooCommerce.

⬇ Download the plugin (sign in; available with sandbox or live credentials)

  1. WordPress → Plugins → Add New → Upload Plugin → choose the zip → Activate.
  2. WooCommerce → Settings → Payments → M-Pesa (MAA INVEST Pay). Enable it, paste the Merchant ID and API Secret (test pair first), save.
  3. Store currency must be KES. Your site must be reachable on public HTTPS; the webhook is https://YOUR-SITE/?wc-api=maainvest_pay.

Flow: the customer chooses M-Pesa → is sent to the hosted checkout → approves the prompt → WooCommerce marks the order paid through the webhook.

Stuck on an integration? Open a ticket from the Support page in your account and include your invoice_id, the time, and the HTTP status you returned.