Friday, May 29, 2015

CCAvenue Payment Transaction Gateway in ASP.NET

INTRODUCTION

The CCAvenue Transaction Gateway offers e-merchants a one-stop solution for processing e- transactions ranging from credit ca rd transactions to direct debit from their online bank accounts.

The CCAvenue System has been designed for quick integration and ease of use.

The CCAvenue system expects certain input data with specific names to be sent to the CCAvenue website. For this reason, it is essential that the names of the input fields on the merchant’s web site and the CCAvenue.com web site match exactly. To achieve this the relevant data field values of the shopping cart must be assigned to the appropriate data field of the form provided below. Some of these input data fields are mandatory and marked in red, and must be sent to the CCAvenue system with every order. Please ensure that the values have no unnecessary blank spaces preceding or trailing the values.

  <form method="post" 
action="https://world.ccavenue.com/servlet/ccw.CCAvenueController"> 
   <input type="hidden" name="Merchant_Id" value="M_demos_17"> <%--Compulsory Field --This field represents the merchant id assigned to you by 
CCAvenue and identifies the order as one originating from your website. This field will accept up to a maximum of 20
characters only--%>
  <input type="hidden" name="Amount" value="1000"> /*Compulsory Field*/
  <input type=hidden name=Currency value="USD"> 
  <input type="hidden" name="Order_Id" value="ORD_ID1234"> <%--Compulsory Field
This field is a compulsory field that sends the id, which is to be the unique identifier for this order, to the CCAvenue site. This must be a unique id generated at your website and may contain combination of letters, numbers, dashes(-), forward slashes(/) or back slashes(\) up to a maximum of 30 characters. --%>
  <input type=hidden name=TxnType value="A"> 
  <input type=hidden name=actionID value="TXN"> 
  <input type="hidden" name="billing_cust_name" value="John"> 
  <input type="hidden" name="billing_middle_name" value="Edgar"> 
  <input type="hidden" name="billing_last_name" value="Doe"> 
  <input type="hidden" name="billing_cust_address" value="123 Green Acres, West Eden"> 
  <input type="hidden" name="billing_cust_city" value="Estberry"> 
  <input type="hidden" name="billing_cust_state" value="Wales">
  <input type="hidden" name="billing_cust_zip" value="12345"> 
  <input type="hidden" name="billing_cust_email" value="johndoe@hotmail.com"> 
  <input type="submit" value="Buy Now">          
 </form>
  

If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website

0 comments:

Post a Comment