Tuesday, 1 October 2013

How to do ccavenue payment gateway integration in asp.net

When you buy Payment gateway from CCAvenue, they send you Integration_kit which have some library under Libs folder, add those dll to your Gac  and also you will get three .aspx pages , Data.aspx, SubmitData.aspx and ResponseHandler.aspx. you dont need to change any value of these page.

Payment Gateway always integrate with your checkout button. In checkout button you have to pass four thing. Order Id, Merchant Id, RedirectUrl and Amount. Order id must be unique.




Now your all information send to your Data.aspx page, through querystring get it into your textbox like this


Goto your SubmitData.aspx page and write your working key which you get after login into your CCAvenue account.





Now by this step you can integrate your Avenue gateway in your Asp.net page, Enjoy.....


6 comments:

  1. Really Good Information Ms.Swati thanks for provide good information....!

    ReplyDelete
  2. nice information, thanx for share with us

    ReplyDelete
  3. Congratulation !!! Swati.... Best of luck.. :)

    ReplyDelete
  4. i do not understand please explain thoroughly (step by step)

    ReplyDelete
    Replies
    1. 1. Add Lib's folder dll which is sent by CCAvenue to your Gac (how to add library to Gac i wrote on my earlier post)

      2. From Avenue Integration kit you will get three pages - Data.aspx, SubmitData.aspx and ResponseHandler.aspx

      3. On your checkout button you have to pass your OrderID, MerchantID (given by CCAvenue), Amount and Redirect URL (your website url so ASA Payment will complete user redirect to your site) to Data.aspx page.

      4. Now you Initialize your TextBox of Data.aspx as per the value which you will get after click of checkout button as i shown above in 3rd picture.

      5. In SubmitData.aspx.cs page, you initialize your working key on workingkey variable ( you will get your working key after login into your CCAvenue account).

      after Following this step you can integrate Avenue gateway to your CheckOut Button

      Delete