- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My hash isn't matching. I'm sure it's a mistake on my end, but I cannot figure out how. There's not a lot to go wrong.
My PHP hash is below. You can see it's in the order that Authorize.net documentation says it should be. ( hashTransIdAmount); I've verified that x_trans_id and x_amount are indeed actual values. The hash originally did not match, so I changed it again. Does the hash value take time to update, or is it effective as soon as it's changed?
$hash = md5('testHASH123HASH'.$_POST['x_trans_id'].$_POST['x_amount']);
I will also confirm that I am receiving ARB posts, not AIM. I am receiving the subscription_id. Also, is it possible to force a silent post of an ARB transaction for testing, or do I have to wait for the ARB processing job each night?
Thanks
Solved! Go to Solution.
โ05-05-2015 11:49 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Of course only a moment later I notice the answer.
The Authorize.net hash is in uppercase. So the correct PHP code is below:
$hash = strtoupper(md5('testHASH123HASH'.$_POST['x_trans_id'].$_POST['x_amount']));
โ05-05-2015 11:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Of course only a moment later I notice the answer.
The Authorize.net hash is in uppercase. So the correct PHP code is below:
$hash = strtoupper(md5('testHASH123HASH'.$_POST['x_trans_id'].$_POST['x_amount']));
โ05-05-2015 11:53 AM