Hello,
i have got a free TEST AUTHORIZE account to process credit card transactions but i always get this final error:
The following errors have occurred.
(97) This transaction cannot be accepted.
My hosting server is www.eshost.es
I read solution reported here:
http://developer.authorize.net/tools/responsecode97/
but i do not understand these 3 things:
1) Your timestamp = 97 seconds.
The Authorize.Net system timestamp is 1364404392 seconds.
The difference is -1364404295 seconds.
HOW DO I CALCULATE MY TIMESTAMP ????
2) Solution always reported here:
http://developer.authorize.net/tools/responsecode97/
tells this:
PHP
In the simlib.php file, replace the following line:
$tstamp = time ();
with this:
$tstamp = time () - (time difference in seconds); or $tstamp = time () + (time difference in seconds);
but in my TEST AUTHORIZE ACCOUNT installed folder named "anet_php_sdk" there is any simlib.php file.
So where is my simlib.php file ?
3) Verify that the time on the Web server that hosts the SIM script is configured correctly to the GMT time zone. You can also modify the SIM script to format UTC.
How do i verify that my web server (www.eshost.es) is configured correctly to the GMT time zone ?
Goodbye.
03-27-2013 10:22 AM - edited 03-27-2013 10:26 AM
2) http://developer.authorize.net/integration/fifteenminutes/#hosted
simlib.php is in the sample code
03-27-2013 11:01 AM
No.
I downloaded sample code and it is the same file i had already downloaded with test authorize package.
So any more suggests about my problem ?
03-28-2013 01:37 AM
EXCUSE ME, I DOWNLOADED SIMLIB.PHP BUT NOW I DO NOT KNOW WHERE TO PUT IT IN MY AUTHORIZE PACKAGE.
SO WHERE DO I INSTALL SIMLIB.PHP ??
03-28-2013 02:16 AM
Oop. look like there is the old sample code. Where did you see
PHP
In the simlib.php file, replace the following line:
$tstamp = time ();
with this:
$tstamp = time () - (time difference in seconds); or $tstamp = time () + (time difference in seconds);
Just change the code in step 3 of the http://developer.authorize.net/integration/fifteenminutes/#hosted
$fp_timestamp = time();
03-28-2013 04:19 AM
i changed the step 3 code like you said but i still get that error:
The following errors have occurred.
(97) This transaction cannot be accepted.
Anyway, how do i find out my web server time ?
My web server is www.eshost.es
And what is default time zone for Authorize.net displayed here ?:
https://sandbox.authorize.net/UI/themes/sandbox/Settings/TimeZone.aspx
I mean, which one of time zone shown in this pic ?:
03-29-2013 12:58 AM
From http://developer.authorize.net/tools/responsecode97/
This error is received when the timestamp value submitted in x_fp_timestamp is either 15 minutes ahead, or 15 minutes behind in Greenwich Mean Time (GMT) (this is the equivalent of 900 seconds ahead or 900 seconds behind in Coordinated Universal Time, or UTC).
From http://php.net/manual/en/function.time.php
The function time() returns always timestamp that is timezone independent (=UTC).
From your orginal this is not right
1) Your timestamp = 97 seconds.
03-29-2013 04:20 AM
but how do i check my web server time ?
03-29-2013 09:01 AM
but how do i check my web server time ? contact the server administrator
That shouldn't matter as
From http://php.net/manual/en/function.time.php
The function time() returns always timestamp that is timezone independent (=UTC).
and
This error is received when the timestamp value submitted in x_fp_timestamp is either 15 minutes ahead, or 15 minutes behind in Greenwich Mean Time (GMT) (this is the equivalent of 900 seconds ahead or 900 seconds behind in Coordinated Universal Time, or UTC).
03-29-2013 11:16 AM
it still does not work.....
i put right server time but it is not working...
How come ?
04-06-2013 12:09 AM