Eazypay icici bank payment gateway
Aneh Thakur
. 3 min read
In this tutorial, I will explain to you how we can integrate ICICI bank Eazypay payment gateway into our PHP web application. Eazypay payment gateway is created by ICICI bank which helps you to pay your bills conveniently, be it your education, housing society maintenance or any other bills. You can pay your bills using Cash Deposit, Cheque Deposit, RTGS, NEFT, Net Banking or Cards.
Prerequisites
You need to have EazyPay Account before integration in your web application.
Once you have successfully registered your account on Eazypay you will get your account detail via your registration email address. You need to encrypt your data with a key that they provide you in email and open that link in your browser. Now you need to pass some required parameter in URL to open eazypay payment gateway.
Here is a list of the parameter which is required when we request for payment.
Parameter | Description | Mandatory |
---|---|---|
Default URL | Yes | |
Merchant ID | 100011 | Yes |
Merchant Reference No | Yes | |
Reference No | 8001 | Yes |
Sub Merchant Id | 1234 | Yes |
Transaction Amount | 80 | Yes |
Encryption key | Yes | |
Paymode | 9 | Yes |
Return URL | Yes | |
Optional Field | No |
Before encryption:-
https://eazypay.icicibank.com/EazyPG?merchantid=100011&mandatory fields=8001|1234|80| 9000000001&optional fields=20|20|20|20&returnurl= http://abc.com/cbc/action.aspx&Reference No=8001&submerchantid=1234&transaction amount=80&paymode=9
After encryption:-
https://eazypay.icicibank.com/EazyPG?merchantid=100011&mandatory fields=u65A+ywICIypfrJVQp9ED2VlkBzkIimiHhLXPyo2P14=&optional fields=faJ6BJUlOqjoV/AEbw5X4g==&returnurl=6WvzNalyXvqOX+aY9ee5oKm8FT+YUF5sz940o6QZvx0=&Reference No=X7VX+1ZnKq+o6K2QWCTERQ==&submerchantid=QVZkBomDLSbitS4C9lGaUA==&transaction amount=aTRTaIdS0sLyzGCxL3Y5dQ==&paymode=nFRjDWSCg0m80aUYivDlqw==
You can use below function to encrypt your data and set that encrypted data in your URL.
You use the below code to generate a link.
Or if you like OOPS you can use this class.
Eazypay ICICI
And after adding this class you can call this
Once you have URL now you can perform click action on your URL and redirect it to Eazypay ICICI website using the below code.

Hope you like this post please don’t forget to subscribe my youtube channel link on top of the page.
More Stories from
React Native 0.78 Unveiled: New Features, Changes, and Benefits You’ll Love 🚀
Discover React Native 0.78! From React 19 support to Android vector drawables and better iOS integration, explore the latest features, changes, and benefits with examples to make app development faster and smoother. 🌟
🚀 Encore.ts: Blazing Fast Backend Powerhouse – 9x Faster Than Express.js & 3x Faster Than Bun + Zod
Discover why Encore.ts outshines Express.js and Bun + Zod with 9x and 3x faster performance, respectively. Explore sample code, speed benchmarks, and see how this TypeScript framework redefines backend efficiency! ⚡
Trump Unveils U.S. Crypto Strategic Reserve: Bitcoin and Altcoins Surge
Donald Trump announces a U.S. Crypto Strategic Reserve featuring Bitcoin, Ethereum, XRP, Solana, and Cardano, sparking a $300B market rally. Explore the implications and trends as of March 3, 2025.
Prototype Your Idea in Under an Hour Using AI
Learn to create working prototypes in under an hour using AI tools like Claude and Bolt. Ideal for designers and entrepreneurs with minimal coding skills.
How X’s New Grok AI Tools Make Ad Creation and Analysis a Breeze
Discover X’s latest AI-powered features—Prefill with Grok and Analyze Campaign with Grok. Learn how these tools simplify ad creation, boost campaign performance, and help advertisers save time in 2025.