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

Accept Mpesa payments on your Vendure store.
Installation
Usage
- Add the MpesaPlugin to your
VendureConfigplugins array.
- Start the server and navigate to
Settings > Payment methods. Add a new payment method, selectingLipa na Mpesa Onlineas 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.
-
Calling the
addPaymentToOrdermutation on the storefront with the corresponing payment method code will initiate an STK push to the customer's phone. -
Call the
verifyMpesaTransactionmutation 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
