<?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: Using SIM or Direct Post VIA a URL only in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26520#M14091</link>
    <description>&lt;P&gt;excellent point :P&lt;/P&gt;</description>
    <pubDate>Tue, 15 May 2012 17:46:09 GMT</pubDate>
    <dc:creator>shinzan</dc:creator>
    <dc:date>2012-05-15T17:46:09Z</dc:date>
    <item>
      <title>Using SIM or Direct Post VIA a URL only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26476#M14071</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Ive read all the documentaiton on SIM and directpost and I've searched the forums and not found a good answer on this: (i got the hash from the sim PHP samples online and I'm just trying to construct a url that takes me into the gateway)&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll?&amp;amp;x_login=3efkewfff&amp;amp;x_type=AUTH_CAPTURE&amp;amp;x_amount=1.20&amp;amp;x_show_form=PAYMENT_FORM&amp;amp;x_trans_id=365&amp;amp;x_delim_data=FALSE&amp;amp;x_fp_sequence=20&amp;amp;x_fp_timestamp=&amp;amp;x_relay_response=TRUE&amp;amp;x_relay_URL=myurl.com/files/paymentsauth.php"&gt;https://test.authorize.net/gateway/transact.dll?&amp;amp;x_login=3efkewfff&amp;amp;x_type=AUTH_CAPTURE&amp;amp;x_amount=1.20&amp;amp;x_show_form=PAYMENT_FORM&amp;amp;x_trans_id=365&amp;amp;x_delim_data=FALSE&amp;amp;x_fp_sequence=20&amp;amp;x_fp_timestamp=&amp;amp;x_relay_response=TRUE&amp;amp;x_relay_URL=myurl.com/files/paymentsauth.php&lt;/A&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 a cart system I wrote that allows paypal already and i just want to give the option of authorize.net for my customers. Its an online registration system that tallies up the total registrations and then when the user hits the submit payment they redirect to paypal and pay then IPN fires back to my script and i process it.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;for instance heres what i do with paypal:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;ff_redirect("&lt;A target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;amp;business=$paypalemail&amp;amp;item_name=Registration"&gt;&lt;FONT color="#000000"&gt;https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;amp;business=$paypalemail&amp;amp;item_name=Registration&lt;/FONT&gt;&lt;/A&gt; for $eventname&amp;amp;item_number=$tournamentid,$groupregid,$totalcharges&amp;amp;amount=$totalcharges&amp;amp;currency_code=USD&amp;amp;return=&lt;A target="_blank" href="http://www.myurl.com&amp;amp;cancel_return=http://www.myurl.com/files/payments/ipn_res.php&amp;amp;notify_url=http://www.myurl.com/files/payments/ipn_res.php"&gt;&lt;FONT color="#000000"&gt;http://www.myurl.com&amp;amp;cancel_return=http://www.myurl.com/files/payments/ipn_res.php&amp;amp;notify_url=http://www.myurl.com/files/payments/ipn_res.php&lt;/FONT&gt;&lt;/A&gt;",'post');&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks for any insight ive been all over &lt;A target="_blank" href="http://www.authorize.net/support/SIM_guide.pdf"&gt;&lt;FONT color="#000000"&gt;http://www.authorize.net/support/SIM_guide.pdf&lt;/FONT&gt;&lt;/A&gt; and it seems like i really hope this is possible and it seems as though it should be but all i get is password is not correct errormsgs&lt;BR /&gt;&lt;/FONT&gt;&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="#000000"&gt;David&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2012 19:24:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26476#M14071</guid>
      <dc:creator>shinzan</dc:creator>
      <dc:date>2012-05-14T19:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using SIM or Direct Post VIA a URL only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26484#M14075</link>
      <description>&lt;P&gt;&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll?x_version=3.1&amp;amp;x_show_form=PAYMENT_FORM&amp;amp;x_method=CC&amp;amp;x_login="&gt;https://test.authorize.net/gateway/transact.dll?x_version=3.1&amp;amp;x_show_form=PAYMENT_FORM&amp;amp;x_method=CC&amp;amp;x_login=&lt;/A&gt;&lt;FONT color="#FF0000"&gt;[yourloginID]&lt;/FONT&gt;&amp;amp;x_type=AUTH_CAPTURE&amp;amp;x_amount=&lt;FONT color="#FF0000"&gt;19.99&lt;/FONT&gt;&amp;amp;x_delim_data=FALSE&amp;amp;x_fp_sequence=&lt;FONT color="#FF0000"&gt;491&lt;/FONT&gt;&amp;amp;x_fp_timestamp=&lt;FONT color="#FF0000"&gt;1337027314&lt;/FONT&gt;&amp;amp;x_fp_hash=&lt;FONT color="#FF0000"&gt;766397aa7ecd3a836b7b09576f14bbc0&lt;/FONT&gt;&amp;amp;x_relay_response=TRUE&amp;amp;x_relay_URL=&lt;A target="_blank" href="https://developer.authorize.net/tools/paramdump/index.php"&gt;https://developer.authorize.net/tools/paramdump/index.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically you need the&lt;/P&gt;&lt;P&gt;x_version=3.1&lt;/P&gt;&lt;P&gt;x_show_form=PAYMENT_FORM&lt;/P&gt;&lt;P&gt;x_method=CC&lt;/P&gt;&lt;P&gt;x_login=&lt;FONT color="#FF0000"&gt;[yourloginID]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;x_type=AUTH_CAPTURE&lt;/P&gt;&lt;P&gt;x_amount=&lt;FONT color="#FF0000"&gt;19.99&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;x_delim_data=FALSE&lt;/P&gt;&lt;P&gt;x_fp_sequence=&lt;FONT color="#FF0000"&gt;491&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;x_fp_timestamp=&lt;FONT color="#FF0000"&gt;1337027314&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;x_fp_hash=&lt;FONT color="#FF0000"&gt;766397aa7ecd3a836b7b09576f14bbc0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;x_relay_response=TRUE&lt;/P&gt;&lt;P&gt;x_relay_URL=&lt;A target="_blank" href="https://developer.authorize.net/tools/paramdump/index.php"&gt;https://developer.authorize.net/tools/paramdump/index.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To see how to generate the x_fp_hash and x_fp_timestamp, download the SIM php sample code.&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2012 20:35:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26484#M14075</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-05-14T20:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using SIM or Direct Post VIA a URL only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26512#M14087</link>
      <description>&lt;P&gt;Thanks for the info, it seems to be exactly what i need, however i still get this error msg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following errors have occurred.&lt;/P&gt;&lt;P&gt;(13) The merchant login ID or password is invalid or the account is inactive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code that I reworked for people who want cut and paste functionality for this feature:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;// the parameters for the payment can be configured here&lt;BR /&gt;// the API Login ID and Transaction Key must be replaced with valid values&lt;BR /&gt;&lt;BR /&gt;$x_login = "[INSERTLOGINIDHERE]";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //API Login ID&lt;BR /&gt;$transactionKey = "[INSERTTRANSACTIONKEYHERE]";&lt;BR /&gt;$description = "Sample Transaction";&lt;BR /&gt;&lt;BR /&gt;$x_version = "3.1";&lt;BR /&gt;$x_show_form = "PAYMENT_FORM";&lt;BR /&gt;$x_method = "CC";&lt;BR /&gt;$x_type = "AUTH_CAPTURE";&lt;BR /&gt;$x_amount = "1.99";&lt;BR /&gt;$x_delim_data = "FALSE";&lt;BR /&gt;$x_fp_sequence =&amp;nbsp; rand(1, 1000); // a sequence number is randomly generated&lt;BR /&gt;$x_fp_timestamp = time();&lt;BR /&gt;$x_fp_hash = ""; // this will be determined below&lt;BR /&gt;$x_relay_response = "TRUE";&lt;BR /&gt;$x_relay_URL = "&lt;A target="_blank" href="https://developer.authorize.net/tools/paramdump/index.php"&gt;https://developer.authorize.net/tools/paramdump/index.php&lt;/A&gt;";&lt;BR /&gt;&lt;BR /&gt;// an invoice is generated using the date and time&lt;BR /&gt;$invoice = date(YmdHis);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// The following lines generate the SIM fingerprint.&amp;nbsp; PHP versions 5.1.2 and&lt;BR /&gt;// newer have the necessary hmac function built in.&amp;nbsp; For older versions, it&lt;BR /&gt;// will try to use the mhash library.&lt;BR /&gt;if( phpversion() &amp;gt;= '5.1.2' ) { &lt;BR /&gt;&amp;nbsp;&amp;nbsp; $x_fp_hash = hash_hmac("md5", $x_login . "^" . $x_fp_sequence . "^" . $x_fp_timestamp . "^" . $x_amount . "^", $transactionKey);&lt;BR /&gt;} else &amp;nbsp;&amp;nbsp; &amp;nbsp;{ &lt;BR /&gt;&amp;nbsp;&amp;nbsp; $x_fp_hash = bin2hex(mhash(MHASH_MD5, $x_login . "^" . $x_fp_sequence . "^" . $x_fp_timestamp . "^" . $x_amount . "^", $transactionKey)); &lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;// 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;&lt;BR /&gt;// for real accounts (even in test mode), please make sure that you are&lt;BR /&gt;// posting to: &lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;$url = "&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo "$url?x_version=$x_version&amp;amp;x_show_form=$x_show_form&amp;amp;x_method=$x_method&amp;amp;x_login=$x_login&amp;amp;x_type=$x_type&amp;amp;x_amount=$x_amount&amp;amp;x_delim_data=$x_delim_data&amp;amp;x_fp_sequence=$x_fp_sequence&amp;amp;x_fp_timestamp=$x_fp_timestamp&amp;amp;x_fp_hash=$x_fp_hash&amp;amp;x_relay_response=$x_relay_response&amp;amp;x_relay_URL=$x_relay_URL";&lt;BR /&gt;&lt;BR /&gt;

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This ends up with the following URL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll?x_version=3.1&amp;amp;x_show_form=PAYMENT_FORM&amp;amp;x_method=CC&amp;amp;x_login=[removed]&amp;amp;x_type=AUTH_CAPTURE&amp;amp;x_amount=1.99&amp;amp;x_delim_data=FALSE&amp;amp;x_fp_sequence=360&amp;amp;x_fp_timestamp=1337096079&amp;amp;x_fp_hash=e4c75d36b1c79389b43a7419b2f8a612&amp;amp;x_relay_response=TRUE&amp;amp;x_relay_URL=https://developer.authorize.net/tools/paramdump/index.php"&gt;https://test.authorize.net/gateway/transact.dll?x_version=3.1&amp;amp;x_show_form=PAYMENT_FORM&amp;amp;x_method=CC&amp;amp;x_login=[removed]&amp;amp;x_type=AUTH_CAPTURE&amp;amp;x_amount=1.99&amp;amp;x_delim_data=FALSE&amp;amp;x_fp_sequence=360&amp;amp;x_fp_timestamp=1337096079&amp;amp;x_fp_hash=e4c75d36b1c79389b43a7419b2f8a612&amp;amp;x_relay_response=TRUE&amp;amp;x_relay_URL=https://developer.authorize.net/tools/paramdump/index.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And of course redirecting to that url or copy pasting gives me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following errors have occurred.&lt;/P&gt;&lt;P&gt;(13) The merchant login ID or password is invalid or the account is inactive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I feel like I'm missing something simple because i know the login and transaction key are correct as i copied them straight from Virtuemart settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2012 15:37:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26512#M14087</guid>
      <dc:creator>shinzan</dc:creator>
      <dc:date>2012-05-15T15:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using SIM or Direct Post VIA a URL only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26514#M14088</link>
      <description>&lt;P&gt;My guess it that you are using a live production account loginID, transactionKey to post to the test server.&lt;/P&gt;&lt;P&gt;Can't do that, get a &lt;A target="_self" href="https://developer.authorize.net/testaccount/"&gt;test account&lt;/A&gt; to post to the test server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_self" href="http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Test-Accounts-vs-Live-Accounts-Which-Does-What-Anyway/ba-p/9350"&gt;Test Accounts vs. Live Accounts – Which Does What Anyway?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2012 15:43:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26514#M14088</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-05-15T15:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using SIM or Direct Post VIA a URL only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26520#M14091</link>
      <description>&lt;P&gt;excellent point :P&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2012 17:46:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26520#M14091</guid>
      <dc:creator>shinzan</dc:creator>
      <dc:date>2012-05-15T17:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using SIM or Direct Post VIA a URL only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26522#M14092</link>
      <description>&lt;P&gt;Also to help anyone whos using PHP here is a thread with a good sample relay response script, i found this missing from the sdk and think this is an important sample that should be more prominent:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://community.developer.authorize.net/t5/Integration-and-Testing/relay-response-in-php/m-p/4315"&gt;http://community.developer.authorize.net/t5/Integration-and-Testing/relay-response-in-php/m-p/4315&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2012 18:42:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-or-Direct-Post-VIA-a-URL-only/m-p/26522#M14092</guid>
      <dc:creator>shinzan</dc:creator>
      <dc:date>2012-05-15T18:42:38Z</dc:date>
    </item>
  </channel>
</rss>

