CCAvenue payment gateway integration

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
prem.mplin
Forum Newbie
Posts: 4
Joined: Mon Sep 02, 2013 12:10 am

CCAvenue payment gateway integration

Post by prem.mplin »

Hello Experts,
I am working on a shopping cart portal website, now we have to integrate CCAvenue with our portal. We are planning to use our own shopping cart layout, we will use CCAvenue only for billing purpose. I have the CCAvenue manuals but it is not enough, please help me integrate this.

Thanks & Regards,
Prem
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: CCAvenue payment gateway integration

Post by Celauran »

What what you done so far? Where are you getting stuck? Please post the relevant code as well as the specific errors you're encountering.
prem.mplin
Forum Newbie
Posts: 4
Joined: Mon Sep 02, 2013 12:10 am

Re: CCAvenue payment gateway integration

Post by prem.mplin »

Thanks for your quick response,
I did not yet start, I have only our portal that is developed in PHP & CCAvenue account. Now I don't know how to start, I need complete steps to integrate, also where I have to update in the coding section.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: CCAvenue payment gateway integration

Post by Christopher »

Have you checked in you CCAvenue account to see if there is a PHP API library?
(#10850)
prem.mplin
Forum Newbie
Posts: 4
Joined: Mon Sep 02, 2013 12:10 am

Re: CCAvenue payment gateway integration

Post by prem.mplin »

I have some php files what I got from CCAvenue but I need the steps to configure that.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: CCAvenue payment gateway integration

Post by Christopher »

Since we don't know what the files are, it will be difficult to help. Is one of the files an example script that uses their API?
(#10850)
prem.mplin
Forum Newbie
Posts: 4
Joined: Mon Sep 02, 2013 12:10 am

Re: CCAvenue payment gateway integration

Post by prem.mplin »

I have three files those are "checkout.php, libFunctions.php & redirecturl.php".
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: CCAvenue payment gateway integration

Post by Christopher »

I am guessing that libFunctions.php is the API library and checkout.php (and redirecturl.php) are the examples. Have you looked in the checkout.php file?
(#10850)
arv
Forum Newbie
Posts: 2
Joined: Fri Oct 18, 2013 8:51 am

Re: CCAvenue payment gateway integration

Post by arv »

Is there any solution for this? if so how did you integrate?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: CCAvenue payment gateway integration

Post by Christopher »

arv wrote:Is there any solution for this? if so how did you integrate?
CCAvenue provides libFunctions.php as the API library and checkout.php and redirecturl.php are the examples.
(#10850)
arv
Forum Newbie
Posts: 2
Joined: Fri Oct 18, 2013 8:51 am

Re: CCAvenue payment gateway integration

Post by arv »

Thanks Christopher,
Received Aes.php,adler32.php, checkout.php, redirecturl.php and index.html.I just need to integrate payment gateway with my registration form.
1)I hope Aes.php and adler32.php are libraries. Rest of the files(checkout.php and redirecturl.php) needs to be placed in controller right?
2)Index.html can be replaced with our own subscription form plus by mentioning mandatory ccavenue fields ?
3)How can we mention the unique orderid in every form?

Am I right? Please correct me I am wrong.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: CCAvenue payment gateway integration

Post by Christopher »

arv wrote:1)I hope Aes.php and adler32.php are libraries. Rest of the files(checkout.php and redirecturl.php) needs to be placed in controller right?
I don't think placed in the controller. I would write a controller based on the code in checkout.php.
arv wrote:2)Index.html can be replaced with our own subscription form plus by mentioning mandatory ccavenue fields ?
Yes.
arv wrote:3)How can we mention the unique orderid in every form?
Pass it through forms in a hidden field, or save it in the session.
(#10850)
Post Reply