Mpesa stk push javascript The money is automatically sent to your M-Pesa till number, paybill number, or bank account that you have connected to your PesaFlux account. Jan 3, 2025 · This project offers a robust and scalable M-Pesa API integration in Node. Built with modern Jul 3, 2023 · Welcome to the ultimate MPESA Daraja API course in Python! Are you ready to take your coding skills to the next level and build your own payment gateway usin Implementing Lipa na Mpesa STk push: the project involves making two calls to safaricom through DARAJA API(Authorization API & MPesa Express API),then persisting the payment details to a mongo Mpesa Daraja api using Django-daraja library in Django web framework to initiate an STK push without hassle as easy as possible Oct 7, 2021 · Testing the Lipa na M-Pesa API on Postman Making the GET and POST http requests from flutter App; sending the M-Pesa STK Push Trigger request. 0 API add to cart feature, dark mode and order and Apr 9, 2022 · Successful stk push response: The CheckoutRequestID is the unique order_id from mpesa daraja A powerful solution for integrating Safaricom's M-Pesa services into your Node. This is the same technique my Safaricom App uses whenever the app is used to make payments. By the end of this guide, you should be able to integrate the Mpesa express API in Nodejs and express. Whether you're building a web app or mobile backend, this guide is perfect for developers working with the Daraja API and looking to add real-time mobile payment functionality using M-PESA. e without introducing additional steps e. safaricom. Bringing the MPESA G2 API to the 21st century. Apr 26, 2025 · STK Push (Lipa Na M-Pesa Online) - Initiate payment requests directly to customer phones C2B (Customer to Business) - Process payments made by customers to your business Learn how to use the Safaricom STK Push feature within our M-Pesa transactions portal. Nov 25, 2024 · Mpesa API integration has become a game-changer for businesses looking to streamline their payment processes. A premium Laravel package for secure, production-ready M-Pesa STK Push integration. STK Push allows you to initiate payment Nov 1, 2024 · By integrating with this API, businesses can send a payment prompt to a customer’s phone, allowing them to authorize the payment by entering their M-PESA PIN. This solution allows customers to make payments effortlessly by receiving a prompt on their mobile phones to enter their M-Pesa PIN and complete transactions securely. push mpesa stk push-notification Updated Jan 17, 2024 JavaScript Aug 23, 2024 · Initiate STK Push Requests — To initiate an STK push payment, make a POST request to the /mpesa/stk/initiate endpoint with the following parameters: consumer_key: Your MPESA API consumer key. Any contributions you make are greatly appreciated. This guide walks you through the installation, configuration, and activation process. push mpesa stk push-notification Updated Jan 17, 2024 JavaScript How long does it take to set up and start using the service? You can be up and running in under 10 minutes! Once you sign up and provide your valid M-PESA Daraja API credentials, you can start sending STK Push prompts immediately. I will be illustrating how to initiate an STK push using Tinypesa API ,we will be able do this using fetch ,a JavaScript method for sending requests to the s This is a simple 'Kibandaski' shop demonstrating M-pesa STK Push and STK Query API. Lets learn https://developer. M-Pesa STK Push integration Phone number validation with country code Paybill and Till number support Transaction logging and tracking Sandbox and production environment support Responsive payment form Comprehensive callback handling MySQL database integration Script Description How to Install and Run Mpesa Till Only STK Push on PhpNuxBill Introduction Integrating Mpesa Till STK Push into **PhpNuxBill** allows seamless payment processing for your users. Sep 29, 2023 · How to send an MPESA stk push using php. Below is a code example on how to send M-Pesa STK Push. The plugin handles the STK Push process automatically, providing a seamless payment experience for your customers. Apr 3, 2025 · A fully functional M-Pesa payment gateway integrated with WooCommerce. This library provides a builder-style interface to enhance the ease of use. This integration allows seamless mobile banking payments, enhancing your billing and transaction processes within PHPNUXBILL. The mpesa-sdk is a comprehensive and easy-to-use PHP library for integrating with the M-Pesa API. js/Express. How to Do Polling Requests to an API in JavaScript \\(with MPESA STK Push Example\\) When you integrate payments like MPESA Daraja STK Push, the customer confirms the payment on their phone. By embedding Mpesa’s payment gateway into a website, businesses can offer customers a seamless and secure way to make transactions directly online. js Express API that integrates with Safaricom's Lipa Na MPESA STK Push service. github. This API facilitates secure and seamless payment processing through the Lipa Na M-Pesa Online (STK Push) service. js application using Express and Axios. js wrapper for seamless integration with Mpesa's Daraja API. Ideal for quickly adding M-Pesa payment functionality to your app. io to find implementations in other languages and more documentation. Boost the skill level of yourself and your A powerful solution for integrating Safaricom's M-Pesa services into your Node. GitHub Gist: instantly share code, notes, and snippets. After the user completes the payment, the system cross-checks the payment status using a checkout request ID to ensure the transaction is successful. Mar 30, 2025 · In this guide, I’ll walk you through implementing Safaricom’s M-Pesa STK Push (also known as Lipa Na M-Pesa Online) using Node. This system provides a RESTful API that handles all aspects of movie ticket management and payment processing. The customer does not need to enter the merchant’s information or any other transaction details. The backend handles the initiation of M-Pesa STK push requests, enabling seamless payment processing in your application. Create one here. Exclusivity We earlier mentioned that IntaSend is only one of the few companies offering the M-Pesa API integration. Lipa na M-Pesa Online Payment API is used to initiate a M-Pesa transaction on behalf of a customer using STK Push. Analyze licenses for `mpesa-stk-push@1. KCB Bank provides APIs through their Buni API Gateway, allowing developers to trigger Lipa na KCB (STK Push) requests directly from their applications. About mpesa-express-payment-template: A Node. com/mosecanon/How-to-s This Subscriptions api is build with rails and is meant sigup and login user, post selected packages to database, and trigger the M-pesa STK push to prompt payment from a user to pay for selected package (s). Feb 21, 2024 · Mpesa Payment demonstration Code: STK Push. In this tutorial, we'll be exploring Mpesa API integration with both Node. If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Oct 1, 2025 · Step-by-Step: Building M-Pesa Daraja API Integration for React Native STK Push Payments. This is the same technique mySafaricom App uses whenever the app is used to make p Lipa Na MPESA Online (STK Push) Android Sample Application. This allows you to reduce customer drop-offs by providing a secure and reliable payment method. Handle Lipa na M-Pesa Online (STK Push), C2B, B2C, and webhook callbacks with ease. mpesa STK push plugin for wordpress woocommerce. You will achieve this in several steps: Have a callback that saves the transaction details to a database of your choice. Follow along as we set up everything from STK Push payments to handling callbacks, checking Members-only content Consuming the MPESA Daraja STK Push Callback - MPESA API TIPS Members only Code With Ben 4. It includes examples and configuration instructions to help you integrate M-Pesa payments into your application. LIPA NA M-PESA ONLINE API also know as M-PESA express (STK Push) is a Merchant/Business initiated C2B (Customer to Business) Payment. 📌 You might want to trigger the M-Pesa STK push directly to the user i. Contribute to nestah/mpesa development by creating an account on GitHub. A node. Contribute to safaricom/mpesa-php-sdk development by creating an account on GitHub. ke/ …more MPesa Integration API A complete Node. 💡 What Makes Uzalynx POS Stand Out Instant M-Pesa Payment Verification As soon as customers pay via M-Pesa (Paybill, Till, or STK push), Uzalynx POS captures and confirms the transaction in real time. Secure API Communication: Utilizes secure OAuth 2. js/Express integration for Safaricom MPesa API with support for STK Push, C2B, B2C, transaction queries, and more. M-Pesa registered phone number of the customer making the payment. STK Push: Initiate payment requests to customers via the MPesa STK Push feature. With this request, the user gets then M-Pesa prompt to enter their PIN and completes the transaction. co. Transaction Status: Query the status of a particular MPesa transaction. Customer to Business (C2B): Process customer payments with validation and confirmation callbacks. g redirecting the user to a URL. Mar 25, 2025 · Enhance your PHPNUXBILL billing system with seamless M-Pesa STK Push & C2B offline payment integration. JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle. Prerequisites Before we get started, ensure you have the following: Sep 9, 2022 · I searched best online tutorial that could explain how the Mpesa APIs work and how to implement the integration using my favorite Language (Node js), unfortunately, I didn't find any I had to go In this video, I demonstrate a complete MPesa integration process, including the STK Push initiation, listening for payment confirmation, displaying the process conclusion, and saving transaction This is a Node. js and PHP. With IntaSend's M-Pesa express STK Push API, merchants can conduct mobile money transactions and push their details to a customer's mobile phone. If you have a Standalone M-Pesa payments service using the new Daraja Payment API by Safaricom. A Python SDK for integrating M-Pesa services, including STK Push, C2B, and B2C payments, with easy-to-use authentication and transaction handling How to Do Polling Requests to an API in JavaScript \\(with MPESA STK Push Example\\) When you integrate payments like MPESA Daraja STK Push, the customer confirms the payment on their phone. js starter template for Safaricom's M-Pesa Express API integration. Mpesa is a mobile payment platform used in Kenya, and integrating it with your web application can provide your users with a KCB M-Pesa STK Push Gateway enables WooCommerce stores in Kenya and East Africa to accept mobile money payments via KCB's M-Pesa Express (STK Push) API. Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework. Mar 27, 2025 · This article walks you through implementing M-Pesa STK Push in a Spring Boot application using OkHttp for HTTP requests. Testing the API on Postman: Prerequisites: Credentials (username and password) for accessing the API. A simple flask API to initialize lipa na mpesa stk push Sep 29, 2023 · How to send an MPESA stk push using php. It enhances the payment process by enabling businesses to initiate Mpesa STK Push transactions directly from the POS interface and updates the user with the transaction status (successful, canceled, or failed). Oct 7, 2025 · How to Do Polling Requests to an API in JavaScript (with MPESA STK Push Example) When you integrate payments like MPESA Daraja STK Push, the customer confirms the payment on their Feb 26, 2023 · STK Push Apart from collecting card payments from your customers, IntaSend offers MPesa Express STK Push. May 21, 2025 · The Movie Ticket System is a comprehensive Node. Step 1: Generate the client 🚀 Learn how to accept **M-Pesa payments** on your website using **STK Push** — even without a backend! This step-by-step tutorial walks you through everythi Mar 24, 2025 · Discover premium coding scripts and expert programming courses by Alvin Kiveu. 0. 0 API and Tinypesa API. 1 - a JavaScript package on npm - Libraries. the JavaScript SDK helps add some layer of security to your website and app, where your customers can add their phone numbers before they pay. io Increase engagement and drive more repeat traffic to your WordPress site with push notifications. hostprolimited / duka-shop Star 2 Code Issues Pull requests mpesa stkpush lmno stk-push Updated on Jun 27, 2022 JavaScript Talk to MPESA API via a REST API. Simplify online transactions for your customers and skyrocket your website's performance. js — from generating an access token to initiating an STK push and handling callbacks from May 21, 2023 · Authorize your Mpesa API by generating an access token for every API call Invoke the STK push endpoint that prompts the user to impute their Mpesa pin to authorize Mar 19, 2025 · Integrating Mpesa Till STK Push into **PhpNuxBill** allows seamless payment processing for your users. Learn more about the new push STK feature for M-Pesa and how it enables a faster and smoother transaction process for both customers and merchants alike. Aug 16, 2017 · I am using the MPESA-Express also called the STK push api V1 to receive payments from my clients. push mpesa stk push-notification Updated Jan 17, 2024 JavaScript Uzalynx POS is here to save you — with a powerful, integrated system that brings speed, security, and clarity to every transaction. This project implements an M-Pesa STK Push integration for a Node. Please don't forget to subscribe, like, comment and share Source Code: https://github. Apr 29, 2024 · In this article, we will look into integrating Mpesa STK push API with Node and Typescript. Say Mpesa STK push using Html, Javascript, API. This module integrates Mpesa payment functionality into Odoo's Point of Sale (POS) system. com/mosecanon/How-to-s 🚀 Learn how to accept **M-Pesa payments** on your website using **STK Push** — even without a backend! This step-by-step tutorial walks you through everythi Mar 24, 2025 · Discover premium coding scripts and expert programming courses by Alvin Kiveu. Step 2: Make incoming payment request Make a payment request to the Kopo Kopo API. Initiate and manage push payment requests directly from our platform to your customer's phone number. xyz /api/payments/stk-push Tags: python django mpesa I would like to be able to integrate MPESA API C2B Till Number Payment capabilities with STK push into a Django Web app I am working on such that the user of the platform gets an STK Push notification to pay to the till number and the transaction is stored in the database through a model. This is a Svelte component that integrates PayStack's M-PESA STK Push functionality, allowing users to initiate payments via their mobile phones. It facilitates initiating M-Pesa payments through the Safaricom Daraja API. push mpesa stk push-notification Updated Jan 17, 2024 JavaScript Collect funds from a phone numberM-PESA STK Push POST https://api. This laravel project provides an application to manage and process M-PESA C2B callback registration, callback data and STK push services - harrykerry/laravel-mpesa-integration mpesa stk push button for c2b payments - 1. This app demonstrates an e-commerce purchase and checkout process via Mpesa and Daraja 😄 Dec 7, 2021 · In this Tutorial Series, you will learn integrate Lipa na Mpesa to Website using Daraja API You will learn how to simulate STK PUSH on users phone when they pay with Mpesa STK Push is a very M-Pesa API Package for PHP. There are no plans to introduce a commercial license or restrict usage. Script Description Bank STK Push Integration for PHPNUXBILL Overview Easily integrate Bank STK Push into PHPNUXBILL with this simple yet effective solution. js and Express. You can use this repository as boilerplate A powerful solution for integrating Safaricom's M-Pesa services into your Node. A package that simplifies mpesa payments through stk push. Oct 4, 2025 · When you integrate payments like MPESA Daraja STK Push, the customer confirms the payment on their Tagged with daraja, webdev, programming, javascript. M-Pesa STK Push Integration: This repository provides a simple implementation of the M-Pesa STK Push API, allowing you to initiate payments directly from a user's mobile phone. 1` and its dependencies. push mpesa stk push-notification Updated Jan 17, 2024 JavaScript Mpesa API Integration PesaFlux Mpesa API enables you to collect payments on your website or mobile app through M-Pesa STK Push. The request payload will need to Lipa na Mpesa STK push in JavaScript | Mpesa Integration JavaScript Create a USSD App with Mpesa Integration: Full Tutorial Watch his reaction when he’s told he’s a GOOD BOY for the first time Samdepark / lipa-na-m-pesa-server- Star 0 Code Issues Pull requests push stk m-pesa portal stkpush Updated on Jan 10 JavaScript In this video, we dive deep into creating a full Django app with seamless M-Pesa payment integration. May 15, 2025 · So, if you're running your business through a WordPress website and you want to accept payments through M-Pesa, we have a solution just for you - the Mpesa Push Toolkit for WordPress. It provides a seamless way to handle mobile money transactions, including STK Push (Lipa Na M-Pesa Online), C2B (Customer-to-Business), B2C (Business-to-Customer), transaction status queries, and reversals. Now a Wordpress VIP Gold Partner. Read Also: How to Transfer Funds from Pesapal to Mpesa Benefits of Using M-Pesa Prompt on Pesapal POS Terminal Efficiency: The STK push streamlines the payment process by eliminating manual entry of Paybill or Till numbers, thus speeding up transactions and reducing errors. As mobile money usage grows, particularly in regions like Kenya, having this integration means staying connected with the primary Analyze licenses for `mpesa-stk-push@1. This is a simple 'Kibandaski' shop demonstrating M-pesa STK Push and STK Query API. pesawise. In this tutorial I will be illustrating how to send STK push using Safaricom`s daraja api on Safaricom developer portal. A simple flask API to initialize lipa na mpesa stk push A powerful solution for integrating Safaricom's M-Pesa services into your Node. Ideal for testing and learning mobile payment a stk push build with nodejs . js applications. Prerequisites: Safaricom developer account. - 1. This implementation provides a robust and scalable solution for handling M-Pesa transactions, including STK Push. In this tutorial, we'll be exploring Mpesa API integration with PHP. push mpesa stk push-notification Updated Jan 17, 2024 JavaScript May 7, 2021 · Lipa na M-Pesa Online Payment API is used to initiate an M-Pesa transaction on behalf of a customer using STK Push. Real-time Payment Notifications: Receive instant feedback when payments are successfully processed. Unlock the power of instant payments with our easy M-Pesa STK Push integration using the Intasend API. No-code Bubble. This app demonstrates an e-commerce purchase and checkout process via Mpesa and Daraja 😄 Receive funds from M-PESA users Step 1: Obtain an application access token Your application will need to exchange its client_id, client_secret, and grant_type=client_credentials for an application access token. Customers can pay directly from their mobile devices, improving conversion rates and user experience. STK Push: Effortlessly trigger M-Pesa payments to your customers via STK Push. Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. 0 - a JavaScript package on npm - Libraries. Javascript Inline SDK only allows you to collect money via the M-Pesa STK push. Aug 20, 2022 · How to integrate the Mpesa STK push API in Nodejs. This eliminates the need to remember business paybill numbers or account numbers. Contribute to SmoDav/mpesa development by creating an account on GitHub. Jan 26, 2022 · This is a simple 'Kibandaski' shop demonstrating M-pesa STK Push and STK Query API. Visit https://daraja-sdks. In this tutorial, I’ll walk through how to integrate KCB’s STK Push API with Node. 29K subscribers Learn to integrate Mpesa to your applications with STK PUSH ,Transaction status,C2B,B2C and callback processing using Daraja 2. To get the customer paying, I am looking for the PhoneNumber value in the results body of the response A simple and responsive interface for initiating M-Pesa payments via STK Push. It allows you to initiate STK push requests to customer phones so they can complete payments by entering their MPESA PIN. Sep 30, 2025 · A summary of all mentioned or recommeneded projects: node, ngrok, and Visual Studio Code You will learn how to simulate STK PUSH on users phone when they pay with Mpesa on Python Django website STK Push is a very useful step in receiving payments on your system. Lipa Na MPESA Online (STK Push) Android Sample Application. -- xml soap payments mediator online-payments mpesa sag mpesa-api safaricom mobile-money Updated Oct 13, 2024 JavaScript Oct 31, 2024 · They must enter their M-PESA PIN to complete the transaction securely. Includes pre-configured environment variables and example code for merchant-initiated payments using the STK Push API. js backend application that enables users to browse movies, purchase tickets, and process payments via M-Pesa. 0 tokens for all API interactions. With this token, you can then make API requests to the Kopo Kopo API. Learn Laravel, PHP, JavaScript, and more with high-quality resources and tutorials. Mpesa is a mobile payment platform used in Kenya, and integrating it with your web application can provide Sending user a prompt to pay for an order using the stk push API and also confirming the payment using the checkout request ID Contributions are what make the open source community such an amazing place to learn, inspire, and create. Contribute to apxcde/mpesa-stk-wc development by creating an account on GitHub. This package is fully free to use and open for contributions. . Description This is a simplified PHP script that you can use to integrate MPesa payment system in your website or mobile application. Apr 5, 2024 · To demonstrate M-Pesa integration in a Django project for selling a product, we will create a simple Tagged with webdev, javascript, beginners, programming. This API enables a merchant to initiate an M-Pesa transaction on a customer's behalf. Built for seamless API integration and real-time transaction feedback. The A PHP sdk for the new Mpesa RESTful APIs. MPESA_STK Django-Daraja STK push. A powerful solution for integrating Safaricom's M-Pesa services into your Node. This repository contains the backend implementation for integrating M-Pesa Express payments using Node. You are encouraged to use, modify, and contribute to the package. A fully responsive E-commerce website template with Mpesa STK Push at Checkout using the official Daraja 2. io integration (send money, collect money, M-Pesa B2B API via M-Pesa STK push). Contribute to Muia23/MPESA-API development by creating an account on GitHub. Mpesa Express Daraja API integration in Nodejs and express it's a method to send a payment notification to the user, prompting them to pay for a particular order using the stk push API. The Daraja API allows developers to integrate M-Pesa payment services into their applications. It also includes a loader for processing states and SweetAlert2 for displaying transaction status updates. Contribute to Harsh-creator001/Mpesa-STK-push development by creating an account on GitHub. The component is designed with a modern and elegant UI, featuring gradient effects, glass morphism, and smooth animations. Oct 15, 2018 · When Daraja receives the request it then triggers an STK push to the user’s phone prompting the user to enter his/her M-Pesa password to complete the transaction. io This project is a server-side implementation of the Daraja API by Safaricom, built using NestJS. mpesa-api daraja-api stkpush safaricom-daraja-php Updated Sep 18, 2024 PHP Alloys9 / mpesa-rahisi Star 4 hostprolimited / duka-shop Star 2 Code Issues Pull requests mpesa stkpush lmno stk-push Updated on Jun 27, 2022 JavaScript Talk to MPESA API via a REST API. Sep 30, 2025 · Mobile payments are the backbone of Kenya’s digital economy. jcyrllm zprfaoq bnsvbiz ieepi rnh erqtznhz vwjrcd brgv qhgiea trtnahh dbxvtkf mtrhsc eeuys tgq lyvb