<?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 Getting error 13 - Testing SIM  php integration in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-error-13-Testing-SIM-php-integration/m-p/18092#M10063</link>
    <description>&lt;P&gt;﻿﻿This is my test code. I am get an error (13). Please somebody help!!&lt;/P&gt;&lt;PRE&gt;&amp;lt;?phprequire_once ('anet_php_sdk/AuthorizeNet.php');
$api_login_id = "4q58Cf29pExx";
$transaction_key = "6w38Y93J5q2SZTvk";$amount = "5.99";$fp_timestamp = time();$fp_sequence = "123" . time(); // Enter an invoice or other unique number.$fingerprint = AuthorizeNetSIM_Form::getFingerprint($api_login_id,  $transaction_key, $amount, $fp_sequence, $fp_timestamp)?&amp;gt;&amp;lt;form method='post' action="&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;"&amp;gt;&amp;lt;input type='hidden' name="x_login" value="&amp;lt;?php echo $api_login_id?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_fp_hash" value="&amp;lt;?php echo $fingerprint?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_amount" value="&amp;lt;?php echo $amount?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_fp_timestamp" value="&amp;lt;?php echo $fp_timestamp?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_fp_sequence" value="&amp;lt;?php echo $fp_sequence?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_version" value="3.1"&amp;gt;&amp;lt;input type='hidden' name="x_show_form" value="payment_form"&amp;gt;&amp;lt;input type='hidden' name="x_test_request" value="true" /&amp;gt;&amp;lt;input type='hidden' name="x_method" value="cc"&amp;gt;&amp;lt;input type='submit' value="Click here for the secure payment form"&amp;gt;&amp;lt;/form&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;﻿﻿&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2011 17:52:57 GMT</pubDate>
    <dc:creator>bright_bmp</dc:creator>
    <dc:date>2011-10-19T17:52:57Z</dc:date>
    <item>
      <title>Getting error 13 - Testing SIM  php integration</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-error-13-Testing-SIM-php-integration/m-p/18092#M10063</link>
      <description>&lt;P&gt;﻿﻿This is my test code. I am get an error (13). Please somebody help!!&lt;/P&gt;&lt;PRE&gt;&amp;lt;?phprequire_once ('anet_php_sdk/AuthorizeNet.php');
$api_login_id = "4q58Cf29pExx";
$transaction_key = "6w38Y93J5q2SZTvk";$amount = "5.99";$fp_timestamp = time();$fp_sequence = "123" . time(); // Enter an invoice or other unique number.$fingerprint = AuthorizeNetSIM_Form::getFingerprint($api_login_id,  $transaction_key, $amount, $fp_sequence, $fp_timestamp)?&amp;gt;&amp;lt;form method='post' action="&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;"&amp;gt;&amp;lt;input type='hidden' name="x_login" value="&amp;lt;?php echo $api_login_id?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_fp_hash" value="&amp;lt;?php echo $fingerprint?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_amount" value="&amp;lt;?php echo $amount?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_fp_timestamp" value="&amp;lt;?php echo $fp_timestamp?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_fp_sequence" value="&amp;lt;?php echo $fp_sequence?&amp;gt;" /&amp;gt;&amp;lt;input type='hidden' name="x_version" value="3.1"&amp;gt;&amp;lt;input type='hidden' name="x_show_form" value="payment_form"&amp;gt;&amp;lt;input type='hidden' name="x_test_request" value="true" /&amp;gt;&amp;lt;input type='hidden' name="x_method" value="cc"&amp;gt;&amp;lt;input type='submit' value="Click here for the secure payment form"&amp;gt;&amp;lt;/form&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;﻿﻿&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2011 17:52:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-error-13-Testing-SIM-php-integration/m-p/18092#M10063</guid>
      <dc:creator>bright_bmp</dc:creator>
      <dc:date>2011-10-19T17:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error 13 - Testing SIM  php integration</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-error-13-Testing-SIM-php-integration/m-p/18108#M10071</link>
      <description>&lt;P&gt;Error code 13 is invalid login, so assuming your login is correct and not missing any characters, my guess is you're using a sandbox login in production mode, or a production login in sandbox mode. Since your form has the test URL, are you using a production login by any chance? If so, I hope you edited it before posting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Might also be helpful if you could post your code with line breaks. If the form isn't working for you, make a .txt, post it to your hosting, and link that.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2011 20:47:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Getting-error-13-Testing-SIM-php-integration/m-p/18108#M10071</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-10-19T20:47:35Z</dc:date>
    </item>
  </channel>
</rss>

