Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikengei/commerce_mpesa
The Commerce Mpesa module is a drupal 8 & 9 payment gateway.
https://github.com/mikengei/commerce_mpesa
commerce drupal drupal8 drupalcommerce mpesa payment payment-gateway
Last synced: 13 days ago
JSON representation
The Commerce Mpesa module is a drupal 8 & 9 payment gateway.
- Host: GitHub
- URL: https://github.com/mikengei/commerce_mpesa
- Owner: mikengei
- Created: 2021-10-13T16:31:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-19T11:24:24.000Z (about 3 years ago)
- Last Synced: 2024-10-12T02:20:57.743Z (about 1 month ago)
- Topics: commerce, drupal, drupal8, drupalcommerce, mpesa, payment, payment-gateway
- Language: PHP
- Homepage:
- Size: 130 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Commerce Mpesa
This is a Drupal 8 & 9 payment module for Drupal Commerce 2.x which has been integrated with Safaricom APIs to handle STK push only.
Currently this only for STK only, other services will be added later.
![App Screenshot](https://raw.githubusercontent.com/mikengei/commerce_mpesa/main/icons/img/Capture.PNG)
## Installation
This module can be installed via Composer.
```bash
composer require 'drupal/commerce_mpesa:^1.0'
```
With drush```bash
drush en commerce_mpesa -y
```which will download and enable the module automatically.
For more information about installing Drupal Modules:
https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-modules
https://www.drupal.org/docs/user_guide/en/extend-module-install.html## Configuration
Create a new Commerce Mpesa gateway.
Administration > Commerce > Configuration > Payment gateways > Add payment gateway
Here are settings available:- BusinessShortCode
- PassKey
- Basic Auth username
- Basic Auth passwordUse the API credentials provided by your Mpesa merchant account.
## Features
- STK push
- IPN
- Payments dashboard for Mpesa## Screenshots
* Add the Payment gateway
![App Screenshot](https://raw.githubusercontent.com/mikengei/commerce_mpesa/main/icons/img/pic1.PNG)* Configure API settings.
![App Screenshot](https://raw.githubusercontent.com/mikengei/commerce_mpesa/main/icons/img/pic2.PNG)* Add a view to display Payments made.
![App Screenshot](https://raw.githubusercontent.com/mikengei/commerce_mpesa/main/icons/img/pic3.PNG)* Add fields to the view.
![App Screenshot](https://raw.githubusercontent.com/mikengei/commerce_mpesa/main/icons/img/pic4.PNG)