@lightwave365 The code example provided by authorize use ASCII
Encoding.Also I was running my tests and notice one of the test failed
due to the address field containing special char like "Pinière" which
caused the compare hash to fail.
This is my c# test code incase anyone is interested var epoTime =
(int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; const
string amount = "1.99", x_fp_sequence = "2627"; var x_fp_timestamp =
epoTime.ToString(); string textToHash =
$"{lo...
Finally got the x_fp_hash as well. It turns out the x_fp_timestamp I was
using in my test was too old, it has to be with in 15 mins difference
from authorize's server. After I updated my code to get the current time
it worked.
@lightwave365 using the following key and text should produce this
x_SHA2_Hash. Hope this help. key
"9C5A4D2AFE1D1D5DB3A8FC4C95CDCF49E2B052B4220D0624C54C1C662194BDEF8FE0EA27B313FA62328D9500D123B9DD3CE06644508803ACD04DAEDB24C5D122"
text = "^0^false^3^...
@cwdslmy working C# code for computing hash for x_SHA2_Hash
https://community.developer.authorize.net/t5/Integration-and-Testing/Working-php-hash-verification/m-p/65848/highlight/true#M39461