<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: (97) This transaction cannot be accepted. - ColdFusion Code in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/97-This-transaction-cannot-be-accepted-ColdFusion-Code/m-p/18758#M10382</link>
    <description>&lt;P&gt;Robert B at authorize.net chat says:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Robert B:&lt;/SPAN&gt;&amp;nbsp; Yes, our tech's agree the Time Zone setting will not effect that error you are getting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the info above from &lt;SPAN&gt;RaynorC1emen7 is incorrect.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2011 17:33:16 GMT</pubDate>
    <dc:creator>teddyc1</dc:creator>
    <dc:date>2011-11-09T17:33:16Z</dc:date>
    <item>
      <title>(97) This transaction cannot be accepted. - ColdFusion Code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/97-This-transaction-cannot-be-accepted-ColdFusion-Code/m-p/17788#M9916</link>
      <description>&lt;P&gt;I keep getting this error: (97) This transaction cannot be accepted.﻿ I am using ColdFusion for my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the Source Code downloaded from &lt;A target="_blank" href="http://developer.authorize.net/downloads/samplecode/?searchid=1317927783498"&gt;http://developer.authorize.net/downloads/samplecode/?searchid=1317927783498&lt;/A&gt;﻿ under SIM - ColdFusion. Only mods is my Login ID and Transaction key and the Dumps to see the values and adding seconds to the time&amp;nbsp; Explained below).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My server is EST and I add 18000 seconds to it to make it GMT time. In the code, I post the EST Time, the GMT Time I create by adding 18000 seconds, then the Seconds. The code gives all the values I used and dumps them on the screen. If you view the source, you will see that this value is what is passed in the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code is working (no errors and you can see my error response on submit), you will just need to add your own Login ID and transaction key to test, IF you want to test. Also if you server is a different timezone than EST, the seconds added will need to be different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I take the value that my page creates, and put it in theAuthorize.net Test at &lt;A target="_blank" href="http://developer.authorize.net/tools/responsecode97/"&gt;http://developer.authorize.net/tools/responsecode97/&lt;/A&gt;﻿ it works. This value can be taken from the 1st variable display, when&amp;nbsp; you view source and take the value out of the field &lt;EM&gt;x_fp_timestamp&lt;/EM&gt;﻿ (that passes the time stamp value) and after the form for the 2nd variable dump.&amp;nbsp; Value never changes through out the entire process once the variable is set (Variable name is&amp;nbsp;timestamp﻿).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my code, that you can view for problems, errors or whatever or you can use and test:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;lt;CODE START&amp;gt; --------&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;cfsetting enablecfoutputonly="true"&amp;gt;&lt;BR /&gt;&amp;lt;cfoutput&amp;gt;&lt;BR /&gt;&amp;lt;!--&lt;BR /&gt;This sample code is designed to connect to Authorize.net using the SIM method.&lt;BR /&gt;For API documentation or additional sample code, please visit:&lt;BR /&gt;&lt;A target="_blank" href="http://developer.authorize.net"&gt;http://developer.authorize.net&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Most of this page below (and including) this comment can be modified using any&lt;BR /&gt;standard html. The parts of the page that cannot be modified are noted in the&lt;BR /&gt;comments.&amp;nbsp; This file can be renamed as long as the file extension remains .cfm&lt;BR /&gt;--&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&lt;BR /&gt;&amp;nbsp; "&lt;A target="_blank" href="http://www.w3.org/TR/html4/loose.dtd"&gt;http://www.w3.org/TR/html4/loose.dtd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;HTML lang='en'&amp;gt;&lt;BR /&gt;&amp;lt;HEAD&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TITLE&amp;gt; Sample SIM Implementation &amp;lt;/TITLE&amp;gt;&lt;BR /&gt;&amp;lt;/HEAD&amp;gt;&lt;BR /&gt;&amp;lt;BODY&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!-- This section generates the "Submit Payment" button using Coldfusion&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;BR /&gt;&amp;lt;/cfoutput&amp;gt;&lt;BR /&gt;&amp;lt;!--- the parameters for the payment can be configured here ---&amp;gt;&lt;BR /&gt;&amp;lt;!--- the API Login ID and Transaction Key must be replaced with valid values ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset loginID="MUST ENTER LOGIN ID"&amp;gt;&lt;BR /&gt;&amp;lt;cfset transactionKey="MUST ENTER TRANSACTION KEY"&amp;gt;&lt;BR /&gt;&amp;lt;cfset amount="19.99"&amp;gt;&lt;BR /&gt;&amp;lt;cfset description="Sample Transaction"&amp;gt;&lt;BR /&gt;&amp;lt;cfset label="Submit Payment"&amp;gt; &amp;lt;!--- The is the label on the 'submit' button ---&amp;gt;&lt;BR /&gt;&amp;lt;!--- &amp;lt;cfset testMode="false"&amp;gt; ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset testMode="true"&amp;gt;&lt;BR /&gt;&amp;lt;!--- By default, this sample code is designed to post to our test server for&lt;BR /&gt;developer accounts: &lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt; for real&lt;BR /&gt;accounts (even in test mode), please make sure that you are posting to:&lt;BR /&gt;&lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt; ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset posturl="&lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!--- an invoice is generated using the date and time ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset invoice=DateFormat(Now(),"yyyymmdd") &amp;amp; TimeFormat(Now(),"HHmmss")&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!--- a sequence number is randomly generated ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset sequence=RandRange(1, 1000)&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!--- a timestamp is generated ---&amp;gt;&lt;BR /&gt;&amp;lt;!--- Get current time. ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset dtNow = Now() /&amp;gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;lt;!--- Convert to GMT using UTC Offset. ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset dtGMT = DateAdd("s",GetTimeZoneInfo().UTCTotalOffset,dtNow) /&amp;gt;&amp;nbsp; &amp;lt;!--- CODE FOR EST TO GMT - NO DAY LIGHT SAVINGS TIME CONSIDERATION ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset dtGMT = DateAdd("s",3600,dtGMT) /&amp;gt; &amp;lt;!--- ADDED 3600 seconds TO TAKE INTO ACCOUNT DAY LIGHT SAVINGS TIME ---&amp;gt;&lt;BR /&gt;&amp;lt;!--- &amp;lt;cfdump var="#GetTimeZoneInfo().UTCTotalOffset#"&amp;gt; ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset timestamp=DateDiff("s", "January 1 1970 00:00", DateConvert('local2UTC', dtGMT)) &amp;gt;&lt;BR /&gt;&amp;lt;cfset timestamp = trim(timestamp)&amp;gt; &amp;lt;!--- TRIM VARIABLE TO MAKE SURE THERE WAS NO LEADING OR FOLLOWING SPACES ---&amp;gt;&lt;BR /&gt;&amp;lt;!--- &amp;lt;cfset timestamp=DateDiff("s", "January 1 1970 00:00", DateConvert('local2UTC', Now())) &amp;gt; ---&amp;gt;&lt;BR /&gt;&amp;lt;cfset timestamp2=DateDiff("s", "January 1 1970 00:00", DateConvert('local2UTC', Now())) &amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!--- &amp;lt;cfset timestamp=DateConvert('local2UTC', Now())&amp;gt; ---&amp;gt;&lt;BR /&gt;&amp;lt;!--- The following lines generate the SIM fingerprint ---&amp;gt;&lt;BR /&gt;&amp;lt;cf_hmac data="#loginID#^#sequence#^#timestamp#^#amount#^" key="#transactionKey#"&amp;gt;&lt;BR /&gt;&amp;lt;cfset fingerprint=#digest#&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;cfoutput&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!--- Print the Amount and Description to the screen.---&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;Amount:&amp;lt;/strong&amp;gt; #amount# &amp;lt;br /&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;Description:&amp;lt;/strong&amp;gt; #description# &amp;lt;br /&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;DateTime:&amp;lt;/strong&amp;gt; #dtNow# - (COMES FROM HOSTED SERVER)&amp;lt;br /&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;GMT:&amp;lt;/strong&amp;gt; #dtGMT# - (DATE MY CODE CREATES)&amp;lt;br /&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;timestamp:&amp;lt;/strong&amp;gt; #timestamp# - (USED IN FORM BELOW - SAME VARIABLE / SAME VALUE)&amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;Backward Compatibility test:&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;BR&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;GMT Timestamp Seconds:&amp;lt;/strong&amp;gt; &amp;lt;cfdump var="#timestamp#"&amp;gt; &amp;lt;BR&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;EMT Timestamp Seconds:&amp;lt;/strong&amp;gt; &amp;lt;cfdump var="#timestamp2#"&amp;gt;&amp;lt;BR&amp;gt;&lt;BR /&gt;&amp;lt;cfset vDif = timestamp - timestamp2&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;Difference:&amp;lt;/strong&amp;gt; &amp;lt;cfdump var="#vDif#"&amp;gt; - &amp;lt;em&amp;gt;Amount to add to make it 5 hours ahead like Authorize.net needs.&amp;lt;/em&amp;gt; &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;font color="##800000"&amp;gt;**************************************** START FORM SECTION ****************************************************&amp;lt;/font&amp;gt;&amp;lt;BR&amp;gt;&lt;BR /&gt;Form to submit to &lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt; - &amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;BR /&gt;&amp;lt;!--- Create the HTML form containing necessary SIM post values ---&amp;gt;&lt;BR /&gt;&amp;lt;FORM method='post' action='#posturl#' &amp;gt;&lt;BR /&gt;&amp;lt;!--- Additional fields can be added here as outlined in the SIM integration&lt;BR /&gt;guide at &lt;A target="_blank" href="http://developer.authorize.net"&gt;http://developer.authorize.net&lt;/A&gt; ---&amp;gt;&lt;BR /&gt;&amp;lt;INPUT type='hidden' name='x_login' value='#loginID#' /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT type='hidden' name='x_amount' value='#amount#' /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT type='hidden' name='x_description' value='#description#' /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT type='hidden' name='x_invoice_num' value='#invoice#' /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT type='hidden' name='x_fp_sequence' value='#sequence#' /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT type='hidden' name='x_fp_timestamp' value='#timestamp#' /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT type='hidden' name='x_fp_hash' value='#fingerprint#' /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT type='hidden' name='x_test_request' value='#testMode#' /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT type='hidden' name='x_show_form' value='PAYMENT_FORM' /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type='submit' value='#label#' /&amp;gt;&lt;BR /&gt;&amp;lt;/FORM&amp;gt;&lt;BR /&gt;&amp;lt;!-- This is the end of the code generating the "submit payment" button.&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;BR /&gt;&amp;lt;BR&amp;gt;&lt;BR /&gt;If you view source you will see that the form field &amp;lt;em&amp;gt;x_fp_timestamp&amp;lt;/em&amp;gt; will have the same value as the dump above and below!&amp;lt;BR&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;font color="##800000"&amp;gt;**************************************** END FORM SECTION *******************************************************&amp;lt;/font&amp;gt;&amp;lt;BR&amp;gt;&lt;BR /&gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;BR /&gt;&amp;lt;strong&amp;gt;Timestamp dump to make sure that the timestamp did not change:&amp;lt;/strong&amp;gt;&amp;lt;BR&amp;gt;&lt;BR /&gt;&amp;lt;cfdump var="#timestamp#"&amp;gt; &amp;lt;BR&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/BODY&amp;gt;&lt;BR /&gt;&amp;lt;/HTML&amp;gt;&lt;BR /&gt;&amp;lt;!-- The last line is a necessary part of the coldfusion script --&amp;gt;&lt;BR /&gt;&amp;lt;/cfoutput&amp;gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#0000FF"&gt;--------&lt;/FONT&gt;﻿﻿ &amp;lt;CODE END&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I have talked to tech support and they said to post on here, because they see no problem, but they are not developers. But they also said it can not be on their end. So there is a problem somewhere between.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks in advance,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;CJ&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2011 17:26:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/97-This-transaction-cannot-be-accepted-ColdFusion-Code/m-p/17788#M9916</guid>
      <dc:creator>cjervin</dc:creator>
      <dc:date>2011-10-07T17:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: (97) This transaction cannot be accepted. - ColdFusion Code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/97-This-transaction-cannot-be-accepted-ColdFusion-Code/m-p/17792#M9918</link>
      <description>&lt;P&gt;Are you sure it is not 4 hour ahead since it is still daylight savings time(EDT).&lt;/P&gt;&lt;P&gt;Also, it would be easier to set it in your account and then you can just sent in your server current time.&lt;/P&gt;&lt;P&gt;login to &lt;A target="_blank" href="https://test.authorize.net"&gt;https://test.authorize.net&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Account - Settings - Business Settings ﻿- Time Zone&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2011 18:46:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/97-This-transaction-cannot-be-accepted-ColdFusion-Code/m-p/17792#M9918</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-10-07T18:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: (97) This transaction cannot be accepted. - ColdFusion Code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/97-This-transaction-cannot-be-accepted-ColdFusion-Code/m-p/18758#M10382</link>
      <description>&lt;P&gt;Robert B at authorize.net chat says:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Robert B:&lt;/SPAN&gt;&amp;nbsp; Yes, our tech's agree the Time Zone setting will not effect that error you are getting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the info above from &lt;SPAN&gt;RaynorC1emen7 is incorrect.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2011 17:33:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/97-This-transaction-cannot-be-accepted-ColdFusion-Code/m-p/18758#M10382</guid>
      <dc:creator>teddyc1</dc:creator>
      <dc:date>2011-11-09T17:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: (97) This transaction cannot be accepted. - ColdFusion Code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/97-This-transaction-cannot-be-accepted-ColdFusion-Code/m-p/18764#M10385</link>
      <description>&lt;P&gt;From &lt;A href="http://developer.authorize.net/tools/responsereasoncode/" target="_blank"&gt;http://developer.authorize.net/tools/responsereasoncode/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Response Reason Code: 97&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Response Reason Text: This transaction cannot be accepted.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Other Suggestions: Applicable only to the SIM API. Fingerprints are only valid for a short period of time. This code indicates that the transaction fingerprint has expired.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fingerprint is obviously the problem. If you're using the demo code and the only thing you're changing is the timestamp, my guess would be that the timestamp is being read as invalid for some reason and therefore the fingerprint is being rejected. In any case, it's a place to start.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2011 21:10:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/97-This-transaction-cannot-be-accepted-ColdFusion-Code/m-p/18764#M10385</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-11-09T21:10:00Z</dc:date>
    </item>
  </channel>
</rss>

