Found the root cause of the issue. Looks like hex2bin is available only
in PHP >5.4 and we were having 5.3.3. Hence had to use a alternative as
given in https://www.php.net/manual/en/function.hex2bin.php#110973 It
would be better if you could you ple...
Thanks. I tried it but does not generate matching SHA value. There are a
lot of links related to generating the SHA value and they contradict
with the values used in generating the SHA.
https://support.authorize.net/s/article/MD5-Hash-End-of-Life-Sig...
I tried using this but the function hex2bin does not return the binary
value correctly. I also tried alternate methods to convert to binary
(http://phprevolution.blogspot.com/2012/06/convert-hexadecimal-to-binary-string-in.html).
That converts to bin...