2017 © Pedro Peláez
 

library indipay

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

image

dbhosale/indipay

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

  • Wednesday, September 6, 2017
  • by dbhosale
  • Repository
  • 1 Watchers
  • 1 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 19 Versions
  • 12 % Grown

The README.md

IndiPay

The Laravel 5 Package for Indian Payment Gateways. Currently supported gateway: CCAvenue, PayUMoney, EBS, CitrusPay, (*1)

For Laravel 4.2 Package Click Here, (*2)

Installation

Step 1: Install package using composer, (*3)


    composer require dbhosale/indipay

, (*4)

Step 2: Add the service provider to the config/app.php file in Laravel, (*5)


    Softon\Indipay\IndipayServiceProvider::class,

, (*6)

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


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

, (*8)

Step 4: Publish the config & Middleware by running in your terminal, (*9)


    php artisan vendor:publish

, (*10)

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., (*11)


    'App\Http\Middleware\VerifyCsrfToken',

to, (*12)


    'App\Http\Middleware\VerifyCsrfMiddleware',

, (*13)

Usage

Edit the config/indipay.php. Set the appropriate Gateway and its parameters. Then in your code...
, (*14)

 use Softon\Indipay\Facades\Indipay;  

Initiate Purchase Request and Redirect using the default gateway:-, (*15)

      /* All Required Parameters by your Gateway */

      $parameters = [

        'tid' => '1233221223322',

        'order_id' => '1232212',

        'amount' => '1200.00',

      ];

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

Initiate Purchase Request and Redirect using any of the configured gateway:-, (*16)

      /* All Required Parameters by your Gateway */

      $parameters = [

        'tid' => '1233221223322',

        'order_id' => '1232212',

        'amount' => '1200.00',

      ];

      // gateway = CCAvenue / PayUMoney / EBS / Citrus / InstaMojo

      $order = Indipay::gateway('NameOfGateway')->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.):-, (*17)

 
    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 Versions

06/09 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

by Datta Bhosale

laravel 5 payumoney ccavenue instamojo ebs indian payment gateways citruspay

06/09 2017

v1.1.2

1.1.2.0

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

  Sources   Download

MIT

The Requires

 

by Datta Bhosale

laravel 5 payumoney ccavenue instamojo ebs indian payment gateways citruspay

05/09 2017

v1.1.1

1.1.1.0

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

  Sources   Download

MIT

The Requires

 

by Datta Bhosale

laravel 5 payumoney ccavenue instamojo ebs indian payment gateways citruspay

03/09 2017

v1.1.0

1.1.0.0

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

  Sources   Download

MIT

The Requires

 

by Datta Bhosale

laravel 5 payumoney ccavenue instamojo ebs indian payment gateways citruspay

03/09 2017

v1.1.0-beta

1.1.0.0-beta

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

  Sources   Download

MIT

The Requires

 

by Datta Bhosale

laravel 5 payumoney ccavenue instamojo ebs indian payment gateways citruspay

03/04 2017

v1.0.11

1.0.11.0

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

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 payumoney ccavenue instamojo ebs indian payment gateways citruspay

18/07 2016

v1.0.10

1.0.10.0

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

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 payumoney ccavenue instamojo ebs indian payment gateways citruspay

22/06 2016

v1.0.9

1.0.9.0

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

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 payumoney ccavenue instamojo ebs indian payment gateways citruspay

08/04 2016

v1.0.8

1.0.8.0

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

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 payumoney ccavenue indian payment gateways

06/04 2016

v1.0.7

1.0.7.0

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

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 payumoney ccavenue indian payment gateways

06/04 2016

dev-laravel4

dev-laravel4

The Laravel 4.2 Package for Indian Payment Gateways. Currently supported gateways: CCAvenue, PayUMoney, EBS, CitrusPay

  Sources   Download

MIT

The Requires

 

by Shiburaj

payumoney ccavenue laravel 4.2 ebs indian payment gateways citruspay

06/04 2016

v0.1.1

0.1.1.0

The Laravel 4.2 Package for Indian Payment Gateways. Currently supported gateways: CCAvenue, PayUMoney, EBS, CitrusPay

  Sources   Download

MIT

The Requires

 

by Shiburaj

payumoney ccavenue laravel 4.2 ebs indian payment gateways citruspay

06/04 2016

v0.1.0

0.1.0.0

The Laravel 4.2 Package for Indian Payment Gateways. Currently supported gateways: CCAvenue, PayUMoney, EBS, CitrusPay

  Sources   Download

MIT

The Requires

 

by Shiburaj

payumoney ccavenue laravel 4.2 ebs indian payment gateways citruspay

30/12 2015

v1.0.6

1.0.6.0

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

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 payumoney ccavenue indian payment gateways

14/11 2015

v1.0.5

1.0.5.0

The Laravel 5 Package for Indian Payment Gateways. Currently supported gateways: CCAvenue, PayUMoney

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 payumoney ccavenue indian payment gateways

14/08 2015

v1.0.4

1.0.4.0

The Laravel 5 Package for Indian Payment Gateways

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 ccavenue indian payment gateways

13/08 2015

v1.0.3

1.0.3.0

The Laravel 5 Package for Indian Payment Gateways

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 ccavenue indian payment gateways

09/08 2015

v1.0.2

1.0.2.0

The Laravel 5 Package for Indian Payment Gateways

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 ccavenue indian payment gateways

09/08 2015

v1.0.1

1.0.1.0

The Laravel 5 Package for Indian Payment Gateways

  Sources   Download

MIT

The Requires

 

by Shiburaj

laravel 5 ccavenue indian payment gateways