cancel
Showing results for 
Search instead for 
Did you mean: 

ARB silent post hash incorrect

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

calebpitman1
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions

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']));

View solution in original post

calebpitman1
Contributor
1 REPLY 1

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']));
calebpitman1
Contributor