<?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 Using SIM for a basic payment system in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-for-a-basic-payment-system/m-p/29314#M15404</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I modified the basic code sample for the SIM to submit payments through an html form post 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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I'm having is prior to making the form page that submits to &lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll,"&gt;https://secure.authorize.net/gateway/transact.dll,&lt;/A&gt; you must already have the fingerprint hash code made, but the fingerprint hash code is partially based on the amount for the transaction, but the amount isn't known until after the user fills out the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing I can think of is having Page A with a form asking for the amount, then it goes to Page B (which grabs the amount from Page A), then Page B can make the fingerprint hash code, and create the final form which will pass on the rest of the info (billing, cc info, fingerprint hash, amount, etc) 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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above example I've coded out, and it works fine, but the client wants it to start from Page B. It's for a doctor's office where the patient can go to the form, input their doctor's name, invoice number, amount owed, etc. Hence the reason for having the amount specified by the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know a workaround, or better way to do this?&lt;/P&gt;</description>
    <pubDate>Thu, 30 Aug 2012 21:04:45 GMT</pubDate>
    <dc:creator>stefanhinote</dc:creator>
    <dc:date>2012-08-30T21:04:45Z</dc:date>
    <item>
      <title>Using SIM for a basic payment system</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-for-a-basic-payment-system/m-p/29314#M15404</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I modified the basic code sample for the SIM to submit payments through an html form post 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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I'm having is prior to making the form page that submits to &lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll,"&gt;https://secure.authorize.net/gateway/transact.dll,&lt;/A&gt; you must already have the fingerprint hash code made, but the fingerprint hash code is partially based on the amount for the transaction, but the amount isn't known until after the user fills out the form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing I can think of is having Page A with a form asking for the amount, then it goes to Page B (which grabs the amount from Page A), then Page B can make the fingerprint hash code, and create the final form which will pass on the rest of the info (billing, cc info, fingerprint hash, amount, etc) 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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above example I've coded out, and it works fine, but the client wants it to start from Page B. It's for a doctor's office where the patient can go to the form, input their doctor's name, invoice number, amount owed, etc. Hence the reason for having the amount specified by the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know a workaround, or better way to do this?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2012 21:04:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-for-a-basic-payment-system/m-p/29314#M15404</guid>
      <dc:creator>stefanhinote</dc:creator>
      <dc:date>2012-08-30T21:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using SIM for a basic payment system</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-for-a-basic-payment-system/m-p/29334#M15414</link>
      <description>&lt;P&gt;Have everything entered on page A. Page B will then generate the form entirely as hidden form fields, including the fingerprint, then auto-submit on page load. Just add this in your body tag:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;body onload="document.myformname.submit();"&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2012 23:33:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-for-a-basic-payment-system/m-p/29334#M15414</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2012-08-31T23:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using SIM for a basic payment system</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-for-a-basic-payment-system/m-p/29344#M15419</link>
      <description>&lt;P&gt;I never knew of a good way to auto submit a form, aside from server side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is perfect, and simple, Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2012 17:07:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-SIM-for-a-basic-payment-system/m-p/29344#M15419</guid>
      <dc:creator>stefanhinote</dc:creator>
      <dc:date>2012-09-01T17:07:56Z</dc:date>
    </item>
  </channel>
</rss>

