Administrator Manual
Safaricom M-Pesa

Configuration Details of the Account

Using Safaricom M-Pesa as a gateway for payments in Kenya requires you to register at: https://developer.safaricom.co.k following the information provided.
After registration, you will get access to “Safaricom Developers Portal” where you will be able to create your own test App for payments.

To create the App, follow the procedure:

  • Click “Get Started”
  • Select “MY APPS” at the top
  • Click on the “CREATE NEW APP” button
  • Define the name of the App
  • Select “Lipa Na M-Pesa Sandbox”
  • Click “CREATE APP”

In the list, the created App will appear, copy the “Consumer Key” and the “Consumer Secret” and paste them into the “Currency and Payment Systems” panel, “Payment Systems” > “Safaricom M-Pesa”.
To obtain the Business Code and Pass Key used to complete the data of the “Currency and Payment Systems”:

  • Click “APIS” at the top
  • Click “LETS GO!” in the “Authorization” box
  • Select the APP in the combo box “Select or search one of your apps”
  • Click the icon at the bottom right
  • Copy the “SusinessShortCode” and paste it into the “Test Business Code” field of the “Currency and Payment Systems”
  • Copy the “TillNumber” and enter it in the “Test Till Number” field of the “Currency and Payment Systems”

  • Copy the “PassKey” and paste it into the “Test Pass Key” field of the “Currency and Payment Systems”

Warning! If the currency for the manager is not the Kenyan Shilling, in the purchase procedure, the users will view the amount in the selected currency. Yet, at the time of payment, the amount will be automatically converted into Kenyan Shillings “KES” according to the current exchange rate.