Reply
Contributor
Posts: 22
Registered: ‎03-27-2013

(97) This transaction cannot be accepted

[ Edited ]

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.

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: (97) This transaction cannot be accepted

Contributor
Posts: 22
Registered: ‎03-27-2013

Re: (97) This transaction cannot be accepted

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 ?

Contributor
Posts: 22
Registered: ‎03-27-2013

Re: (97) This transaction cannot be accepted

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 ??

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: (97) This transaction cannot be accepted

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();

Contributor
Posts: 22
Registered: ‎03-27-2013

Re: (97) This transaction cannot be accepted

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 ?:

http://img593.imageshack.us/img593/7595/timemx.jpg

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: (97) This transaction cannot be accepted

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.

 

 

Contributor
Posts: 22
Registered: ‎03-27-2013

Re: (97) This transaction cannot be accepted

but how do i check my web server time ?

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: (97) This transaction cannot be accepted

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).

Contributor
Posts: 22
Registered: ‎03-27-2013

Re: (97) This transaction cannot be accepted

it still does not work.....

 

i put right server time but it is not working...

 

How come ?