DOCUMENTATION
DOCUMENTATION
How To Install
Setting Up
Prerequisites
Configuration
1
Setting up this plugin is pretty straight-forward. Just navigate to the
WooCommerce settings page and follow the instructions there.
Going Live
This is one process which has had several people scratching their
heads on the portal. It is the process which one uses to enable their
application to carry out requests on the live API and begin processing
client payments. For this process, you require at least the following
two items already existing:
Paybill Number
This is the shortcode which you received after you registered to use
mpesa services.
These are admin users on your Mpesa Org portal who have the roles
of either the Business Administrator or the Business Manager
assigned to them. To confirm who this is, you can try to follow the
steps below on the Mpesa Org Portal:
Log into the Mpesa Org portal using the shortcode which you shall
use in the Go Live process using an admin user.
Check if you have the Browse Organization menu at the top of the
screen. If not, you are not an admin, log out. If you have it, click on it.
Click on the Operators sub-menu on the bar that appears on the left
of the screen, A list will appear showing all the users on your
portal, and their roles.
From this list, check on the Role column and see if anyone has the
Business Administrator/Manager role on them. You can also click on
the Operation icon at the far right on the list to see their profile and
the complete list of roles assignable to them. That user with the
Business Administrator/Manager role is the required one for the Go
Live process.
After confirming the above details, you may start the process. On
the first step of the Go Live process, you shall be required to
download and fill in a form specifying how your tests went
along. These cases consist of the possible scenarios which you shall
encounter as you test your application. The test cases just need a
simple Success or Fail response on the Actual Results tab. I doubt you
will have a Fail on that file anyway.
Once downloaded and filled, go back to the same Page and upload
the form via the Upload Test Results form, click on Upload, then after
the form has been picked up, check the Terms and Conditions
checkbox, then click on Next.
Once you click on Submit, and mpesa confirms the details you put as
correct, it will send an OTP to the Phone Number registered on the
Org Portal under the user whose username was filled on the
verification form. Once you get the OTP on your phone (you might
need a few retries), you shall fill it on the next section, the OTP
Confirmation section. From the docs, the OTP has an expiry timeout
of 3 minutes, thus you need to be fast, or you can just click on
Resend OTP. Once the OTP has been confirmed, you shall then be
given the chance to select the APIs you are applying for (note the
limitations mentioned in the API Apps section).
Acknowledgements
● MPESA and the MPESA Logo are registered trademarks of
Safaricom Ltd
● WordPress and the WordPress logo are registered trademarks
of Automattic Inc.
● WooCommerce and the WooCommerce logo are registered
trademarks of Automattic Inc.