⬇ Download the plugin (sign in; available with sandbox or live credentials)
- WordPress → Plugins → Add New → Upload Plugin → choose the zip → Activate.
- WooCommerce → Settings → Payments → M-Pesa (MAA INVEST Pay). Enable it, paste the Merchant ID and API Secret (test pair first), save.
- 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.
MAA INVEST Pay Docs