Skip to main content
← Back to plugins
M-Pesa Payments

M-Pesa Payments

Accept Mpesa payments on your Vendure store.

Version0.0.26
Compatibility>=3.4.1
CategoryPayment & Tax
Downloads433 monthly
Last updatedMar 15, 2026

Vendure Mpesa Plugin

GitHub Actions Workflow Status   NPM Version

Accept Mpesa payments on your Vendure store.

Installation

Bash

Usage

  1. Add the MpesaPlugin to your VendureConfig plugins array.
Ts
  1. Start the server and navigate to Settings > Payment methods. Add a new payment method, selecting Lipa na Mpesa Online as the handler.

Be sure to select the 'Check whether Mpesa supports the payment' eligibility checker when creating the payment method. This plugin consumes the Mpesa Daraja API which currently only supports Safaricom numbers in Kenya.

  1. Calling the addPaymentToOrder mutation on the storefront with the corresponing payment method code will initiate an STK push to the customer's phone.

  2. Call the verifyMpesaTransaction mutation periodically on the storefront to verify the transaction status.

Reference

Changelog

0.0.13

Patch Changes

  • a09ead2: Update Safaricom number prefix regex

0.0.12

Patch Changes

  • 888b5a2: add shop api extensions to check and verify payment status