M-Pesa Plugin for WordPress aims to help businesses integrating payments using M-pesa to their Wordpress website/application that has Woocommerce plugin installed.
- Receive money from a mobile account to a business account
To use this plugin it is necessary to:
- Have Woocommerce installed.
- Create an account into M-pesa developer portal.
- Make sure that the port 18352 is opened in your server.
- Go to Plugins > Add new in your dashboard.
- Search for PaymentsDS - Mpesa Payment Gateway for WooCommerce.
- Click Install now on PaymentsDS - Mpesa Payment Gateway for WooCommerce to install the plug-in and then click ativate.
- First, you need to download the latest version of the plugin from the [releases page]https://github.com/paymentsds/mpesa-wp-plugin/releases).
- Upload the plugin folder to your WordPress installation's wp-content/plugins/ directory.
- Activate the plugin from the Plugins menu within the WordPress admin.
- After a successfully installation and activation of the plugin, go to Woocommerce > Setting > Payments tab, its supposed to appear the M-pesa payment method listed. Activate it and then click on "Manage".
- Fill out the configuration fields with the information found in the M-pesa developer portal.
All the contributions are welcome, but you should follow this steps to contribute:
- Open an issue describing your feature suggestion or bug fix
- fork this repo
- Create a new branch with your feature
-
Run the containers:
docker-compose up
-
Access the wp page you just created on http://localhost:8080
-
Access the admin page and activate the plugins (mpesa-wp-plugin and woocommerce)
-
Now make your changes to the plugin and test if it works.
-
Commit your changes
-
Open a PR with these changes
After your PR has been merged, you can delete your branch.
This project is under the GNU General Public License v3.0 License. check the file LICENSE for details.