p0
p1
p2

This project is not covered by Drupal’s security advisory policy.

About

This project integrates Mpesa STK Api into the Drupal Commerce payment. It currently only supports STK implementation with future additions for Paybill and refund being worked on.

Requirements:

  • Commerce 2.x
  • Commerce-payment
  • Mpesa API keys

Installation and configuration

composer require drupal/commerce_mpesa

  1. Install and enable Drupal Commerce and its sub-modules.
  2. Download, Install and enable Commerce Mpesa.
  3. Add and Configure the gateway by going to yoursite.com/admin/commerce/config/payment-gateways/add.
  4. Select which environments to use Live or Test
  5. Enter your keys from Mpesa Api.
  6. Checkout using Mpesa gateway
  7. Provide your number during checkout and you will receive a prompt

Features:

  • Mpesa Prompt
  • Mpesa views addon
  • Validation of payments

Note:
This module utilizes IPN which only works on applications that are accessible on the internet. Localhost won't work!! or systems not publicly accessible

Supporting organizations: 

Project information

Releases