I think I may have found a solution to authorize.net sim processing but I need to generate a time stamp to produce the fingerprint. I am currently using the following code:
<cfset rand_num = rand()> - although this only produces a random number from 0-1 ... better suggestions?
<cfset time_stamp = TimeFormat(Now())>
<cf_hmac data_format="#data#" key_format="#merchant_info
when I send this to test the processing at: http://gatewaylinking.com/echo.php
I get the following:
x_fp_sequence = 0.95313333
x_fp_timestamp = 01:23 PM
x_fp_hash = E4EE327D0AF7463EE92D9DA3BB
and the outcome:
Your time is 1112980733 seconds too slow.
In the SimLib.pm file, replace the following line: my = time;
my = time + (time difference in seconds);
In the simlib.asp file, replace the following line: var tstamp = GetSecondsSince1970 ();
var tstamp = GetSecondsSince1970() + (time difference in seconds);
In the simlib.php file, replace the following line: = time ();
= time () + (time difference in seconds);
I believe that I am not producing the proper timestamp. Any suggestions would be greatly appreciated!!