Giter Site home page Giter Site logo

herquiloidehele / mpesa-wordpress-plugin Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 18.0 269 KB

Vodacom M-PESA Payment Gateway for Woocommerce from Mozambique

Home Page: https://herquiloidehele.github.io/mpesa-wordpress-plugin/

License: MIT License

PHP 88.10% JavaScript 11.90%
mpesa-payment woocommerce vodacom mpesa-developer-portal wordpress

mpesa-wordpress-plugin's Introduction

Woocommerce M-pesa Payment Gateway (Vodacom)

This plugin allows your e-commerce to have an option of paying using M-PESA mobile money service from a WordPress website/application that has WooCommerce plugin installed.

The plugin adds an option on the checkout section for paying through M-PESA (a mobile payment platform).

Pre-requirements

  1. Create an account on M-pesa Developer Portal;
  2. Read a little bit the oficial documentation, just in case;
  3. Clone or Download the zipped plugin

Installation

  1. Go to Plugins -> Add New
  2. On top of the page, click “Upload Plugin” button
  3. Click on “Choose File” button
  4. Select the ZIP file from your computer
  5. Click “Install Now” button
  6. Wait for a few seconds for WordPress to complete the installation
  7. And click "Activate" to activate the plugin

Configuration

  1. After successfull installed and activate the plugin, go to Woocommerce > Setting > Payments tab, its supposed to appear the M-pesa payment method listed. Activate it and them click on "Manage".

Image 1

Inside the M-pesa Management page you will need to fill the information and configuration fields:

Image 2

Note: All this configuration Fields can be found in M-pesa Developer Portal

Aspects to consider when deploying your application

  1. Make sure that the port 18352 is opened in your server.
    1.1 If not, you must open it, because this is the port used to comunicate between this plugin and Mpesa API.
    1.2 In case you are using a shared hosting service to host your application, you will have to contact the support and ask them to open this port.

License

This library is release under the MIT License. See LICENSE file for details.

TODO

  • Improve documentation
  • Add examples and Tests

mpesa-wordpress-plugin's People

Contributors

herquiloidehele avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.