Documente Academic
Documente Profesional
Documente Cultură
Introduction:
There are various peers involved in the entire transaction cycle due to connectivity issues there could be
transaction drops. The Order Status Tracker can be used on a scheduled basis to ascertain the final
status of such awaited transactions. This can also be used as a security check measure to reconfirm the
vital parameters posted back like amount.
Various scenarios leading to awaited transactions are discussed below in detail.
There are a number of stakeholders involved in CCAvenue transactions e.g. customer, Avenues, bank and
merchant. Each of these is an integral part of the end-to-end transaction flow at some point of time or
other. There are some un-avoidable circumstances under which any of these stakeholders may go out of
loop. The scenarios are as follows
Consider that the payment details are submitted to some bank
A) If bank server goes down,
o Avenues will not receive any response from bank.
o Merchant will not receive any real-time parameters from Avenues.
o Customers browser will display error that banks URL is not reachable.
B) If bank server sent a response and customers browser is closed for reasons whatsoever,
o Avenues will not receive any response from bank.
o Merchant will not receive any real-time parameters from Avenues.
C) If bank server sent a response and Avenues did not get any response from bank,
o Avenues will not receive any response from bank.
o Merchant will not receive any real-time parameters from Avenues.
o Customer will not get any response from merchants website.
D) If Avenues posted response back to merchant but merchant did not receive
o Customer will not get any response from merchants website.
This clearly shows that in all the above mentioned circumstances, merchant will not receive any real-time
parameters from Avenues. For merchants, getting the status of each transaction in real-time is very critical
as their next process in line cannot be initiated without knowing the fate of payment made by customer.
Also there may be data transmission errors which lead to checksum mismatch at various points.
Order Status Tracker is a servlet which accepts merchant_id and order_id and retrieves the order details
from CCAvenue database. These two input parameters are to be posted through application over
URLConnection (server-to-server call) using SSL. The base URL (url through which request is sent) of any
request to track transaction status must be the url of merchant registered with Avenues. For example, if
http://www.seasonsindia.com is the registered website url of merchant then all requests for transaction
status tracking that are coming from this url only will be entertained and others will be aborted for this
merchant.
o
o
o
o
o
Data
Length
Input/Output
Merchant_Id
50
I&O
Order_Id
50
Amount
12
I&O
Only O
AuthDesc
Checksum
10
Only O
Only O
billing_cust_name
50
Only O
500
Only O
billing_cust_city
30
Only O
billing_cust_state
30
Only O
billing_zip_code
10
Only O
billing_cust_country
50
Only O
billing_cust_tel
50
Only O
billing_cust_email
50
Only O
billing_cust_notes
50
Only O
delivery_cust_name
50
Only O
200
Only O
delivery_cust_city
30
Only O
delivery_cust_state
30
Only O
delivery_zip_code
10
Only O
delivery_cust_country
50
Only O
delivery_cust_tel
50
Only O
Merchant_Param
100
Only O
20
Output
nb_order_no
20
Output
20
Output
20
Output
billing_cust_address
delivery_cust_address