CREATING WEB AND API OPERATORS FOR LIPA NA MPESA

CREATING WEB AND API OPERATORS FOR LIPA NA MPESA

Here is how you can create web and API Operators for Safaricom’s lipa na Mpesa paybill number or till number.

CREATING WEB AND API OPERATORS

  • Visit the MPESA Portal url https://org.ke.m-pesa.com/ and login with the username and password you received from Safaricom after sending them the letter on Step 1 above. Note that Shortocode refers to either Paybill Number or Store number (use Store number if you have a Till Number
Image for post

Image for post

  • Enter the One Time Passcode (OTP) that is sent to your phone number
Image for post

Image for post

  • Once logged in, click on Browse Organization
Image for post

Image for post

  • Next, click on Operators, then click on the Add icon
Image for post

Image for post

Create an API Operator

  • Start by creating an API operator. Select API under Access Channel
Image for post

Image for post

  • Enter an appropriate API username and click on Next
Image for post

Image for post

  • Under Rule Profile, select Web Operator Rule Profile
Image for post

Image for post

  • Then click on the *Add* icon, and select the following options under the Select Role dialog, then click on OK
Image for post

Image for post

  • After that, you’ll see screen of the roles you just select, you can add more roles here or just hit the Next button
Image for post

Image for post

  • The next option is the *Know Your Customer — KYC* fields, enter the details and click on next. Make sure under Preferred Notification Channel, you select SMS and your phone number follows the format 2547xxyyyyyy e.g 254746490042. After that click on next and finish
Image for post

Image for post

Create a Web Operator

  • Click on Operators then on the Add icon
Image for post

Image for post

  • Then select Web under Access Channel
Image for post

Image for post

  • Enter an appropriate username and note it down as you will need it to login back to the MPESA portal later
Image for post

Image for post

  • Under Rule Profile, Select Web Operator Rule Profile
Image for post

Image for post

  • Then click on Add button and select the options shown below under Role
Image for post

Image for post

  • Then hit next after that
Image for post

Image for post

  • Fill in the KYC details as shown below
Image for post

Image for post

  • Finally submit to create your Web Operator. Immediately you submit, you will receive a SMS on the number you entered under KYC information. The SMS contains the username and password for your Web Operator. Logout and log back in using the details on sent the SMS to activate the Web Operator. In order for the plugin to work, the web operator must be active
Image for post

Image for post

c) Creating Consumer and Secret Keys on Daraja

Image for post

Image for post

  • Click on GO LIVE menu option
Image for post

Image for post

  • Download this testcases excel file to your computer, then choose it Upload Test Results, then hit the *Upload* button to ensure the file is uploaded to Safaricom servers, check the Terms and Conditions and hit on Next to proceed
Image for post

Image for post

Image for post

Image for post

  • Fill in the details as below and click on Verify
Image for post

Image for post

  • On the next screen, choose all the products as shown, enter the OTP code that will be sent to your phone number and submit
Image for post

Image for post

  • That is it, you have successfully applied for your consumer and secret keys
Image for post

Image for post

  • Click on Company name to switch the company to the one you just created
Image for post

Image for post

  • Make sure you are inside the company you just created, then select the *MY APPS* menu option. You will see the app you just created and it’s status as pending. Safaricom API team will activate it after some time
Image for post

Image for post

  • After your app has been approved, log back in and get the consumer key and secret key, which you’re gonna paste on the Mpesa WooCommerce Plugin settings
Image for post

Image for post

Leave A Reply