Integrating M-PESA to a WordPress website can be a daunting task for a beginner but this tutorial breaks down the process of installing M-Pesa WordPress plugin to your website and also the important steps you have to follow to accept payments through M-Pesa.
Check video below if you don’t want to read the full article 😉
How do I integrate M-PESA into WordPress? Simple tutorial for Beginners in 2026.
GET PLUGIN HERE –> DOWNLOAD MPESA PLUGIN (UPDATED, NO ERRORS)
The first step involves uploading the M-Pesa WordPress plugin after download. You can get the plugin here. You can refer to the image on how to upload the plugin.
Download the PLUGIN as ZIP file from the directory attached.
The next step involves activating the plugin and checking if it has been installed to your WordPress Plugin directory.
When this is done, hover over WordPress and navigate to configure M-pesa.
You will be required to fill some required details so that you can start accepting payments from M-Pesa. Kindly refer to this video to see how you can get the required M-PESA details.
After you have filled the required info, click save changes and you will be good to GO.
Then go to your checkout page and see if you can see the LIPA NA MPESA gateway activated, also ensure you test the integration by purchasing a product and check if you receive an STK push. Also confirm if the amount paid reflects on TILL / PAYBILL number after completing payments.Liked this tutorial?
Must read: Setting Up Safaricom Daraja API for WordPress Integration



This was of great help
the plugin is not activating. here is the error.
Plugin could not be activated because it triggered a fatal error.
Kindly deactivate all plugins and activate Mpesa plugin then re-activate one by one other plugins. Also check your PHP version.
WooCommerce has detected that some of your active plugins are incompatible with currently enabled WooCommerce features. Please review the details.
am runing thye latest version of woocomerce Version 9.8.5 after installation am gtting that error message
That won’t affect anything, plugin will still run well