Loading...

Plugin Configuration and Integration

Read more about how to configure this plugin.

Plugin Features Purchase

Integration and Integration

Before you can use this plugin, ensure you have done Daraja API Integration by following the following steps:
You need to already have a Paybill from Safaricom. If do you not, you can apply for one from this link: https://m-pesaforbusiness.co.ke/ or talk to the Safaricom team on M-pesabusiness[at]safaricom.co.ke.
Create account on Safaricom Daraja portal, which is the site you use to do the API integration.
Test your application and go-live on Daraja Portal. You can simulate transactions to confirm they can be received.
Indicate the Confirmation URL where your payment notifications will be sent. Check the below section for more info about confirmationURL.
Go live on Daraja Portal. To do this, you will need to have username of a user from G2 ORG portal, so ensure you have an ORG account requested and created.
Feel free to reach out to me on email ([email protected]) if you want professional assistance of doing the above integration, which can get a bit too technical sometimes.

Plugin Installation & Configuration

Purchase the plugin using this link, indicating the website where you shall be installing the plugin, and optionally the URL of a dev website. The plugin activation code shall be sent to your email.
Follow the URL sent to your email after purchase to download the plugin code (zip file).
Log in to your WordPress, go to Dashboard -> Plugins -> Add Plugin -> Upload Pluigin.
Select the plugin zip file you downloaded from the website and Intall it. Proceed to Activate the plugin.
Mow, we need to enter the plugin activation code to activate all the premium features of the plugin. On the Plugins list, click the "Settings" link next to the plugin you just installed.
Select the plugin zip file you downloaded from the website and Intall it. Proceed to Activate the plugin.
Go to "Enable Premium Features" tab on the plugin, input the activation code that was sent to your email and submit. Once you submit a valid activation code, all premium features of the plugin will be activated. Note that you can only use the plugin on any of the website(s) that you specified during purchase, which included a development website.
Configure the additional settings of your Premium plugin by providing details such as Passkey, Consumer Key, Consumer secret among others as shown below, so that all features of your plugin are fully enabled. See the NOTE about the confirmationURL at the bottom of this page.For any issues, reach out to us via our email [email protected].
Once all settings have been propery configured, you will now see 2 Payment Methods on the WooCommerce Payments section. Ensure they are enabled so that they can be presented to customers on the checkout page.
Take note of the following points about confirmation URL. Note that if you misconfigure your confirmationURL, you may not not receive the payment notifications, or you interfere with the performance of your WordPress website.
IMPORTANT NOTES ABOUT CONFIRMATION URL:
  • You set the Confirmation URL when you are integrating your M-Pesa Paybill on Safaricom Daraja Portal.
  • To ensure payments are reflected on your website, the domain on the confirmation URL must match your WordPress website.
  • The confirmation URL cannot have the word mpesa in it.
  • The confirmation URL must be using https.
  • For added security, and to ensure your M-Pesa payment notifications are correctly processed, ensure your confirmation URL has a unique string to it. In case you have not settled on one, below are 5 uniquely generated confirmation URLs that you can use. Replace "yourwebsite" with your actual domain
    • https://yourwebsite/index.php?h=1640ecb320c3b3ff
    • https://yourwebsite/index.php?h=f407e8173ebc9725
    • https://yourwebsite/index.php?h=98178f0d9a3c1d76
    • https://yourwebsite/index.php?h=fdb3bb3fcdc8de13
    • https://yourwebsite/index.php?h=16b51331a30997fb
    In case you want to update your confirmationURL to any of the ones above, you can do it as guided in the Safaricom Daraja portal.

Know more about this Plugin

No worries. You can manually add transactions through the plugin settings. This is especially useful in case of missed callbacks or payments made outside the order flow. The status column on the Transactions list shows if a transaction has already been utilised or not, so it can help in knowing the status of a specific transaction.

The Safaricom Daraja credentials entered in the plugin settings remain securely on your website and are never transmitted externally. All communications are encrypted to ensure data integrity and confidentiality. Additionally, you retain full control over access to M-Pesa transaction records. Access to payment logs and sensitive data can be restricted to authorized users only, ensuring that your financial data remains protected at all times.

No developer is needed, as you can get all the information you need is on the Safaricom Daraja portal. The plugin comes with a guided setup wizard. Just input your M-Pesa API credentials and configure your Paybill or Till settings. However, we are aware that there are steps that may be a little complicated, and you can contact us on [email protected] for technical support if you get stuck.

Unfortunately you cannot use the plugin with 3rd party paybills or till numbers, as you do not own the paybill, and therefore you cannot access its credentials on Safaricom Daraja portal.

Yes, after purchasing the plugin, you will receive access to all future updates and new features.

No worries. You can manually add transactions through the plugin settings. This is especially useful in case of missed callbacks or payments made outside the order flow. The status column on the Transactions list shows if a transaction has already been utilised or not, so it can help in knowing the status of a specific transaction.

The Safaricom Daraja credentials entered in the plugin settings remain securely on your website and are never transmitted externally. All communications are encrypted to ensure data integrity and confidentiality. Additionally, you retain full control over access to M-Pesa transaction records. Access to payment logs and sensitive data can be restricted to authorized users only, ensuring that your financial data remains protected at all times.

No developer is needed, as you can get all the information you need is on the Safaricom Daraja portal. The plugin comes with a guided setup wizard. Just input your M-Pesa API credentials and configure your Paybill or Till settings. However, we ar aware that there are steps that may be a little complicated, and you can contact us on [email protected] for technical support if you get stuck.

Unfortunately you cannot use the plugin with 3rd party paybills or till numbers, as you do not own the paybill, and therefore you cannot access its credentials on Safaricom Daraja portal.

Yes, after purchasing the plugin, you will receive access to all future updates and new features.