<?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: Trouble getting started with SIM in an ASP.Net MVC project in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16212#M9166</link>
    <description>&lt;P&gt;@&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; (AuthorizeNet.Helpers.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;CheckoutFormBuilders&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;.BeginSIMForm(Html, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;A href="http://www.../" rel="nofollow" target="_blank"&gt;http://www...&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, 1.99M, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;))&lt;/FONT&gt;&lt;/FONT&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the SDK sample application, the line look like this&lt;/P&gt;&lt;PRE&gt;using (Html.BeginSIMForm("&lt;A href="http://YOURSERVER.com/orders/sim" target="_blank"&gt;http://YOURSERVER.com/orders/sim&lt;/A&gt;",
                order.Price,
                ConfigurationManager.AppSettings["ApiLogin"],
                ConfigurationManager.AppSettings["TransactionKey"], true))﻿&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;Html&lt;/FONT&gt;&lt;/FONT&gt;﻿&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;.BeginSIMForm(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;A href="http://www.../" rel="nofollow" target="_blank"&gt;http://www...&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, 1.99M, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;))&lt;/FONT&gt;&lt;/FONT&gt;﻿&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2011 13:00:39 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2011-08-17T13:00:39Z</dc:date>
    <item>
      <title>Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/13210#M7944</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm testing the waters with integration in a simple MVC project while I wait for my accounting team to finish our account authorization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I'm having trouble getting the compiled page to output the correct HTML.&amp;nbsp; I basically copy/pasted the sample code from&lt;/P&gt;&lt;P&gt;&lt;A rel="nofollow" target="_blank" href="https://developer.authorize.net/integration/fifteenminutes/csharp#hosted"&gt;https://developer.authorize.net/integration/fifteenminutes/csharp#hosted&lt;/A&gt; , then modified it to build with my project.&amp;nbsp; The only difference from the sample is that I'm using Razor markup. The page looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="background: yellow;"&gt;@{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ViewBag.Title&amp;nbsp;=&amp;nbsp;&lt;SPAN style="color: #a31515;"&gt;"First&amp;nbsp;Test"&lt;/SPAN&gt;;
&lt;SPAN style="background: yellow;"&gt;}&lt;/SPAN&gt;
 
&lt;SPAN style="color: blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;h1&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="background: yellow;"&gt;@&lt;/SPAN&gt;ViewData[&lt;SPAN style="color: #a31515;"&gt;"message"&lt;/SPAN&gt;]&lt;SPAN style="color: blue;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;h1&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;&amp;gt;&lt;/SPAN&gt;
 
&lt;SPAN style="background: yellow;"&gt;@&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;using&lt;/SPAN&gt;&amp;nbsp;(Html.BeginSIMForm(&lt;SPAN style="color: #a31515;"&gt;"&lt;A rel="nofollow" target="_blank" href="http://YOURSERVER.com/home/sim"&gt;http://YOURSERVER.com/home/sim&lt;/A&gt;"&lt;/SPAN&gt;,&amp;nbsp;1.99M,&amp;nbsp;&lt;SPAN style="color: #a31515;"&gt;"YOUR_API_LOGIN_ID"&lt;/SPAN&gt;,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #a31515;"&gt;"YOUR_TRANSACTION_KEY"&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN style="color: blue;"&gt;true&lt;/SPAN&gt;))
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="background: yellow;"&gt;@&lt;/SPAN&gt;Html.Raw(Html.CheckoutFormInputs(&lt;SPAN style="color: blue;"&gt;true&lt;/SPAN&gt;));
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="background: yellow;"&gt;@&lt;/SPAN&gt;Html.Hidden(&lt;SPAN style="color: #a31515;"&gt;"order_id"&lt;/SPAN&gt;,&lt;SPAN style="color: #a31515;"&gt;"1234"&lt;/SPAN&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;input&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: red;"&gt;type&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;"submit"&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: red;"&gt;value&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;"Pay"&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: blue;"&gt;/&amp;gt;&lt;/SPAN&gt;
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;This looks like it should be all fine and dandy, but the problem seems to be with the "BeginSIMForm" helper: the &amp;lt;form&amp;gt;...&amp;lt;/form&amp;gt; block gets output before everything else on the page, so when looking at the html on the rendered page, I see the form block up top, then the DOCTYPE, html, head, body, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried replacing BeginSIMForm with just a basic BeginForm, and if I do that, the form is rendered in the body of the page, as one would expect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something special I need to do to get this to work, or will the HtmlHelpers just not work with MVC3/Razor markup?&amp;nbsp; If not, that might be something worth documenting somewhere (or at least, that they only work with ASP markup).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any feedback I might get on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 19:21:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/13210#M7944</guid>
      <dc:creator>MRussell</dc:creator>
      <dc:date>2011-05-27T19:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/13212#M7945</link>
      <description>&lt;P&gt;Well, I started poking around and the issue seems to be the use of Response.Write in the html helper "BeginSIMForm".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I could just create the form myself, and put in each of the variables in the View, but I like the idea of using a helper for this, so I just wrote my own, using the ViewContext.Writer property of the HtmlHelper, instead of Response.Write.&amp;nbsp; Seems to work great now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just posting this follow-up in case it helps someone else in the future.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 20:48:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/13212#M7945</guid>
      <dc:creator>MRussell</dc:creator>
      <dc:date>2011-05-27T20:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16204#M9162</link>
      <description>&lt;P&gt;how did you get this to work??&amp;nbsp; I'm using MVC3 too and after adding the reference to the DLL I get an error from the web.config:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;c:\Users\ekkis\...\Web.config(105): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'AuthorizeNet' (are you missing an assembly reference?)&lt;/PRE&gt;&lt;P&gt;the line I've added is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;add&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2" face="Consolas"&gt;&lt;FONT color="#ff0000" size="2" face="Consolas"&gt;&lt;FONT color="#ff0000" size="2" face="Consolas"&gt;namespace&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;AuthorizeNet.Helpers&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;/&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I've looked in the assembly and there is indeed no such type... there is ArbApiSample, AuthorizeNet, and AuthorizeNet.APICore... what am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 23:29:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16204#M9162</guid>
      <dc:creator>ekkis</dc:creator>
      <dc:date>2011-08-16T23:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16208#M9164</link>
      <description>&lt;P&gt;it turns out&amp;nbsp;there is a separate AuthorizeNet.Helpers.dll that is what I needed a reference to (I had originally added AuthorizeNet.dll), which I would have presumed contains HtmlHelpers.&amp;nbsp; for some reason I can't just do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Html.BeginSIMForm()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;though if I look in the assembly I see:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AuthorizeNet.Helpers.&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;CheckoutFormBuilders&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;.BeginSIMForm&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;so calling it like this:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; (AuthorizeNet.Helpers.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;CheckoutFormBuilders&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;.BeginSIMForm(Html, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;A href="http://www..." target="_blank"&gt;http://www...&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, 1.99M, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;seems to work but produces bad output, breaking jsquery-1.6.2 on line 4057 with the error that a thrown exception was not caught.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;if I look at the form it produces I see it urlencoded everything so I get:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;amp;lt;&lt;FONT size="2"&gt;h2&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&amp;amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;Payment Information&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&amp;amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;/h2&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&amp;amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" size="2"&gt;&lt;FONT size="2"&gt;instead of &amp;lt;h2&amp;gt;Payment Information&amp;lt;/h2&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" size="2"&gt;&lt;FONT size="2"&gt;wtf is going on here?﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 00:17:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16208#M9164</guid>
      <dc:creator>ekkis</dc:creator>
      <dc:date>2011-08-17T00:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16212#M9166</link>
      <description>&lt;P&gt;@&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; (AuthorizeNet.Helpers.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;&lt;FONT color="#2b91af" size="2" face="Consolas"&gt;CheckoutFormBuilders&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;.BeginSIMForm(Html, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;A href="http://www.../" rel="nofollow" target="_blank"&gt;http://www...&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, 1.99M, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;))&lt;/FONT&gt;&lt;/FONT&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the SDK sample application, the line look like this&lt;/P&gt;&lt;PRE&gt;using (Html.BeginSIMForm("&lt;A href="http://YOURSERVER.com/orders/sim" target="_blank"&gt;http://YOURSERVER.com/orders/sim&lt;/A&gt;",
                order.Price,
                ConfigurationManager.AppSettings["ApiLogin"],
                ConfigurationManager.AppSettings["TransactionKey"], true))﻿&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;using&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt; (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;Html&lt;/FONT&gt;&lt;/FONT&gt;﻿&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;.BeginSIMForm(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;A href="http://www.../" rel="nofollow" target="_blank"&gt;http://www...&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, 1.99M, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;&lt;FONT color="#a31515" size="2" face="Consolas"&gt;"..."&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;, &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;&lt;FONT color="#0000ff" size="2" face="Consolas"&gt;true&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;))&lt;/FONT&gt;&lt;/FONT&gt;﻿&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 13:00:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16212#M9166</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-08-17T13:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16236#M9178</link>
      <description>&lt;P&gt;if I try to do as you suggest I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;Error43'System.Web.Mvc.HtmlHelper&amp;lt;dynamic&amp;gt;' does not contain a definition for 'BeginSIMForm' and no extension method 'BeginSIMForm' accepting a first argument of type 'System.Web.Mvc.HtmlHelper&amp;lt;dynamic&amp;gt;' could be found (are you missing a using directive or an assembly reference?)c:\Users\...\Documents\Visual Studio 2010\Projects\...\Website\Views\Home\Employers.cshtml134Website﻿&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a reference to AuthorizeNet.Helpers and I've now added one to AuthorizeNet (do I need it?) but still...&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 21:06:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16236#M9178</guid>
      <dc:creator>ekkis</dc:creator>
      <dc:date>2011-08-17T21:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16238#M9179</link>
      <description>&lt;P&gt;Did you add&lt;/P&gt;&lt;P&gt;&amp;lt;add namespace="AuthorizeNet.Helpers"/&amp;gt;﻿&lt;/P&gt;&lt;P&gt;to the web.config? There might be more than one &amp;lt;namespaces /&amp;gt; section&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using regular MVC and if I didn't put have that it will error with&lt;/P&gt;&lt;P&gt;CS1061: 'System.Web.Mvc.HtmlHelper&amp;lt;object&amp;gt;' does not contain a definition for 'CheckoutFormInputs' and no extension method 'CheckoutFormInputs' accepting a first argument of type 'System.Web.Mvc.HtmlHelper&amp;lt;object&amp;gt;' could be found (are you missing a using directive or an assembly reference?)&lt;BR /&gt;﻿&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 21:25:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16238#M9179</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-08-17T21:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16242#M9181</link>
      <description>&lt;P&gt;yes, just like you have it, in the system.web/pages/namespaces section&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 21:25:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16242#M9181</guid>
      <dc:creator>ekkis</dc:creator>
      <dc:date>2011-08-17T21:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16244#M9182</link>
      <description>&lt;P&gt;ah... figured it out.&amp;nbsp; I had added it to the &lt;STRONG&gt;\Website\Web.config&lt;/STRONG&gt;, but for MVC3 there is a section &lt;STRONG&gt;configuration/system.web.webPages.Razor/pages/namespaces&lt;/STRONG&gt; in the&lt;STRONG&gt; \Website\Views\Web.config&lt;/STRONG&gt; - adding it there fixed the problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and for the sake of anyone else wondering, no, a reference to AuthorizeNet.dll is not necessary, only to AuthorizeNet.Helpers.dll&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2011 21:31:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16244#M9182</guid>
      <dc:creator>ekkis</dc:creator>
      <dc:date>2011-08-17T21:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16262#M9190</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&amp;nbsp;so I just wrote my own, using the ViewContext.Writer property of the HtmlHelper, instead of Response.Write﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how did you do this? &amp;nbsp;do you have code you could share?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2011 01:59:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16262#M9190</guid>
      <dc:creator>ekkis</dc:creator>
      <dc:date>2011-08-18T01:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16266#M9192</link>
      <description>&lt;P&gt;all right. &amp;nbsp;I've had a look at the source code for CheckoutFormBuilders. &amp;nbsp;what garbage. &amp;nbsp;I'm ripping the DLL out of my project and will code it by hand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- e&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p.s. as a side note, SIM doesn't support eChecks which was the whole reason for this exercise... sigh...&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2011 02:50:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/16266#M9192</guid>
      <dc:creator>ekkis</dc:creator>
      <dc:date>2011-08-18T02:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble getting started with SIM in an ASP.Net MVC project</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/19854#M10915</link>
      <description>&lt;P&gt;I have a detailed answer to this on stackoverflow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/a/8426501/1087034" target="_self"&gt;http://stackoverflow.com/a/8426501/1087034&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As others mentioned add a @using statement to the top of your view to AuhtorizeNET.Helpers or in the web.config located in /Views&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This made it so I could render the forms correctly and test the DPM suite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2011 00:04:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Trouble-getting-started-with-SIM-in-an-ASP-Net-MVC-project/m-p/19854#M10915</guid>
      <dc:creator>epicthreedev</dc:creator>
      <dc:date>2011-12-09T00:04:32Z</dc:date>
    </item>
  </channel>
</rss>

