wslib/esewa

A library for php to integrate Esewa payment gateway

1.0.2 2024-05-25 05:25 UTC

This package is auto-updated.

Last update: 2025-05-29 01:58:11 UTC


README

The eSewa PHP Library is a tool designed for integrating the eSewa payment gateway into PHP-based web applications. It facilitates seamless processing of payments by providing functionalities to send payment requests and handle responses from the eSewa platform.

Installation

Install my-project with npm

  composer require wslib/esewa

Usage/Examples

use Wslib\Esewa;

$esewa = Esewa::init()
$esewa->config("transaction_id", "success_url", "failure_url", "amount");
// verify the transaction
$esewa->validate("transaction_id", "amount")

Authors