<?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: SIM Integration PHP Error (97) This transaction cannot be accepted. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-Integration-PHP-Error-97-This-transaction-cannot-be-accepted/m-p/54531#M29510</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/19950"&gt;@mukeshsan14﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may wish to check your timestamp using our Error 97 Tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://developer.authorize.net/api/reference/responseCode97.html" target="_blank"&gt;http://developer.authorize.net/api/reference/responseCode97.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2016 12:51:17 GMT</pubDate>
    <dc:creator>RichardH</dc:creator>
    <dc:date>2016-05-04T12:51:17Z</dc:date>
    <item>
      <title>SIM Integration PHP Error (97) This transaction cannot be accepted.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-Integration-PHP-Error-97-This-transaction-cannot-be-accepted/m-p/54529#M29508</link>
      <description>&lt;P&gt;I'm trying to Integrate &lt;STRONG&gt;SIM&lt;/STRONG&gt; in &lt;STRONG&gt;PHP&lt;/STRONG&gt;. I am getting &lt;STRONG&gt;"(97) This transaction cannot be accepted ".&amp;nbsp;&lt;/STRONG&gt;I have checked my &lt;STRONG&gt;T&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;ransactionKey&lt;/STRONG&gt;&amp;nbsp;more than 3 times. &lt;/SPAN&gt;Can anyone help me fix this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;FORM action="https://test.authorize.net/gateway/transact.dll" method="POST"&amp;gt;
&amp;lt;?php
$api_login_id = 'MY LOGIN ID';
$x_tran_key = 'MY TRANSACTION ID';
$x_Description = 'Test';
$amount = '10.22';
$utc_str = gmdate("M d Y H:i:s", time());
$fp_timestamp = strtotime($utc_str);

$fp_sequence = rand(1, 1000);

if (function_exists('hash_hmac')) {
    $fp_hash = hash_hmac("md5", $api_login_id . "^" . $fp_sequence . "^" . $fp_timestamp . "^" . $amount . "^", $x_tran_key . "^"); 
}else{
	$fp_hash = bin2hex(mhash(MHASH_MD5, $api_login_id . "^" . $fp_sequence . "^" . $fp_timestamp . "^" . $amount . "^", $x_tran_key . "^"));
}
?&amp;gt;
&amp;lt;br/&amp;gt;
&amp;lt;input type="text" name="x_description" value="&amp;lt;?=$x_Description;?&amp;gt;"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;input type="text" name="x_login" value="&amp;lt;?=$api_login_id;?&amp;gt;"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;input type="text" name="x_amount" value="&amp;lt;?=$amount;?&amp;gt;"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_show_form" value="PAYMENT_FORM"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_test_request" value="TRUE"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_relay_response" value="FALSE"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_version" value="3.1"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_delim_char" value=","&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_delim_data" value="TRUE"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_relay_url" value="http://mukeshsan.in"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_fp_hash" value="&amp;lt;?=$fp_hash?&amp;gt;"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_fp_sequence" value="&amp;lt;?=$fp_sequence;?&amp;gt;"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="text" name="x_fp_timestamp" value="&amp;lt;?=$fp_timestamp;?&amp;gt;"&amp;gt;&amp;lt;br/&amp;gt;
&amp;lt;INPUT type="submit" value="Accept Order"&amp;gt;
&amp;lt;/FORM&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 10:14:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-Integration-PHP-Error-97-This-transaction-cannot-be-accepted/m-p/54529#M29508</guid>
      <dc:creator>mukeshsan14</dc:creator>
      <dc:date>2016-05-04T10:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: SIM Integration PHP Error (97) This transaction cannot be accepted.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-Integration-PHP-Error-97-This-transaction-cannot-be-accepted/m-p/54531#M29510</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/19950"&gt;@mukeshsan14﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may wish to check your timestamp using our Error 97 Tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://developer.authorize.net/api/reference/responseCode97.html" target="_blank"&gt;http://developer.authorize.net/api/reference/responseCode97.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 12:51:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-Integration-PHP-Error-97-This-transaction-cannot-be-accepted/m-p/54531#M29510</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-05-04T12:51:17Z</dc:date>
    </item>
  </channel>
</rss>

