<?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 SIM integration help in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1678#M1455</link>
    <description>&lt;P&gt;I'm having loads of trouble understanding the process here for using SIM&amp;nbsp;integration&amp;nbsp;payment option, as well as creating a form to do so. I have no experience in online payments and have never created a form to do so. If i'm doing SIM integration, can I just use the hosted payment form on authorize.net's website? If so how to I go about accomplishing this? All I want is a "Click here to pay your bill online" button on my clients website where the customers can go to the payment form(something that looks like the virtual terminal form), and enter their account #, credit card #, address, contact info, and payment amount of their bill.&amp;nbsp;Under "Transaction Format Settings" you can go edit the payment form. How do you get to that payment form?&amp;nbsp;B/c I see where there is a place to customize the form, i.e. header and footer. I want to add my clients logo in the header and go w/ it that way. For now, they just want a simple answer for an online payment option. Struggling to grasp this concept. Thanks for any help.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 31 Jan 2010 19:24:27 GMT</pubDate>
    <dc:creator>blind2uriz</dc:creator>
    <dc:date>2010-01-31T19:24:27Z</dc:date>
    <item>
      <title>SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1678#M1455</link>
      <description>&lt;P&gt;I'm having loads of trouble understanding the process here for using SIM&amp;nbsp;integration&amp;nbsp;payment option, as well as creating a form to do so. I have no experience in online payments and have never created a form to do so. If i'm doing SIM integration, can I just use the hosted payment form on authorize.net's website? If so how to I go about accomplishing this? All I want is a "Click here to pay your bill online" button on my clients website where the customers can go to the payment form(something that looks like the virtual terminal form), and enter their account #, credit card #, address, contact info, and payment amount of their bill.&amp;nbsp;Under "Transaction Format Settings" you can go edit the payment form. How do you get to that payment form?&amp;nbsp;B/c I see where there is a place to customize the form, i.e. header and footer. I want to add my clients logo in the header and go w/ it that way. For now, they just want a simple answer for an online payment option. Struggling to grasp this concept. Thanks for any help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2010 19:24:27 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1678#M1455</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-01-31T19:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1679#M1456</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/1171"&gt;@blind2uriz&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;If i'm doing SIM integration, can I just use the hosted payment form on authorize.net's website? If so how to I go about accomplishing this?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;That's exactly what SIM offers. Authorize.Net handles the payment form and SSL encryption for you.&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/1171"&gt;@blind2uriz&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;If so how to I go about accomplishing this? All I want is a "Click here to pay your bill online" button on my clients website where the customers can go to the payment form(something that looks like the virtual terminal form), and enter their account #, credit card #, address, contact info, and payment amount of their bill.&amp;nbsp;Under "Transaction Format Settings" you can go edit the payment form. How do you get to that payment form?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;You should read the &lt;A target="_self" rel="nofollow" href="http://www.authorize.net/support/SIM_guide.pdf"&gt;SIM integration Guide&lt;/A&gt; as it explains exactly how to do this. You should also check out the &lt;A target="_self" rel="nofollow" href="http://developer.authorize.net/samplecode/"&gt;sample code&lt;/A&gt; Authorize.Net provide as it provides you with functional code that should show you how to implement it.&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;If you have any specific questions about implementing the sample code or what it says in the guide let us know.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sun, 31 Jan 2010 19:42:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1679#M1456</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2010-01-31T19:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1682#M1459</link>
      <description>&lt;P&gt;However, you should know that SIM is not set up to allow the customer to enter the payment amount.&amp;nbsp; That needs to be determined before you ever redirect to the SIM payment form.&amp;nbsp; In fact it needs to be fixed before you even render the form fields which are submitted to Authorize.Net's SIM form.&amp;nbsp; There are ways to make this happen, but how depends on the language you are working in.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 05:40:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1682#M1459</guid>
      <dc:creator>itdevworks</dc:creator>
      <dc:date>2010-02-01T05:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1685#M1462</link>
      <description>&lt;P&gt;Yeah I'm stuck trying to figure this out. Dave do you know how I would accomplish this? I guess I'll use php. The example they gave me was this page.....&lt;A target="_blank" rel="nofollow" href="https://www.trigas-oil.com/FormTemplate.php?page=PayOnline"&gt;https://www.trigas-oil.com/FormTemplate.php?page=PayOnline&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which you get to that after you click a "pay online" button. Would I set this up with AIM? Or could I still use SIM and get a form looking like the Virtual Terminal looks. That's exactly what I'm looking for. Do you have any suggestions? Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 06:04:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1685#M1462</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-01T06:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1688#M1465</link>
      <description>&lt;P&gt;The example you gave is done with something like AIM. You can tell because they are hosting the payment form on their own site. The AIM API requires more work on your end to set up and use but allows you full control over the payment process including fully customized forms and checkout experience. The processing of the payment happens entirely in the background and is transparent to the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SIM does offer some customization options but not enough to truly customize the appearance of the form. It's designed to make payments simpler then hosting it yourself (e.g. the name Simple Integration Method").I think you're more or less limited to adding a basic header and footer to the page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, if your goal is to make your form look like the virtual terminal you'll need to use the AIM API. If you don't want o host the form or want to keep things as simple as possible use the SIM API. The sample code page I linked to above has code for both. If you want a polished and more advanced version of SIM code you can see &lt;A target="_self" rel="nofollow" href="http://community.developer.authorize.net/t5/Integration-and-Testing/Changing-the-amount-in-SIM-Integration/td-p/1379"&gt;this thread&lt;/A&gt; which Dave posted some of his own sample code.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 14:10:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1688#M1465</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2010-02-01T14:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1692#M1469</link>
      <description>&lt;P&gt;For right now I just want a simple form w/ &amp;nbsp;fields like a place to put the customer account #, billing info, CC#, and amount in. Could you help me out with this John? Do you do this kind of thing? And how much do you charge? I want to get this up and going for the client and I just don't have enough time to tinker with it. What I'm getting from the sample code is that you enter an amount before you even hit the "click to pay" button. Then it takes you to the hosted form w/ order information on it. I don't want that order information on there and I need to implement an amount the customer can enter to pay their bill. Any ideas? Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 15:35:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1692#M1469</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-01T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1697#M1474</link>
      <description>&lt;P&gt;With SIM you do need to enter the amount before redirecting to the order form since the SIM for will not capture it for you. If you use SIM it essentially will be a two step process as the first will capture the amount and the second will capture the remaining information. SIM does allow you to remove fields through their control so if you want to remove some of the fields they offer it can be done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want a one step processs, and a fully customizeable form, then AIM is the way to go. Just keep in mind that with AIM you'll need to get an SSL certificate for the website so the payment page is secure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do PHP integration for Authnet products. If you want more information just send me an email through the link in my signature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 18:08:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1697#M1474</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2010-02-01T18:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1705#M1482</link>
      <description>&lt;P&gt;Ok, thanks John for all your help so far. I think I understand now that I know you can't put an amount on the hosted form and that you need 2 steps. I went to the thread you linked and copied Dave's code over. I have the form set up w/ just an "Amount" field that the customer will fill out and then click the "secure form button" that will take them to the hosted form. Now I was wondering how I put my account credentials into the code I copied. When I enter my login and transaction key into the&amp;nbsp;credentials&amp;nbsp;it gives me the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Parse error&lt;/STRONG&gt;: syntax error, unexpected T_VARIABLE in&amp;nbsp;&lt;STRONG&gt;/home/content/s/t/u/stud74/html/exform.php&lt;/STRONG&gt;&amp;nbsp;on line&amp;nbsp;&lt;STRONG&gt;40&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Line 40 of that code is where you enter the LiveloginID and transaction key for live login as well as test login.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;// Note: The Test account credentials are for my own test account, but you&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; can replace them with your own if you have one.&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;$LiveLoginId = "";&lt;/DIV&gt;&lt;DIV&gt;$LiveTransactionKey = "";&lt;/DIV&gt;&lt;DIV&gt;$TestLoginId = "*************";&lt;/DIV&gt;&lt;DIV&gt;$TestTransactionKey = "******************";&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a different set of numbers for both? I tried just replacing the ******* from Dave's code, as he left the Live one's blank, but I still get the error. Thanks for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 19:35:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1705#M1482</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-01T19:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1706#M1483</link>
      <description>&lt;P&gt;There's a semi-colon missing on the line before it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ReturnHomePage = "&lt;A target="_blank" rel="nofollow" href="http://www.someurl.org/"&gt;www.someurl.org&lt;/A&gt;"&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Feb 2010 19:42:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1706#M1483</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2010-02-01T19:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1712#M1489</link>
      <description>&lt;P&gt;Thanks John. Now I got the form showing w/ first name, last name, amount, but above that I get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Warning&lt;/STRONG&gt;: include(simlib.php) [&lt;A target="_blank" rel="nofollow" href="http://www.interdimensionaldesigns.com/function.include"&gt;function.include&lt;/A&gt;]: failed to open stream: No such file or directory in&amp;nbsp;&lt;STRONG&gt;/home/content/s/t/u/stud74/html/exform.php&lt;/STRONG&gt;&amp;nbsp;on line&amp;nbsp;&lt;STRONG&gt;76&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Warning&lt;/STRONG&gt;: include() [&lt;A target="_blank" rel="nofollow" href="http://www.interdimensionaldesigns.com/function.include"&gt;function.include&lt;/A&gt;]: Failed opening 'simlib.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in&amp;nbsp;&lt;STRONG&gt;/home/content/s/t/u/stud74/html/exform.php&lt;/STRONG&gt;&amp;nbsp;on line&amp;nbsp;&lt;STRONG&gt;76&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not to knowledgeable on coding, obviously as you can tell, so do I need to actually upload simlib.php to my server, if so, how do I go about getting the file. Also when I click the sercure payment form button, says that the page doesn't exist. Will this be something that fixes once I get the simlib.php taken care of? Thanks TONS for all your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 20:48:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1712#M1489</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-01T20:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1713#M1490</link>
      <description>&lt;P&gt;Delete the line that says include(simlib.php) (line 76).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then go down to the bottom of the file and replace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ret = getFP($loginid, $x_tran_key, $amount, $sequence);&lt;BR /&gt;$fields = array(  &lt;BR /&gt;    'x_fp_sequence'=&amp;gt;$sequence,  &lt;BR /&gt;    'x_fp_timestamp'=&amp;gt;$ret[1],  &lt;BR /&gt;    'x_fp_hash'=&amp;gt;$ret[0],  &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$timestamp = time();&lt;BR /&gt;$fingerprint = hash_hmac("md5", $loginid."^".$sequence."^".$timestamp."^".$amount."^", $x_tran_key);&lt;BR /&gt;$fields = array(  &lt;BR /&gt;    'x_fp_sequence'=&amp;gt;$sequence,  &lt;BR /&gt;    'x_fp_timestamp'=&amp;gt;$timestamp,  &lt;BR /&gt;    'x_fp_hash'=&amp;gt;$fingerprint,  &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also make sure you change the form action to be the name of the file you are working with. The sample code you are using has it set to donate.php.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;form method="POST" action="donate.php"&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Feb 2010 21:01:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1713#M1490</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2010-02-01T21:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1716#M1492</link>
      <description>&lt;P&gt;I made the changes and the errors went away, thanks again for that. And I went to change this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;form method="POST" action="donate.php"&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;to exform.php, which is the name of my file and when I click the button the page just reloads. Is that correct of do I need to change it to something else?&lt;/P&gt;&amp;nbsp;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 23:09:56 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1716#M1492</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-01T23:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1717#M1493</link>
      <description>&lt;P&gt;That shouldn't happen. If you can, post the code you have so far. That will make it easier for me to troubleshoot it for you.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 23:24:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1717#M1493</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2010-02-01T23:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1719#M1495</link>
      <description>&lt;P&gt;I couldn't put it all in one post, here is one part....&lt;/P&gt;&lt;DIV&gt;&amp;lt;?php&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// How to use this page...&lt;/DIV&gt;&lt;DIV&gt;//&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;// NOTE: You can search for [Fixup #] (with the square brackets), where #&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; is the step number from below, to find where in the code to make&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; the changes.&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp;1. Fill in the appropriate information under the "Site Identity&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; Constants" section below.&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp;2. Fill in the appropriate information under the "Authorize.net&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; Credentials" below.&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp;3. (Optional) Select to use the Live or Test server/account.&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; Default=Test.&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp;4. Find the "How to apply your donation" section in the HTML and fix&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; up according to your needs (different options, checkboxes for&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; multi-select, etc.)&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp;5. Find the comment "Make Description Here" below and modify the&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; following line to match the control(s) set up in step 3.&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp;6. Test/Fix/Test/Deploy&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// [Fixup 1] Site Identity Constants&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;$SiteOwnerName = "Dixie Gas &amp;amp; Oil Corp.";&lt;/DIV&gt;&lt;DIV&gt;$PageTitle = "Dixie Gas &amp;amp; Oil";&lt;/DIV&gt;&lt;DIV&gt;$ReturnHomePage = "&lt;A target="_blank" rel="nofollow" href="http://www.dixiegas.com"&gt;www.dixiegas.com&lt;/A&gt;";&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// [Fixup 2] Authorize.net Credentials&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// Note: The Test account credentials are for my own test account, but you&lt;/DIV&gt;&lt;DIV&gt;// &amp;nbsp; &amp;nbsp; &amp;nbsp; can replace them with your own if you have one.&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;$LiveLoginId = "6qSD82eFL";&lt;/DIV&gt;&lt;DIV&gt;$LiveTransactionKey = "6367y2hfmYy8LEfe";&lt;/DIV&gt;&lt;DIV&gt;$TestLoginId = "6qSD82eFL";&lt;/DIV&gt;&lt;DIV&gt;$TestTransactionKey = "6367y2hfmYy8LEfe";&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// [Fixup 3] Choose live or test server/account&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;$UseTestAccount = true;&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// Now set the global vars used to process the request&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;$LiveGatewayUrl = "&lt;A target="_blank" rel="nofollow" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;";&lt;/DIV&gt;&lt;DIV&gt;$TestGatewayUrl = "&lt;A target="_blank" rel="nofollow" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;";&lt;/DIV&gt;&lt;DIV&gt;if ($UseTestAccount) {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$loginid = $TestLoginId;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$x_tran_key = $TestTransactionKey;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$gateway_url = $TestGatewayUrl;&lt;/DIV&gt;&lt;DIV&gt;} else {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$loginid = $LiveLoginId;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$x_tran_key = $TestTransactionKey;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$gateway_url = $LiveGatewayUrl;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// Other Global Vars&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;$doredirect = false;&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// Includes&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;// did form submit??&lt;/DIV&gt;&lt;DIV&gt;//&lt;/DIV&gt;&lt;DIV&gt;if (isset($HTTP_POST_VARS["formSubmitted"])){&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$strFirstName = $HTTP_POST_VARS["x_first_name"];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$strLastName = $HTTP_POST_VARS["x_last_name"];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// [Fixup 5] Make Description Here&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$strDescription = "[ApplyTo:". trim($HTTP_POST_VARS["ApplyTo"])."] + [Country:" . trim($HTTP_POST_VARS["ForCountry"])."]";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$amount = $HTTP_POST_VARS["x_amount"];&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (substr($amount, 0,1) == "$") {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$amount = substr($amount,1);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (is_numeric($amount))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$doredirect=true;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} else {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$msg = "Please enter only a numeric amount.";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;?&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;?&lt;/DIV&gt;&lt;DIV&gt;if ($doredirect == false)&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;?&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;A target="_blank" rel="nofollow" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/A&gt;"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;html xmlns="&lt;A target="_blank" rel="nofollow" href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;head&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;title&amp;gt;Online Payment&amp;lt;/title&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="description" content="&amp;lt;? echo $SiteOwnerName ?&amp;gt;"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="resource-type" content="document"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="revisit-after" content="14 days"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="classification" content="consumer"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="keywords" content="&amp;lt;? echo $SiteOwnerName ?&amp;gt;"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="robots" content="All"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="distribution" content="global"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="rating" content="general"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="copyright" content="2008"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="web author" content="Interdimensional Designs: wwww.interdimensionaldesigns.com"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&amp;gt;&lt;/DIV&gt;&lt;P&gt;&amp;lt;?php//// How to use this page...//&amp;nbsp;// NOTE: You can search for [Fixup #] (with the square brackets), where #// &amp;nbsp; &amp;nbsp; &amp;nbsp; is the step number from below, to find where in the code to make// &amp;nbsp; &amp;nbsp; &amp;nbsp; the changes.//// &amp;nbsp;1. Fill in the appropriate information under the "Site Identity// &amp;nbsp; &amp;nbsp; Constants" section below.//// &amp;nbsp;2. Fill in the appropriate information under the "Authorize.net// &amp;nbsp; &amp;nbsp; Credentials" below.//// &amp;nbsp;3. (Optional) Select to use the Live or Test server/account.// &amp;nbsp; &amp;nbsp; Default=Test.//// &amp;nbsp;4. Find the "How to apply your donation" section in the HTML and fix// &amp;nbsp; &amp;nbsp; up according to your needs (different options, checkboxes for// &amp;nbsp; &amp;nbsp; multi-select, etc.)//// &amp;nbsp;5. Find the comment "Make Description Here" below and modify the// &amp;nbsp; &amp;nbsp; following line to match the control(s) set up in step 3.//// &amp;nbsp;6. Test/Fix/Test/Deploy&lt;BR /&gt;//// [Fixup 1] Site Identity Constants//$SiteOwnerName = "Dixie Gas &amp;amp; Oil Corp.";$PageTitle = "Dixie Gas &amp;amp; Oil";$ReturnHomePage = "&lt;A target="_blank" rel="nofollow" href="http://www.dixiegas.com"&gt;www.dixiegas.com&lt;/A&gt;";&lt;BR /&gt;//// [Fixup 2] Authorize.net Credentials//// Note: The Test account credentials are for my own test account, but you// &amp;nbsp; &amp;nbsp; &amp;nbsp; can replace them with your own if you have one.//$LiveLoginId = "6qSD82eFL";$LiveTransactionKey = "6367y2hfmYy8LEfe";&lt;BR /&gt;$TestLoginId = "6qSD82eFL";$TestTransactionKey = "6367y2hfmYy8LEfe";&lt;BR /&gt;//// [Fixup 3] Choose live or test server/account//$UseTestAccount = true;&lt;BR /&gt;//// Now set the global vars used to process the request//$LiveGatewayUrl = "&lt;A target="_blank" rel="nofollow" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;";$TestGatewayUrl = "&lt;A target="_blank" rel="nofollow" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;";&lt;BR /&gt;if ($UseTestAccount) {&amp;nbsp;&amp;nbsp; &amp;nbsp;$loginid = $TestLoginId;&amp;nbsp;&amp;nbsp; &amp;nbsp;$x_tran_key = $TestTransactionKey;&amp;nbsp;&amp;nbsp; &amp;nbsp;$gateway_url = $TestGatewayUrl;} else {&amp;nbsp;&amp;nbsp; &amp;nbsp;$loginid = $LiveLoginId;&amp;nbsp;&amp;nbsp; &amp;nbsp;$x_tran_key = $TestTransactionKey;&amp;nbsp;&amp;nbsp; &amp;nbsp;$gateway_url = $LiveGatewayUrl;}&lt;BR /&gt;&lt;BR /&gt;//// Other Global Vars//$doredirect = false;&lt;BR /&gt;//// Includes//&lt;BR /&gt;//// did form submit??//if (isset($HTTP_POST_VARS["formSubmitted"])){&amp;nbsp;&amp;nbsp; &amp;nbsp;$strFirstName = $HTTP_POST_VARS["x_first_name"];&amp;nbsp;&amp;nbsp; &amp;nbsp;$strLastName = $HTTP_POST_VARS["x_last_name"];&amp;nbsp;&amp;nbsp; &amp;nbsp;//&amp;nbsp;&amp;nbsp; &amp;nbsp;// [Fixup 5] Make Description Here&amp;nbsp;&amp;nbsp; &amp;nbsp;//&amp;nbsp;&amp;nbsp; &amp;nbsp;$strDescription = "[ApplyTo:". trim($HTTP_POST_VARS["ApplyTo"])."] + [Country:" . trim($HTTP_POST_VARS["ForCountry"])."]";&amp;nbsp;&amp;nbsp; &amp;nbsp;$amount = $HTTP_POST_VARS["x_amount"];&amp;nbsp;&amp;nbsp; &amp;nbsp;if (substr($amount, 0,1) == "$") {&amp;nbsp;&amp;nbsp; &amp;nbsp;$amount = substr($amount,1);&amp;nbsp;&amp;nbsp; &amp;nbsp;}&amp;nbsp;&amp;nbsp; &amp;nbsp;if (is_numeric($amount))&amp;nbsp;&amp;nbsp; &amp;nbsp;{&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$doredirect=true;&amp;nbsp;&amp;nbsp; &amp;nbsp;} else {&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$msg = "Please enter only a numeric amount.";&amp;nbsp;&amp;nbsp; &amp;nbsp;}}?&amp;gt;&lt;BR /&gt;&amp;lt;?if ($doredirect == false){?&amp;gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;A target="_blank" rel="nofollow" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/A&gt;"&amp;gt;&amp;lt;html xmlns="&lt;A target="_blank" rel="nofollow" href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;title&amp;gt;Online Payment&amp;lt;/title&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="description" content="&amp;lt;? echo $SiteOwnerName ?&amp;gt;"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="resource-type" content="document"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="revisit-after" content="14 days"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="classification" content="consumer"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="keywords" content="&amp;lt;? echo $SiteOwnerName ?&amp;gt;"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="robots" content="All"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="distribution" content="global"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="rating" content="general"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="copyright" content="2008"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta name="web author" content="Interdimensional Designs: wwww.interdimensionaldesigns.com"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 00:19:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1719#M1495</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-02T00:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1720#M1496</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;style type="text/css"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;!--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fieldset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;float: left;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clear: left;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width: 400px;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;margin: 0 0 0 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;padding: 0em 1em 1em 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;border: none;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fieldset legend&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;font-size: 1em;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;margin-right: 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;padding: 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;font-family: Corbel, Geneva, Arial, Helvetica, sans-serif;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;font-size: 1.5em;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;font-weight: 600;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fieldset ol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;padding: 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;border-top: solid 1px black;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;list-style: none;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;margin-left: 10px;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;margin-top: 2px;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fieldset li&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;padding: 0 0 0 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;float: left;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clear: left;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;margin: 4px 10px 0 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width: 100%;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vertical-align: top;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fieldset label&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;float: left;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;font-size: 1em;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width: 60%;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;margin-top: 3px;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text-align: left;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fieldset input&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width: 95%;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fieldset select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width: 38%;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fieldset input.btn-submit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;margin-top: 10px;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text-align: center;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;width:250px;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;--&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;script language="JavaScript"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;!--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;function IsNumeric(sText)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var ValidChars = "0123456789.";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var IsNumber=true;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var Char;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; sText.length &amp;amp;&amp;amp; IsNumber == true; i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Char = sText.charAt(i);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (ValidChars.indexOf(Char) == -1) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IsNumber = false;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (IsNumber==false) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alert('Please enter only a number.');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;document.getElementById("formsub").innerHTML = "";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;document.getElementById("formsub").innerHTML =&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&amp;lt;input type=\"submit\" class=\"btn-submit\" value=\"Click " +&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"here for secure payment form\" /&amp;gt;&amp;lt;input type=\"hidden\" " +&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"name=\"formSubmitted\" value=\"1\"/&amp;gt;"; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;p style="font-weight: bold; font-family:Arial, Helvetica, Sans-Serif; font-size: 14px;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;? echo "$SiteOwnerName - &amp;nbsp;$PageTitle" ?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;? if ($msg&amp;lt;&amp;gt;"") {echo "&amp;lt;p color=red&amp;gt;$msg&amp;lt;/p&amp;gt;";} ?&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;form method="POST" action="&lt;A target="_blank" rel="nofollow" href="http://www.interdimensionaldesigns.com/exform.php"&gt;http://www.interdimensionaldesigns.com/exform.php&lt;/A&gt;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;div style="text-align:left; font-family: Verdana; font-size:.8em;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;fieldset&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;legend&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Enter the amount you wish to pay on your bill.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/legend&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 00:20:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1720#M1496</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-02T00:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1722#M1498</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;lt;ol&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;label for="x_first_name"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*First name: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/label&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="text" name="x_first_name" size="30"/&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;label for="x_last_name"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*Last name:&amp;lt;/label&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="text" name="x_last_name"/&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;label for="x_amount" &amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*Amount: $ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/label&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="text" name="x_amount"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;onblur="IsNumeric(this.value);"/&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li id="formsub"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="submit" class="btn-submit"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;value="Click here for secure payment form" /&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="hidden" name="formSubmitted" value="1"/&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ol&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/fieldset&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;/form&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;} else {// DO REDIRECT&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;srand(time());&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$sequence = rand(1, 1000);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Insert the form elements required for SIM by calling InsertFP&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; $timestamp = time();&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; $fingerprint = hash_hmac("md5", $loginid."^".$sequence."^".$timestamp."^".$amount."^", $x_tran_key);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; $fields = array( &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_fp_sequence'=&amp;gt;$sequence, &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_fp_timestamp'=&amp;gt;$timestamp, &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_fp_hash'=&amp;gt;$fingerprint, &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_description'=&amp;gt;$strDescription, &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_login'=&amp;gt;$loginid, &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_show_form'=&amp;gt;"PAYMENT_FORM", &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_first_name'=&amp;gt;$strFirstName, &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_last_name'=&amp;gt;$strLastName, &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_amount'=&amp;gt;$amount, &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_header_html_payment_form'=&amp;gt;"&amp;lt;div style='font-family: Verdana; font-size: 18px; font-weight: bold;'&amp;gt;&amp;lt;i&amp;gt;Thank You&amp;lt;/i&amp;gt; from $SiteOwnerName.&amp;lt;/div&amp;gt;", &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_footer_html_payment_form'=&amp;gt;"&amp;lt;span style='font-style:italic; font-size:.8em;'&amp;gt;God Bless&amp;lt;/span&amp;gt;", &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_receipt_link_method'=&amp;gt;"LINK", &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_receipt_link_text'=&amp;gt;"Return to $SiteOwnerName site",&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_receipt_link_url'=&amp;gt;"http://$ReturnHomePage"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;); &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "&amp;lt;form name='myform' action='$gateway_url' method='post'&amp;gt;";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;foreach ($fields as $key =&amp;gt; $value) {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print "&amp;lt;input type='hidden' name='".$key."' value=\"".$value."\"&amp;gt;";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$fields_string .= "$key=$value";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "&amp;lt;/form&amp;gt;";&lt;/DIV&gt;&lt;DIV&gt;?&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;script language="javascript" type="text/javascript"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;document.myform.submit();&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;/script&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;?&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;?&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;/body&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;/html&amp;gt;&lt;/DIV&gt;&lt;P&gt;&amp;lt;ol&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;label for="x_first_name"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*First name: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/label&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="text" name="x_first_name" size="30"/&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;label for="x_last_name"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*Last name:&amp;lt;/label&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="text" name="x_last_name"/&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;label for="x_amount" &amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*Amount: $ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/label&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="text" name="x_amount"&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;onblur="IsNumeric(this.value);"/&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;li id="formsub"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="submit" class="btn-submit"&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;value="Click here for secure payment form" /&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type="hidden" name="formSubmitted" value="1"/&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/li&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/ol&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/fieldset&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/div&amp;gt;&amp;lt;/form&amp;gt;&amp;lt;?&amp;nbsp;} else {// DO REDIRECT&amp;nbsp;&amp;nbsp; &amp;nbsp;srand(time());&amp;nbsp;&amp;nbsp; &amp;nbsp;$sequence = rand(1, 1000);&amp;nbsp;&amp;nbsp; &amp;nbsp;// Insert the form elements required for SIM by calling InsertFP&amp;nbsp;&amp;nbsp; &amp;nbsp; $timestamp = time();&amp;nbsp;&amp;nbsp; &amp;nbsp; $fingerprint = hash_hmac("md5", $loginid."^".$sequence."^".$timestamp."^".$amount."^", $x_tran_key);&amp;nbsp;&amp;nbsp; &amp;nbsp; $fields = array( &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_fp_sequence'=&amp;gt;$sequence, &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_fp_timestamp'=&amp;gt;$timestamp, &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_fp_hash'=&amp;gt;$fingerprint, &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_description'=&amp;gt;$strDescription, &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_login'=&amp;gt;$loginid, &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_show_form'=&amp;gt;"PAYMENT_FORM", &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_first_name'=&amp;gt;$strFirstName, &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_last_name'=&amp;gt;$strLastName, &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_amount'=&amp;gt;$amount, &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_header_html_payment_form'=&amp;gt;"&amp;lt;div style='font-family: Verdana; font-size: 18px; font-weight: bold;'&amp;gt;&amp;lt;i&amp;gt;Thank You&amp;lt;/i&amp;gt; from $SiteOwnerName.&amp;lt;/div&amp;gt;", &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_footer_html_payment_form'=&amp;gt;"&amp;lt;span style='font-style:italic; font-size:.8em;'&amp;gt;God Bless&amp;lt;/span&amp;gt;", &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_receipt_link_method'=&amp;gt;"LINK", &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_receipt_link_text'=&amp;gt;"Return to $SiteOwnerName site",&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'x_receipt_link_url'=&amp;gt;"http://$ReturnHomePage"&amp;nbsp;&amp;nbsp; &amp;nbsp;); &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;";&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "&amp;lt;form name='myform' action='$gateway_url' method='post'&amp;gt;";&amp;nbsp;&amp;nbsp; &amp;nbsp;foreach ($fields as $key =&amp;gt; $value) {&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print "&amp;lt;input type='hidden' name='".$key."' value=\"".$value."\"&amp;gt;";&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$fields_string .= "$key=$value";&amp;nbsp;&amp;nbsp; &amp;nbsp;}&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "&amp;lt;/form&amp;gt;";?&amp;gt;&amp;lt;script language="javascript" type="text/javascript"&amp;gt;document.myform.submit();&amp;lt;/script&amp;gt;&amp;lt;?}?&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 00:20:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1722#M1498</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-02T00:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1723#M1499</link>
      <description>&lt;P&gt;So that's the code in 3 parts. I tried to put it in w/ insercode but it wouldn't let me.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 00:21:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1723#M1499</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-02T00:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1724#M1500</link>
      <description>&lt;P&gt;Looks like your code got borked somewhere along the line. I pieced it back together and I think found your problem. Your server may not like $HTTP_POST_VARS. I replaced them with $_POST. Try it out and let me know how it goes. (FYI, I took out your login info so you'll need to replace it. It's generally not a good idea to make that public. I;d replace the transaction key when you go live.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?php&lt;BR /&gt;//&lt;BR /&gt;// How to use this page...&lt;BR /&gt;//&lt;BR /&gt;// NOTE: You can search for [Fixup #] (with the square brackets), where #&lt;BR /&gt;//       is the step number from below, to find where in the code to make&lt;BR /&gt;//       the changes.&lt;BR /&gt;//&lt;BR /&gt;//  1. Fill in the appropriate information under the "Site Identity&lt;BR /&gt;//     Constants" section below.&lt;BR /&gt;//&lt;BR /&gt;//  2. Fill in the appropriate information under the "Authorize.net&lt;BR /&gt;//     Credentials" below.&lt;BR /&gt;//&lt;BR /&gt;//  3. (Optional) Select to use the Live or Test server/account.&lt;BR /&gt;//     Default=Test.&lt;BR /&gt;//&lt;BR /&gt;//  4. Find the "How to apply your donation" section in the HTML and fix&lt;BR /&gt;//     up according to your needs (different options, checkboxes for&lt;BR /&gt;//     multi-select, etc.)&lt;BR /&gt;//&lt;BR /&gt;//  5. Find the comment "Make Description Here" below and modify the&lt;BR /&gt;//     following line to match the control(s) set up in step 3.&lt;BR /&gt;//&lt;BR /&gt;//  6. Test/Fix/Test/Deploy&lt;BR /&gt;//&lt;BR /&gt;// [Fixup 1] Site Identity Constants&lt;BR /&gt;//&lt;BR /&gt;$SiteOwnerName = "Dixie Gas &amp;amp; Oil Corp.";&lt;BR /&gt;$PageTitle = "Dixie Gas &amp;amp; Oil";&lt;BR /&gt;$ReturnHomePage = "&lt;A target="_blank" rel="nofollow" href="http://www.dixiegas.com"&gt;www.dixiegas.com&lt;/A&gt;";&lt;BR /&gt;//&lt;BR /&gt;// [Fixup 2] Authorize.net Credentials&lt;BR /&gt;//&lt;BR /&gt;// Note: The Test account credentials are for my own test account, but you&lt;BR /&gt;//       can replace them with your own if you have one.&lt;BR /&gt;//&lt;BR /&gt;$LiveLoginId = "";&lt;BR /&gt;$LiveTransactionKey = "";&lt;BR /&gt;$TestLoginId = "";&lt;BR /&gt;$TestTransactionKey = "";&lt;BR /&gt;//&lt;BR /&gt;// [Fixup 3] Choose live or test server/account&lt;BR /&gt;//&lt;BR /&gt;$UseTestAccount = true;&lt;BR /&gt;//&lt;BR /&gt;// Now set the global vars used to process the request&lt;BR /&gt;//&lt;BR /&gt;$LiveGatewayUrl = "&lt;A target="_blank" rel="nofollow" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;";&lt;BR /&gt;$TestGatewayUrl = "&lt;A target="_blank" rel="nofollow" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;";&lt;BR /&gt;if ($UseTestAccount) {&lt;BR /&gt;    $loginid = $TestLoginId;&lt;BR /&gt;    $x_tran_key = $TestTransactionKey;&lt;BR /&gt;    $gateway_url = $TestGatewayUrl;&lt;BR /&gt;} else {&lt;BR /&gt;    $loginid = $LiveLoginId;&lt;BR /&gt;    $x_tran_key = $TestTransactionKey;&lt;BR /&gt;    $gateway_url = $LiveGatewayUrl;&lt;BR /&gt;}&lt;BR /&gt;//&lt;BR /&gt;// Other Global Vars&lt;BR /&gt;//&lt;BR /&gt;$doredirect = false;&lt;BR /&gt;//&lt;BR /&gt;// Includes&lt;BR /&gt;//&lt;BR /&gt;//&lt;BR /&gt;// did form submit??&lt;BR /&gt;//&lt;BR /&gt;if (isset($_POST["formSubmitted"])){&lt;BR /&gt;&lt;BR /&gt;    $strFirstName = $_POST["x_first_name"];&lt;BR /&gt;    $strLastName = $_POST["x_last_name"];&lt;BR /&gt;    //&lt;BR /&gt;    // [Fixup 5] Make Description Here&lt;BR /&gt;    //&lt;BR /&gt;    $strDescription = "[ApplyTo:". trim($_POST["ApplyTo"])."] + [Country:" . trim($_POST["ForCountry"])."]";&lt;BR /&gt;    $amount = $_POST["x_amount"];&lt;BR /&gt;    if (substr($amount, 0,1) == "$") {&lt;BR /&gt;    $amount = substr($amount,1);&lt;BR /&gt;    }&lt;BR /&gt;    if (is_numeric($amount))&lt;BR /&gt;    {&lt;BR /&gt;        $doredirect=true;&lt;BR /&gt;    } else {&lt;BR /&gt;        $msg = "Please enter only a numeric amount.";&lt;BR /&gt;    }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;if ($doredirect == false)&lt;BR /&gt;{&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;A target="_blank" rel="nofollow" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;html xmlns="&lt;A target="_blank" rel="nofollow" href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;    &amp;lt;title&amp;gt;Online Payment&amp;lt;/title&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="description" content="&amp;lt;? echo $SiteOwnerName ?&amp;gt;"&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="resource-type" content="document"&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="revisit-after" content="14 days"&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="classification" content="consumer"&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="keywords" content="&amp;lt;? echo $SiteOwnerName ?&amp;gt;"&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="robots" content="All"&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="distribution" content="global"&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="rating" content="general"&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="copyright" content="2008"&amp;gt;&lt;BR /&gt;    &amp;lt;meta name="web author" content="Interdimensional Designs: wwww.interdimensionaldesigns.com"&amp;gt;&lt;BR /&gt;    &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&amp;gt;&lt;BR /&gt;    &amp;lt;style type="text/css"&amp;gt;&lt;BR /&gt;    &amp;lt;!--&lt;BR /&gt;    fieldset&lt;BR /&gt;    {&lt;BR /&gt;        float: left;&lt;BR /&gt;        clear: left;&lt;BR /&gt;        width: 400px;&lt;BR /&gt;        margin: 0 0 0 0;&lt;BR /&gt;        padding: 0em 1em 1em 0;&lt;BR /&gt;        border: none;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;    fieldset legend&lt;BR /&gt;    {&lt;BR /&gt;        font-size: 1em;&lt;BR /&gt;        margin-right: 0;&lt;BR /&gt;        padding: 0;&lt;BR /&gt;        font-family: Corbel, Geneva, Arial, Helvetica, sans-serif;&lt;BR /&gt;        font-size: 1.5em;&lt;BR /&gt;        font-weight: 600;&lt;BR /&gt;    }&lt;BR /&gt;    fieldset ol&lt;BR /&gt;    {&lt;BR /&gt;        padding: 0;&lt;BR /&gt;        border-top: solid 1px black;&lt;BR /&gt;        list-style: none;&lt;BR /&gt;        margin-left: 10px;&lt;BR /&gt;        margin-top: 2px;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;    fieldset li&lt;BR /&gt;    {&lt;BR /&gt;        padding: 0 0 0 0;&lt;BR /&gt;        float: left;&lt;BR /&gt;        clear: left;&lt;BR /&gt;        margin: 4px 10px 0 0;&lt;BR /&gt;        width: 100%;&lt;BR /&gt;        vertical-align: top;&lt;BR /&gt;    }&lt;BR /&gt;    fieldset label&lt;BR /&gt;    {&lt;BR /&gt;        float: left;&lt;BR /&gt;        font-size: 1em;&lt;BR /&gt;        width: 60%;&lt;BR /&gt;        margin-top: 3px;&lt;BR /&gt;        text-align: left;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;    fieldset input&lt;BR /&gt;    {&lt;BR /&gt;        width: 95%;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;    fieldset select&lt;BR /&gt;    {&lt;BR /&gt;        width: 38%;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;    fieldset input.btn-submit&lt;BR /&gt;    {&lt;BR /&gt;        margin-top: 10px;&lt;BR /&gt;        text-align: center;&lt;BR /&gt;        width:250px;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;    --&amp;gt;&lt;BR /&gt;    &amp;lt;/style&amp;gt;&lt;BR /&gt;&lt;BR /&gt;    &amp;lt;script type="text/javascript"&amp;gt;&lt;BR /&gt;    &amp;lt;!--&lt;BR /&gt;    function IsNumeric(sText)&lt;BR /&gt;&lt;BR /&gt;    {&lt;BR /&gt;        var ValidChars = "0123456789.";&lt;BR /&gt;        var IsNumber=true;&lt;BR /&gt;        var Char;&lt;BR /&gt;&lt;BR /&gt;        for (i = 0; i &amp;lt; sText.length &amp;amp;&amp;amp; IsNumber == true; i++) {&lt;BR /&gt;            Char = sText.charAt(i);&lt;BR /&gt;            if (ValidChars.indexOf(Char) == -1) {&lt;BR /&gt;                IsNumber = false;&lt;BR /&gt;            }&lt;BR /&gt;        }&lt;BR /&gt;        if (IsNumber==false) {&lt;BR /&gt;            alert('Please enter only a number.');&lt;BR /&gt;            document.getElementById("formsub").innerHTML = "";&lt;BR /&gt;        }&lt;BR /&gt;        else {&lt;BR /&gt;            document.getElementById("formsub").innerHTML =&lt;BR /&gt;            "&amp;lt;input type=\"submit\" class=\"btn-submit\" value=\"Click " +&lt;BR /&gt;            "here for secure payment form\" /&amp;gt;&amp;lt;input type=\"hidden\" " +&lt;BR /&gt;            "name=\"formSubmitted\" value=\"1\"/&amp;gt;";&lt;BR /&gt;        }&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;    // --&amp;gt;&lt;BR /&gt;    &amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;p style="font-weight: bold; font-family:Arial, Helvetica, Sans-Serif; font-size: 14px;"&amp;gt;&lt;BR /&gt;    &amp;lt;?php echo SITE_NAME . " -  Donations" ?&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;?php if ($msg&amp;lt;&amp;gt;"") {echo "&amp;lt;p color=red&amp;gt;$msg&amp;lt;/p&amp;gt;";} ?&amp;gt;&lt;BR /&gt;&amp;lt;form method="POST" action="&amp;lt;?php echo $_SERVER['PHP_SELF']; ?&amp;gt;"&amp;gt;&lt;BR /&gt;    &amp;lt;div style="text-align:left; font-family: Verdana; font-size:.8em;"&amp;gt;&lt;BR /&gt;        &amp;lt;fieldset&amp;gt;&lt;BR /&gt;        &amp;lt;legend&amp;gt;&lt;BR /&gt;            Enter the amount you wish to pay on your bill.&lt;BR /&gt;        &amp;lt;/legend&amp;gt;&lt;BR /&gt;        &amp;lt;ol&amp;gt;&lt;BR /&gt;            &amp;lt;li&amp;gt;&lt;BR /&gt;                &amp;lt;label for="x_first_name"&amp;gt;&lt;BR /&gt;                *First name:                &amp;lt;/label&amp;gt;&lt;BR /&gt;                &amp;lt;input type="text" name="x_first_name" size="30"/&amp;gt;&lt;BR /&gt;            &amp;lt;/li&amp;gt;&lt;BR /&gt;            &amp;lt;li&amp;gt;&lt;BR /&gt;                &amp;lt;label for="x_last_name"&amp;gt;&lt;BR /&gt;                *Last name:&amp;lt;/label&amp;gt;&lt;BR /&gt;                &amp;lt;input type="text" name="x_last_name"/&amp;gt;&lt;BR /&gt;            &amp;lt;/li&amp;gt;&lt;BR /&gt;            &amp;lt;li&amp;gt;&lt;BR /&gt;                &amp;lt;label for="x_amount" &amp;gt;&lt;BR /&gt;                *Amount: $                &amp;lt;/label&amp;gt;&lt;BR /&gt;                &amp;lt;input type="text" name="x_amount"&lt;BR /&gt;                    onblur="IsNumeric(this.value);"/&amp;gt;&lt;BR /&gt;            &amp;lt;/li&amp;gt;&lt;BR /&gt;            &amp;lt;li id="formsub"&amp;gt;&lt;BR /&gt;                &amp;lt;input type="submit" class="btn-submit"&lt;BR /&gt;                    value="Click here for secure payment form" /&amp;gt;&lt;BR /&gt;                &amp;lt;input type="hidden" name="formSubmitted" value="1"/&amp;gt;&lt;BR /&gt;            &amp;lt;/li&amp;gt;&lt;BR /&gt;        &amp;lt;/ol&amp;gt;&lt;BR /&gt;        &amp;lt;/fieldset&amp;gt;&lt;BR /&gt;    &amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/form&amp;gt;&lt;BR /&gt;&amp;lt;?&lt;BR /&gt;} else {// DO REDIRECT&lt;BR /&gt;    srand(time());&lt;BR /&gt;    $sequence = rand(1, 1000);&lt;BR /&gt;    // Insert the form elements required for SIM by calling InsertFP&lt;BR /&gt;     $timestamp = time();&lt;BR /&gt;     $fingerprint = hash_hmac("md5", $loginid."^".$sequence."^".$timestamp."^".$amount."^", $x_tran_key);&lt;BR /&gt;     $fields = array(&lt;BR /&gt;        'x_fp_sequence'=&amp;gt;$sequence,&lt;BR /&gt;        'x_fp_timestamp'=&amp;gt;$timestamp,&lt;BR /&gt;        'x_fp_hash'=&amp;gt;$fingerprint,&lt;BR /&gt;        'x_description'=&amp;gt;$strDescription,&lt;BR /&gt;        'x_login'=&amp;gt;$loginid,&lt;BR /&gt;        'x_show_form'=&amp;gt;"PAYMENT_FORM",&lt;BR /&gt;        'x_first_name'=&amp;gt;$strFirstName,&lt;BR /&gt;        'x_last_name'=&amp;gt;$strLastName,&lt;BR /&gt;        'x_amount'=&amp;gt;$amount,&lt;BR /&gt;        'x_header_html_payment_form'=&amp;gt;"&amp;lt;div style='font-family: Verdana; font-size: 18px; font-weight: bold;'&amp;gt;&amp;lt;i&amp;gt;Thank You&amp;lt;/i&amp;gt; from $SiteOwnerName.&amp;lt;/div&amp;gt;",&lt;BR /&gt;        'x_footer_html_payment_form'=&amp;gt;"&amp;lt;span style='font-style:italic; font-size:.8em;'&amp;gt;God Bless&amp;lt;/span&amp;gt;",&lt;BR /&gt;        'x_receipt_link_method'=&amp;gt;"LINK",&lt;BR /&gt;        'x_receipt_link_text'=&amp;gt;"Return to $SiteOwnerName site",&lt;BR /&gt;        'x_receipt_link_url'=&amp;gt;"http://$ReturnHomePage"&lt;BR /&gt;    );&lt;BR /&gt;    echo "&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;";&lt;BR /&gt;    echo "&amp;lt;form name='myform' action='$gateway_url' method='post'&amp;gt;";&lt;BR /&gt;    foreach ($fields as $key =&amp;gt; $value) {&lt;BR /&gt;        print "&amp;lt;input type='hidden' name='".$key."' value=\"".$value."\"&amp;gt;";&lt;BR /&gt;        $fields_string .= "$key=$value";&lt;BR /&gt;    }&lt;BR /&gt;    echo "&amp;lt;/form&amp;gt;";&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&amp;lt;script language="javascript" type="text/javascript"&amp;gt;&lt;BR /&gt;document.myform.submit();&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;?&lt;BR /&gt;}&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 00:52:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1724#M1500</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2010-02-02T00:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1726#M1502</link>
      <description>&lt;P&gt;Let's troubleshoot this. Change:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;if (isset($_POST["formSubmitted"])){

    $strFirstName = $_POST["x_first_name"];
    $strLastName = $_POST["x_last_name"];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;if (isset($_POST["formSubmitted"])){
    
    echo "made it here!"; exit;

    $strFirstName = $_POST["x_first_name"];
    $strLastName = $_POST["x_last_name"];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that prints then we're making to the code that handles the form submission. If it doesn't then that's the isue we need to resolve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 01:12:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1726#M1502</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2010-02-02T01:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: SIM integration help</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1728#M1504</link>
      <description>&lt;P&gt;ok that worked&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 01:22:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SIM-integration-help/m-p/1728#M1504</guid>
      <dc:creator>blind2uriz</dc:creator>
      <dc:date>2010-02-02T01:22:20Z</dc:date>
    </item>
  </channel>
</rss>

