SlideShare a Scribd company logo
Lipa Na M-Pesa Payment for Magento 2 © Meetanshi
Lipa Na M-Pesa Payment for Magento 2
User Guide
Table of Content
1. Extension Installation
2. Configuration
3. Lipa Na M-Pesa Payment Method in Frontend
4. Lipa Na M-Pesa Payment Details in Backend
Lipa Na M-Pesa Payment for Magento 2 © Meetanshi
1. Extension Installation
‱ For Magento Marketplace Customers
o Create a folder structure in Magento root as app/code/Meetanshi/Lipa
o Download and extract the zip folder and upload our extension files to the
app/code/Meetanshi/Lipa via FTP.
o Login to your SSH and run below commands step by step:
â–Ș php bin/magento setup:upgrade
â–Ș For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
â–Ș For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
â–Ș php bin/magento cache:flush
‱ For Meetanshi Customers
o Extract the zip folder and upload our extension to the root of your Magento 2 directory via
FTP.
o Login to your SSH and run below commands step by step:
â–Ș php bin/magento setup:upgrade
â–Ș For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
â–Ș For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
â–Ș php bin/magento cache:flush
Lipa Na M-Pesa Payment for Magento 2 © Meetanshi
2. Configuration
For configuring the extension, log in to Magento 2, move to Sales → Payments Methods →
Lipa Na M-Pesa Payment - Meetanshi where you can find various settings to enable the
extension.
‱ Enabled: Set “YES” to enable the payment method.
‱ Title: Set the title of the payment method to be displayed in the frontend.
‱ Show M-Pesa Logo: Set YES to show M-Pesa logo along with the payment method in the
frontend.
‱ Sandbox Mode: Select YES to enable sandbox mode.
‱ ShortCode: Enter Shortcode provided by M-Pesa while registration with Safaricom.
‱ Pass Key: Enter Pass Key provided by M-Pesa while registration with Safaricom.
o Login to Safaricom and move to credentials where you can find both the Lipa Na M-Pesa
Online ShortCode and Lipa Na M-Pesa Online PassKey.
Lipa Na M-Pesa Payment for Magento 2 © Meetanshi
‱ Consumer Key: Enter consumer key provided by M-Pesa while registration with Safaricom.
‱ Consumer Secret: Enter consumer secret provided by M-Pesa while registration with
Safaricom.
o Login to Safaricom and move to My Apps. Select your app and click on “Keys” tab where
you can find both the consumer key and consumer secret.
‱ URL for Request Payment: Payment request URL will be pre-filled on extension installation.
‱ Access Token URL: Access token URL will be pre-filled on extension installation.
‱ Register URL: Register URL will be pre-filled on extension installation.
‱ Payment from Applicable Countries: Select countries to allow using this payment method.
‱ Debug: Select YES to enable debug.
‱ Instructions: Enter instructions to show along with the payment method in the frontend.
‱ Sort Order: Enter Sort Order of the payment method display in the frontend.
Lipa Na M-Pesa Payment for Magento 2 © Meetanshi
Lipa Na M-Pesa Payment for Magento 2 © Meetanshi
3. Lipa Na M-Pesa Payment Method in Frontend
Once the payment method is configured, Lipa Na M-Pesa Payment method is shown on the
checkout page in the frontend while checking out the products. Just select the Lipa Na M-Pesa
Payment method, add M-Pesa mobile number and click “Place Order” to confirm the payment
and place order successfully.
Lipa Na M-Pesa Payment for Magento 2 © Meetanshi
‱ Lipa Na M-Pesa Payment Details in “My Account” section
Once the order is placed, the Lipa Na M-Pesa Payment details are shown in the Account
dashboard, in “My Orders” tab which includes payment method name, merchant request ID,
checkout request ID, and response description.
Lipa Na M-Pesa Payment for Magento 2 © Meetanshi
4. Lipa Na M-Pesa Payment Details in Backend
Apart from the frontend, the admin can also view Lipa Na M-Pesa Payment details in the Sales >
Orders > Order View section in the backend. It displays the payment details like payment
method name, merchant request ID, checkout request ID, response description, and lipa
number.

More Related Content

PDF
Magento 2 Rave Payment Gateway
PDF
How to Configure Payment Methods in Magento
PDF
Magento 2 Saved Credit Card
PDF
10 Best Magento 2 Payment Gateways to Use in Your Store in 2023.pdf
PPTX
Pay the amount in installments - Magento 2 Partial Payment Extension
PDF
Innovate with payment methods
PDF
cupdf.com_magento-2-mobile-login.pdf
PDF
Magento 2 Cloud Backup
Magento 2 Rave Payment Gateway
How to Configure Payment Methods in Magento
Magento 2 Saved Credit Card
10 Best Magento 2 Payment Gateways to Use in Your Store in 2023.pdf
Pay the amount in installments - Magento 2 Partial Payment Extension
Innovate with payment methods
cupdf.com_magento-2-mobile-login.pdf
Magento 2 Cloud Backup

More from Meetanshi (20)

PDF
Magento 2 QuickBooks Online Integration
PDF
Magento 2 Zoho CRM Integration
PDF
Magento 2 Admin Action Log
PDF
Magento 2 Infinite Scroll
PDF
Magento 2 Sequel Logistics
PDF
Magento 2 Push Notifications
PDF
Magento 2 CBK T-Pay
PDF
Magento 2 BTSWholesaler Dropshipping
PDF
Magento 2 Size Chart
PDF
Magento 2 Inventory Report
PDF
Magento 2 facebook Store Integration
PDF
Magento Cookie Notice
PDF
Magento Order Verification
PDF
Magento Facebook Chat
PDF
Magento WhatsApp Notifications
PDF
Magento 2 Email Attachments
PDF
Magento 2 Maintenance Page
PDF
Magento 2 Call for Price
PDF
Magento 2 SMS Notification
PDF
Instagram Extension for Magento
Magento 2 QuickBooks Online Integration
Magento 2 Zoho CRM Integration
Magento 2 Admin Action Log
Magento 2 Infinite Scroll
Magento 2 Sequel Logistics
Magento 2 Push Notifications
Magento 2 CBK T-Pay
Magento 2 BTSWholesaler Dropshipping
Magento 2 Size Chart
Magento 2 Inventory Report
Magento 2 facebook Store Integration
Magento Cookie Notice
Magento Order Verification
Magento Facebook Chat
Magento WhatsApp Notifications
Magento 2 Email Attachments
Magento 2 Maintenance Page
Magento 2 Call for Price
Magento 2 SMS Notification
Instagram Extension for Magento
Ad

Recently uploaded (20)

PPTX
L1 - Introduction to python Backend.pptx
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Understanding Forklifts - TECH EHS Solution
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
top salesforce developer skills in 2025.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
System and Network Administration Chapter 2
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Introduction to Artificial Intelligence
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Nekopoi APK 2025 free lastest update
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
L1 - Introduction to python Backend.pptx
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Reimagine Home Health with the Power of Agentic AI​
Understanding Forklifts - TECH EHS Solution
How to Choose the Right IT Partner for Your Business in Malaysia
VVF-Customer-Presentation2025-Ver1.9.pptx
top salesforce developer skills in 2025.pdf
PTS Company Brochure 2025 (1).pdf.......
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
System and Network Administration Chapter 2
Upgrade and Innovation Strategies for SAP ERP Customers
Introduction to Artificial Intelligence
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Which alternative to Crystal Reports is best for small or large businesses.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Nekopoi APK 2025 free lastest update
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Ad

Magento 2 M-Pesa Payment

  • 1. Lipa Na M-Pesa Payment for Magento 2 © Meetanshi Lipa Na M-Pesa Payment for Magento 2 User Guide Table of Content 1. Extension Installation 2. Configuration 3. Lipa Na M-Pesa Payment Method in Frontend 4. Lipa Na M-Pesa Payment Details in Backend
  • 2. Lipa Na M-Pesa Payment for Magento 2 © Meetanshi 1. Extension Installation ‱ For Magento Marketplace Customers o Create a folder structure in Magento root as app/code/Meetanshi/Lipa o Download and extract the zip folder and upload our extension files to the app/code/Meetanshi/Lipa via FTP. o Login to your SSH and run below commands step by step: â–Ș php bin/magento setup:upgrade â–Ș For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy â–Ș For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f â–Ș php bin/magento cache:flush ‱ For Meetanshi Customers o Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP. o Login to your SSH and run below commands step by step: â–Ș php bin/magento setup:upgrade â–Ș For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy â–Ș For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f â–Ș php bin/magento cache:flush
  • 3. Lipa Na M-Pesa Payment for Magento 2 © Meetanshi 2. Configuration For configuring the extension, log in to Magento 2, move to Sales → Payments Methods → Lipa Na M-Pesa Payment - Meetanshi where you can find various settings to enable the extension. ‱ Enabled: Set “YES” to enable the payment method. ‱ Title: Set the title of the payment method to be displayed in the frontend. ‱ Show M-Pesa Logo: Set YES to show M-Pesa logo along with the payment method in the frontend. ‱ Sandbox Mode: Select YES to enable sandbox mode. ‱ ShortCode: Enter Shortcode provided by M-Pesa while registration with Safaricom. ‱ Pass Key: Enter Pass Key provided by M-Pesa while registration with Safaricom. o Login to Safaricom and move to credentials where you can find both the Lipa Na M-Pesa Online ShortCode and Lipa Na M-Pesa Online PassKey.
  • 4. Lipa Na M-Pesa Payment for Magento 2 © Meetanshi ‱ Consumer Key: Enter consumer key provided by M-Pesa while registration with Safaricom. ‱ Consumer Secret: Enter consumer secret provided by M-Pesa while registration with Safaricom. o Login to Safaricom and move to My Apps. Select your app and click on “Keys” tab where you can find both the consumer key and consumer secret. ‱ URL for Request Payment: Payment request URL will be pre-filled on extension installation. ‱ Access Token URL: Access token URL will be pre-filled on extension installation. ‱ Register URL: Register URL will be pre-filled on extension installation. ‱ Payment from Applicable Countries: Select countries to allow using this payment method. ‱ Debug: Select YES to enable debug. ‱ Instructions: Enter instructions to show along with the payment method in the frontend. ‱ Sort Order: Enter Sort Order of the payment method display in the frontend.
  • 5. Lipa Na M-Pesa Payment for Magento 2 © Meetanshi
  • 6. Lipa Na M-Pesa Payment for Magento 2 © Meetanshi 3. Lipa Na M-Pesa Payment Method in Frontend Once the payment method is configured, Lipa Na M-Pesa Payment method is shown on the checkout page in the frontend while checking out the products. Just select the Lipa Na M-Pesa Payment method, add M-Pesa mobile number and click “Place Order” to confirm the payment and place order successfully.
  • 7. Lipa Na M-Pesa Payment for Magento 2 © Meetanshi ‱ Lipa Na M-Pesa Payment Details in “My Account” section Once the order is placed, the Lipa Na M-Pesa Payment details are shown in the Account dashboard, in “My Orders” tab which includes payment method name, merchant request ID, checkout request ID, and response description.
  • 8. Lipa Na M-Pesa Payment for Magento 2 © Meetanshi 4. Lipa Na M-Pesa Payment Details in Backend Apart from the frontend, the admin can also view Lipa Na M-Pesa Payment details in the Sales > Orders > Order View section in the backend. It displays the payment details like payment method name, merchant request ID, checkout request ID, response description, and lipa number.