Search by

jengo / pesa

gilads-otiannoh254

Unified multi-gateway payment processing subsystem for CodeIgniter 4 and the Jengo Framework with M-Pesa Daraja 3.0, Pesapal v3, Stripe, and Flutterwave support.

v0.1.0 2026-10-09 12:42 UTC

This package is auto-updated.

Last update: 2026-10-09 14:53:48 UTC


README

Jengo Logo

Jengo Pesa

Unified multi-gateway payment processing subsystem for CodeIgniter 4 and the Jengo Framework with first-class support for M-Pesa Daraja 3.0, Pesapal v3, Stripe, and Flutterwave.

Documentation • License • Issues

Installation

composer require jengo/pesa
php spark jengo:install pesa

Quick Start

use Jengo\Pesa\DTO\StkRequest;
use Jengo\Pesa\Pesa;

// Trigger an M-Pesa STK Push
$response = Pesa::gateway('mpesa')->stkPush(new StkRequest(
    phone: '0712345678',
    amount: 1500,
    accountReference: 'INV-1002',
    transactionDesc: 'Annual Subscription'
));

// Hosted checkout (Pesapal or Stripe)
$checkout = Pesa::gateway('pesapal')->checkout(new CheckoutRequest(
    amount: 4500,
    currency: 'KES',
    description: 'Order #442',
    callbackUrl: site_url('/orders/442/verify')
));

Documentation

For full guides on M-Pesa Daraja 3.0 workflows (STK, C2B, B2C), hosted checkouts (Pesapal v3, Stripe), transaction ledgers, auto-routed webhooks, and CLI commands, visit https://lipex-org.github.io/jengophp.com/packages/pesa/.

License

Released under the MIT License.