PHPackages                             ineffablesam/indipay-2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ineffablesam/indipay-2

ActiveLibrary

ineffablesam/indipay-2
======================

The Laravel 5+ Package for Indian Payment Gateways. Currently supported gateways: CCAvenue, PayUMoney, EBS, CitrusPay, InstaMojo, ZapakPay, Paytm, Mocker.

V1.0.2(2y ago)05MITPHPPHP &gt;=5.4.0

Since Nov 3Pushed 2y agoCompare

[ Source](https://github.com/ineffablesam/indipay-2)[ Packagist](https://packagist.org/packages/ineffablesam/indipay-2)[ RSS](/packages/ineffablesam-indipay-2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

IndiPay
=======

[](#indipay)

The Laravel 5+ Package for Indian Payment Gateways. Currently supported gateway: [CCAvenue](http://www.ccavenue.com/), [PayUMoney](https://www.payumoney.com/), [EBS](https://www.ebs.in), [CitrusPay](http://www.citruspay.com/) ,[ZapakPay](https://pay.mobikwik.com/) (Mobikwik), [Paytm](https://dashboard.paytm.com/), [Mocker](http://mocker.in)

[For Laravel 4.2 Package Click Here](https://github.com/softon/indipay/tree/laravel4)

Installation
------------

[](#installation)

**Step 1:** Install package using composer ```

    composer require softon/indipay

```

**Step 2:** Add the service provider to the config/app.php file in Laravel (Optional for Laravel 5.5+)

```

    Softon\Indipay\IndipayServiceProvider::class,

```

**Step 3:** Add an alias for the Facade to the config/app.php file in Laravel (Optional for Laravel 5.5+)

```

    'Indipay' => Softon\Indipay\Facades\Indipay::class,

```

**Step 4:** Publish the config &amp; Middleware by running in your terminal

```

    php artisan vendor:publish --provider="Softon\Indipay\IndipayServiceProvider"

```

**Step 5:** Modify the app\\Http\\Kernel.php to use the new Middleware. This is required so as to avoid CSRF verification on the Response Url from the payment gateways. **You may adjust the routes in the config file config/indipay.php to disable CSRF on your gateways response routes.**

> NOTE: You may also use the new `VerifyCsrfToken` middleware and add the routes in the `$except` array.

```
App\Http\Middleware\VerifyCsrfToken::class,
```

to

```
App\Http\Middleware\VerifyCsrfMiddleware::class,
```

Usage
-----

[](#usage)

Edit the config/indipay.php. Set the appropriate Gateway parameters. Also set the default gateway to use by setting the `gateway` key in config file. Then in your code...

```
 use Softon\Indipay\Facades\Indipay;
```

Initiate Purchase Request and Redirect using the default gateway:-

```
      /* All Required Parameters by your Gateway will differ from gateway to gateway refer the gate manual */

      $parameters = [
        'transaction_no' => '1233221223322',
        'amount' => '1200.00',
        'name' => 'Jon Doe',
        'email' => 'jon@doe.com'
      ];

      $order = Indipay::prepare($parameters);
      return Indipay::process($order);
```

> Please check for the required parameters in your gateway manual. There is a basic validation in this package to check for it.

You may also use multiple gateways:-

```
      // gateway = CCAvenue / PayUMoney / EBS / Citrus / InstaMojo / ZapakPay / Paytm / Mocker

      $order = Indipay::gateway('Paytm')->prepare($parameters);
      return Indipay::process($order);
```

Get the Response from the Gateway (Add the Code to the Redirect Url Set in the config file. Also add the response route to the remove\_csrf\_check config item to remove CSRF check on these routes.):-

```

    public function response(Request $request)

    {
        // For default Gateway
        $response = Indipay::response($request);

        // For Otherthan Default Gateway
        $response = Indipay::gateway('NameOfGatewayUsedDuringRequest')->response($request);

        dd($response);

    }

```

The `Indipay::response` will take care of checking the response for validity as most gateways will add a checksum to detect any tampering of data.

Important point to note is to store the transaction info to a persistant database before proceding to the gateway so that the status can be verified later.

Payment Verification
--------------------

[](#payment-verification)

From version v1.0.12 `Indipay` has started implementing verify method in some gateways so that the developer can verify the payment in case of pending payments etc.

```
    $order = Indipay::verify([
        'transaction_no' => '3322344231223'
    ]);
```

The parameters to be passed, again depends on Gateway used.

> **Verify Feature Currently Supported in** : Paytm, Mocker

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 68.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

918d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78b642026438fdcc52466af503e5992db259dfdb2e74b948dfe131f75fbd432b?d=identicon)[ineffablesam](/maintainers/ineffablesam)

---

Top Contributors

[![softon](https://avatars.githubusercontent.com/u/598761?v=4)](https://github.com/softon "softon (30 commits)")[![ineffablesam](https://avatars.githubusercontent.com/u/72622345?v=4)](https://github.com/ineffablesam "ineffablesam (6 commits)")[![ajitdas123](https://avatars.githubusercontent.com/u/20204881?v=4)](https://github.com/ajitdas123 "ajitdas123 (3 commits)")[![mahavishnup](https://avatars.githubusercontent.com/u/52984889?v=4)](https://github.com/mahavishnup "mahavishnup (1 commits)")[![ravimit786](https://avatars.githubusercontent.com/u/12070125?v=4)](https://github.com/ravimit786 "ravimit786 (1 commits)")[![RohitM-IN](https://avatars.githubusercontent.com/u/28777412?v=4)](https://github.com/RohitM-IN "RohitM-IN (1 commits)")[![secrethash](https://avatars.githubusercontent.com/u/11258035?v=4)](https://github.com/secrethash "secrethash (1 commits)")[![jerry4rahul](https://avatars.githubusercontent.com/u/39000885?v=4)](https://github.com/jerry4rahul "jerry4rahul (1 commits)")

---

Tags

laravel 5paytminstamojomockerccavenueebspayumoneyIndian Payment GatewaysCitrusPayZapakPay

### Embed Badge

![Health badge](/badges/ineffablesam-indipay-2/health.svg)

```
[![Health](https://phpackages.com/badges/ineffablesam-indipay-2/health.svg)](https://phpackages.com/packages/ineffablesam-indipay-2)
```

###  Alternatives

[softon/indipay

The Laravel 5 Package for Indian Payment Gateways. Currently supported gateways: CCAvenue, PayUMoney, EBS, CitrusPay, InstaMojo, ZapakPay, Mocker

6594.6k1](/packages/softon-indipay)[berkayk/onesignal-laravel

OneSignal Push Wrapper Laravel

5295.9M12](/packages/berkayk-onesignal-laravel)[danielme85/laravel-cconverter

Laravel 5 plug-in for currency conversion

42101.1k](/packages/danielme85-laravel-cconverter)[softon/sms

Simple SMS Gateway Package for sending short text messages from your Application. Facade for Laravel 5.Currently supported Gateways Clickatell , MVaayoo, Gupshup, SmsAchariya, SmsCountry , SmsLane , Nexmo, Mocker / Any HTTP/s based Gateways are supported by Custom Gateway. Log gateway can be used for testing.

4929.5k](/packages/softon-sms)[softon/sweetalert

Laravel 5 Package for SweetAlert2. Use this package to easily show sweetalert2 prompts in your laravel app.

2936.1k1](/packages/softon-sweetalert)[sboo/laravel5-mailjet

Mailjet driver for Laravel 5

154.6k](/packages/sboo-laravel5-mailjet)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
