12,814,411 members (34,337 online)
Rate this:
See more:
CCAvenue is a payment gateway used in eCommerce websites.
I have included CcAvenue in my website for online shopping. In this process I have sent orderid and merchantID to CCAvenue site. After payment processing they will return AuthDESC, CheckSum, OrderID, Amoumt.

with these values they are calling verifychecksum method
this method is returning true

in this case i have

two conditions

```condition1:if(AuthDEC="Y"&&CheckSUm="True")
{
here code fro activating item..
}

if(AUTHDESC="N"&&CHecksum="True")
{
here transction is declained.
}

if(AuthDESC=="Y" Checksum="false")
{
transaction is declained...
}```

why this check sum value is false.i mean in what cases it is become false.

Thanks & Regards
Posted 27-Nov-12 21:06pm
akilkrv482
Updated 27-Nov-12 21:39pm
Ankur\m/50.5K
v4

Rate this:

## Solution 1

means checksum value which was generated by ccavenue on ur site did not match with present checksum value
umenderreddy 28-Nov-12 2:35am

hi shreyanshs Thank you for your answer.but checksum value did not match means what .in what case it will not match
Rate this:

## Solution 4

Quoting from the site: http://www.ccavenue.com/demo_ccav/integrate2.htm[^]

`The Real Time Success Failure Feature works on the basis of Checksum verification. The Checksum refers to a random numeric string generated using a mathematical algorithm (a complex quadratic equation) to ensure that data is not tampered along the way. The way it works is lets say a message has to be sent from A to B. A and B both mutually agree on a Key that only both of them possess. A checksum is calculated with a mathematical function using the parameters passed and the Key as input. This checksum is then sent along with the message to point B. B then recalculates this checksum using the Key and the same algorithm. If the checksum that B calculates is different from the checksum that A has passed then the data has been tampered with along the way.`

Hope this helps!

Top Experts
Last 24hrsThis month
 Karthik Bangalore 319 Jochen Arndt 225 OriginalGriff 130 F-ES Sitecore 130 CHill60 90
 OriginalGriff 4,377 Graeme_Grant 3,649 Karthik Bangalore 3,266 ppolymorphe 2,287 Jochen Arndt 2,226