Page 1 of 1

CCAvenue payment gateway integration

Posted: Mon Sep 02, 2013 12:44 am
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

Re: CCAvenue payment gateway integration

Posted: Mon Sep 02, 2013 5:43 am
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.

Re: CCAvenue payment gateway integration

Posted: Mon Sep 02, 2013 6:35 am
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.

Re: CCAvenue payment gateway integration

Posted: Mon Sep 02, 2013 9:58 pm
by Christopher
Have you checked in you CCAvenue account to see if there is a PHP API library?

Re: CCAvenue payment gateway integration

Posted: Tue Sep 03, 2013 6:06 am
by prem.mplin
I have some php files what I got from CCAvenue but I need the steps to configure that.

Re: CCAvenue payment gateway integration

Posted: Tue Sep 03, 2013 12:18 pm
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?

Re: CCAvenue payment gateway integration

Posted: Tue Sep 03, 2013 11:13 pm
by prem.mplin
I have three files those are "checkout.php, libFunctions.php & redirecturl.php".

Re: CCAvenue payment gateway integration

Posted: Wed Sep 04, 2013 5:20 pm
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?

Re: CCAvenue payment gateway integration

Posted: Fri Oct 18, 2013 9:08 am
by arv
Is there any solution for this? if so how did you integrate?

Re: CCAvenue payment gateway integration

Posted: Fri Oct 18, 2013 11:13 pm
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.

Re: CCAvenue payment gateway integration

Posted: Sat Oct 19, 2013 2:21 am
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.

Re: CCAvenue payment gateway integration

Posted: Sun Oct 20, 2013 11:16 pm
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.