Knowledge Base

M-Pesa Integration

  • 81views
  • February 7, 2024

M-Pesa Integration

The M-Pesa integration enables the handling of transactions through the payment gateway provider M-Pesa.

This integration streamlines the payment process between the M-Pesa application and BizCentric. Notably, the M-Pesa Integration is specifically designed for Point of Sale (POS) transactions, facilitating payments exclusively within this context. It is important to note that this feature is not compatible with the shopping cart functionality.

To set up M-Pesa, go to:

> Integrations > Payments > M-Pesa Settings

1.How to get your M-Pesa credentials?

  1. Log in to your M-Pesa account.
  2. Access the “Go Live” section of the application.
  3. Follow the steps provided to obtain approval for your app.
  4. Complete all test cases and ensure that the final results align with the expected outcomes.
  5. Submit the required documents and follow the instructions to obtain the final credentials for your application.
  6. Utilize the credentials specified in the “Production URL and Credentials” section in the M-Pesa Settings.

2.Setting up M-Pesa

To activate M-Pesa Express, you must configure all the essential parameters received from M-Pesa. If you opt to use the staging environment, you can select this option and utilize the provided staging credentials from M-Pesa by establishing a separate application for testing purposes.

Upon enabling M-Pesa integration within BizCentric, the system will generate a Payment Gateway record and an Account Head in the Chart of Accounts, designated with the Account type as Bank.

Additionally, a Mode of Payment with identical details and accounts as the payment gateway’s will be created. Furthermore, certain custom fields will be added in POS Settings to manage POS payments effectively.

Following the setup of the Payment Gateway Account, you will be equipped to receive online payments via M-Pesa.

3. M-Pesa POS Payments

Upon configuring the POS profile with M-Pesa as the mode of payment, the POS checkout interface will display an additional information section. This section includes two fields that are automatically configured upon adding M-Pesa settings.

When a POS user enters the customer’s mobile number, they can initiate a payment request from the customer. This request is sent to the customer’s M-Pesa mobile application associated with the provided mobile number. Upon processing the payment, the user receives a confirmation prompt to finalize the transaction.

4. M-Pesa Account Balance

You can retrieve the account balance associated with an individual M-Pesa account by clicking on the “Get Account Balance” button. This action will display the details of the M-Pesa account balance on the dashboard.

5. Supporting transaction currencies

M-Pesa will only work for the Company which has KSH (Kenyan Shilling) as the Company Currency.