Woocommerce Lipa na MPESA
WooCommerce Lipa Na MPESA Payment Gateway
by Kelvin Jayanoris · github.com/moshthepitt/woocommerce-lipa-na-mpesa · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/moshthepitt/woocommerce-lipa-na-mpesa/archive/refs/heads/master.zipWooCommerce Lipa Na MPESA Payment Gateway
A nice friendly WordPress plugin that adds "Lipa na MPESA" (see kopokopo.com) as a payment gateway to WooCommerce.
To set up instant payment notifications, do the following:
-
Go to KopoKopo API settings and get your API key. Put this in the API field inside WordPress on the Lipa na MPESA settings page.
-
Set up the "HTTP(S) POST Configuration" on the API page at KopoKopo to be as such
API: versionv3
Notification URL: http://example.com/?KOPOKOPO_IPN_LISTENER=1
Username: doesntmatter
Password: doesntmatterputanything
Replace example.com with your own domain name.
Please note that sometimes even after setting up as above, it still does not work. In such cases I just reinstalled WordPress (I havent yet got time to hunt down this bug).
With the above done, orders paid for via Lipa na MPESA will automatically be marked as paid.