This plugin is dependent on Woocommerce Plugin and for it to work it needs details from Daraja portal by Safaricom.
This plugin does not work with Kopokopo Till Numbers, since the integration is different.
There is usually a test paybill and online passkey provided on Daraja Portal for testing purpose. Get Test Credentials
Till Number Integration
This integration will need access to M-PESA portal .
Your account can be set up by writing an email to M-PESABusiness@safaricom.co.ke to request for it.
Once you have the username and temporary password sent to your email, follow the steps on this link to get the certificates used to access the portal.
Once logged into the M-PESA portal, create a new operator using the Store Number provided by clicking on Browse Organizations and then the Add button and choose API as the access channel.
Make sure you assign the operator Business Administrator or Business Manager role and fill in the details requested.
The new operator will appear under Children in the Overview menu.
The Store Number used here will be used in Daraja for the Go Live process.
Paybill Number Integration
You will need access to M-PESA portal just to confirm if everything is ok.
No need to create an operator in this case but just verify that the existing operator has a Business Manager or Business Administrator Role.
The Paybill Number will be used in the Go Live process in Daraja.
Go Live Process
The Go Live process is in Daraja Portal.
If you do not have an account, create one by clicking on the link above.
There is a Go Live option on the menu, click on it and you will see an option to download test cares.
Download the test cases and fill the test results on the STK Push request tab with either Success or Failure depending on how you tested the app on sandbox.
Select Shortcode as the Verification Type and fill in the details. In the case of Till number, use the Store Number as the Organization Short Code while in the case of Paybill Number, use the Paybill Number.
The MPesa User Name is the one used while logging in in the M-PESA Organization portal to create the operator.
In the OTP Confirmation tab, make sure you select the M-PESA Express or Lipa Na M-PESA option, if it is not available then it means there is a step missed during the set up.
Finish the process and the production URLs will be sent to your email. The Lipa Na M-PESA online passkey will also be sent on the same day of Go Live. In case there is a delay in the Online Passkey being sent, write an email to firstname.lastname@example.org to inquire about it.
Pro Version Plugin Settings
When you choose Till Number identifier type, The Store Number will be the one used for Go Live and the Shortcode will be the Till Number. When the choice is Paybill identifier type, the Head Office Number will be the paybill and the shortcode will also be the paybill.
The Passkey is the one sent on the email while the Consumer Key and Consumer Secret is the one on the Daraja production app created after Go Live.