2017 © Pedro Peláez
 

library eazypay

This is icici eazypay payment gateway api

image

bhavinjr/eazypay

This is icici eazypay payment gateway api

  • Tuesday, November 7, 2017
  • by bhavinjr
  • Repository
  • 1 Watchers
  • 1 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 36 % Grown

The README.md

eazypay

Eazypay payment integration for Laravel 5.*, (*1)

Latest Stable Version Total Downloads License, (*2)

Background: What is a eazypay?

eazypay is a first of its kind secure payment service by ICICI Bank in India. It enables institutions to collect money from their customers through multiple payment modes. ICICI Bank is the first and only bank to offer such a payment service in India., (*3)

For more information visit,, (*4)

https://eazypay.icicibank.com/info/aboutUs.html 
https://eazypay.icicibank.com/homePage

Installation

First, you'll need to install the package via Composer:, (*5)

$ composer require bhavinjr/eazypay

If you are don't use using Laravel 5.5.* Then, update config/app.php by adding an entry for the service provider., (*6)

'providers' => [
    // ...
    Bhavinjr\Eazypay\Providers\EazypayServiceProvider::class,
];

In command line paste this command:, (*7)

php artisan config:cache

Finally, from the command line again, publish the default configuration file:, (*8)

php artisan vendor:publish --provider="Bhavinjr\Eazypay\Providers\EazypayServiceProvider"

Usage

use Bhavinjr\Eazypay\Eazypay;

class PaymentController extends Controller
{ 
    public function payment()
    {
        $amount     =   10;
        $refrenceNo     =   1; //stands for order id or any other related to database table
        $optionalField  =  '10|10|10|10'; (optional) //must be pass in pipe delimeter based on icici eazypay payment integration kit

        $eazypay    =   new Eazypay();
        $paymentUrl     =   $eazypay->getPaymentUrl($amount,$refrenceNo,$optionalField);
        return redirect()->to($paymentUrl); //it will redirect to your payment gateway site
    }
}

Configuration

Configuration was designed to be as flexible. global configuration can be set in the app/config/eazypay.php file., (*9)

make sure you have all the detail which needs to use in configuration file. must read instruction in app/config/eazypay.php file., (*10)

```<?php return [ 'merchant_id' => env('EAZYPAY_MERCHANT_ID'), 'encryption_key' => env('EAZYPAY_ENCRYPTION_KEY'), 'return_url' => env('EAZYPAY_RETURN_URL'), 'sub_merchant_id' => env('EAZYPAY_MERCHANT_ID'), 'merchant_reference_no' => env('EAZYPAY_MERCHANT_ID'),
'paymode' => env('EAZYPAY_PAYMODE',9),, (*11)

]; ```, (*12)

The Versions

07/11 2017

dev-master

9999999-dev

This is icici eazypay payment gateway api

  Sources   Download

MIT

The Requires

 

by Bhavin Rudani

laravel laravel 5 icici icici payment eazypay laravel eazypay eazypay payment eazypay payment api eazypay payment integration eazypay payment laravel

07/11 2017

1.2

1.2.0.0

This is icici eazypay payment gateway api

  Sources   Download

MIT

The Requires

 

by Bhavin Rudani

laravel laravel 5 icici icici payment eazypay laravel eazypay eazypay payment eazypay payment api eazypay payment integration eazypay payment laravel

31/08 2017

1.1

1.1.0.0

This is icici eazypay payment gateway api

  Sources   Download

MIT

The Requires

 

by Bhavin Rudani

laravel laravel 5 icici icici payment eazypay laravel eazypay eazypay payment eazypay payment api eazypay payment integration eazypay payment laravel

31/08 2017

1.0

1.0.0.0

This is icici eazypay payment gateway api

  Sources   Download

MIT

The Requires

 

by Bhavin Rudani

laravel laravel 5 icici icici payment eazypay laravel eazypay eazypay payment eazypay payment api eazypay payment integration eazypay payment laravel