I'm working on a form and we're trying to get get the postback hashresponse to match what I'm calculating, however everything I do can't seem to generate the proper sha1 hash, and I can't get it working.
So the final redirect url winds up with (SHA1)
so according to the documentation http://manual.clickandpledge.com/Por...PI_Information
my string to hash is "[XXXXXX][1403241635395841111][25]" (XXXXXX is our secret word and $25 is the donation)
So if I run that through the Hashcode function from the forums http://forums.clickandpledge.com/showthread.php?t=660
I Get a59f8244cd58b2ff552c2f94cce60aebeb037452
And when I run the returned hashresponse through it
I Get ccae39caa7af1e9096500ccdbb7546f39916bbff
Can you point me in the right direction as to what I'm missing?
So the final redirect url winds up with (SHA1)
Code:
[DomainName]/index.php?on=1403241635395841111&vg=0aa80907-7d86-4d65-a3b6-e675d10793a7&au=9cbd17&gn=e9f46fb6-9385-41a7-a693-dbd19066892e&hashresponse=ZGZjMzgxMjlmNDQxMzc4NGE3M2Y4ODc5NDZhOGJkNTk5NGJkODhmZQ==&RefID=website
my string to hash is "[XXXXXX][1403241635395841111][25]" (XXXXXX is our secret word and $25 is the donation)
So if I run that through the Hashcode function from the forums http://forums.clickandpledge.com/showthread.php?t=660
I Get a59f8244cd58b2ff552c2f94cce60aebeb037452
And when I run the returned hashresponse through it
I Get ccae39caa7af1e9096500ccdbb7546f39916bbff
Can you point me in the right direction as to what I'm missing?
Comment