Note that only Paid users can use M-Pesa Express automated payment method
Automate your payments for Kenya. Collect money by pushing notifications onto your customer’s phones. Once they accept the notification, you get paid.
How to set up M-Pesa Express as a payment method
Note: To use this feature, please set your store currency to KES under Admin > Settings > General
1. Go to Admin > Settings > Integrations > M-Pesa Express
.
2. Key in your Consumer Key, Consumer Secret, Short Code, Till Number, and Passkey in the field provided.
3. Go to Admin > Settings > Payments
. Click on +Add
and choose M-Pesa Express
.
4. Select the API Key you just keyed in from the API Key dropdown.
5. Add fee rate and fee amounts if you'd like to offset the transaction costs incurred.
6. Click on Save
Where to find my M-Pesa Express credentials?
1. Register as developer in https://developer.safaricom.co.ke/
2. Navigate to the "My Apps" section and create a new application, specifying its purpose and environment (Production).
3. Obtain Credentials
Consumer Key and Consumer Secret: These will be displayed on the application details page after creation.
Passkey: For production, the Passkey is obtained after registering the app and initiating the Go Live process. It's associated with your registered business number and can be found on the M-PESA Business Portal or through the Safaricom support team.
Shortcode and Till number
Shortcode is store number or HO number (shortcode used to go live)
Till Number is your business's till number
Both are also obtained during the app creation or onboarding process. It is the number your customers will use to make payments.