<?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: Silent Post not Posting: Page Load Event Issue? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21131#M11531</link>
    <description>&lt;P&gt;@Stymiee:&amp;nbsp; My issue is specific to&amp;nbsp;the silent post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe i'm going about this the wrong way but if you try and just load the page you get a null ref exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Line 13:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;/P&gt;&lt;P&gt;Line 14:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&lt;FONT color="red"&gt;Line 15:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!Request.Form["x_invoice_num"].ToString().Equals("")) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Line 16:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadRecordInDB();&lt;/P&gt;&lt;P&gt;Line 17:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works fine when i access the page from my test form as it's passing data.&amp;nbsp; I will modify my code to just dump the vars to a log.&amp;nbsp; If you have any other suggestions on how to implment this i'm all ears!&amp;nbsp; :)&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2012 19:50:46 GMT</pubDate>
    <dc:creator>cirwin</dc:creator>
    <dc:date>2012-01-04T19:50:46Z</dc:date>
    <item>
      <title>Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19890#M10933</link>
      <description>&lt;P&gt;I'm using ASP.NET 4.0, C#, Web Forms, and Master Pages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked all over and can't figure out why this isn't working. I have a test page (Silent_Test) with button that posts to another page (Silent). The problem seems to be that the Silent page only captures the information through POST if the Silent page loads. It makes sense since the information is in the Page Load event, but I understand that Authorize.Net's Silent Post will not load the page so how can I capture their POST information if the page is never loaded? Is my understanding off or am I going about this the wrong way?...Can anyone provide tips or sample code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Silent_Test.ASPX&lt;/P&gt;&lt;PRE&gt;&amp;lt;%@ Page Title="Silent Test" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true"
  CodeFile="Silent_Test.aspx.cs" Inherits="_Silent_Test" %&amp;gt;

&amp;lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server"&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&amp;lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server"&amp;gt;
&amp;lt;form action="&lt;A href="https://www.test.com/silent.aspx" target="_blank"&gt;https://www.test.com/silent.aspx&lt;/A&gt;" method="post"&amp;gt;
    &amp;lt;input type="hidden" name="x_response_code" value="9"/&amp;gt;
    &amp;lt;input type="hidden" name="x_cust_id" value="99999999-9999-9999-9999-999999999999"/&amp;gt;
    &amp;lt;input type="submit"/&amp;gt;
&amp;lt;/form&amp;gt;
&amp;lt;/asp:Content&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Silent_Test.ASPX.CS&lt;/P&gt;&lt;PRE&gt;using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Silent_Test : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
      
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Silent.ASPX&lt;/P&gt;&lt;PRE&gt;&amp;lt;%@ Page Title="Silent" Language="C#" MasterPageFile="~/MasterPages/Site.master"
  AutoEventWireup="true" CodeFile="Silent.aspx.cs" Inherits="_Silent" %&amp;gt;

&amp;lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server"&amp;gt;
&amp;lt;/asp:Content&amp;gt;
&amp;lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server"&amp;gt;
  &amp;lt;div&amp;gt;
    &amp;lt;%--    There is no need to put anything in the .ASPX file since Authorize.net's
    server does not care about the response from the POST call.--%&amp;gt;
    &amp;lt;p&amp;gt;
      You have reached this page in error. Please verify you have the correct web page
      address.
    &amp;lt;/p&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/asp:Content&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Silent.ASPX.CS&lt;/P&gt;&lt;PRE&gt;using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data.SqlClient;

  public partial class _Silent : BasePage
  {
    protected void Page_Load(object sender, EventArgs e)
    {
      string connectionString =
      ConfigurationManager.ConnectionStrings["ASPNETDBConnectionString1"].ConnectionString;
      string insertSql = "INSERT INTO Silent(x_cust_id, x_response_code) VALUES(@cust_id,@response_code)";
      using (SqlConnection myConnection = new SqlConnection(connectionString))
      {
        myConnection.Open();
        SqlCommand myCommand = new SqlCommand(insertSql, myConnection);
        myCommand.Parameters.AddWithValue("@cust_id", this.Request.Form["x_cust_id"]);
        myCommand.Parameters.AddWithValue("@response_code", this.Request.Form["x_response_code"]);
        myCommand.ExecuteNonQuery();
        myConnection.Close();
      }
    }
  }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2011 22:18:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19890#M10933</guid>
      <dc:creator>john1379</dc:creator>
      <dc:date>2011-12-09T22:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19900#M10938</link>
      <description>&lt;P&gt;I'm not sure what your problem is exactly? I assume your post works ok, and you're only theorizing that Authorize.net will work differently? Have you actually tested it by sending through a transaction to find out what happens?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2011 23:34:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19900#M10938</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-12-09T23:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19904#M10940</link>
      <description>&lt;P&gt;I've testing through Authorize.Net and when the User encounters the hosted Receipt page the information is not written to the database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when the user encounters the hosted Receipt page with a "&lt;SPAN&gt;Default Receipt URL" POST button &amp;nbsp;directed at my "Silent.aspx" page the data is written to my database. So I'm not sure where the problem is, page load? post?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2011 00:28:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19904#M10940</guid>
      <dc:creator>john1379</dc:creator>
      <dc:date>2011-12-10T00:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19906#M10941</link>
      <description>&lt;P&gt;If you are using https, maybe somehow authorize.net is rejecting the ssl cert.&lt;/P&gt;&lt;P&gt;Also, since it is simlar to relay response, other thread had people said to set &lt;SPAN&gt;Page EnableViewStateMac="false"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2011 02:24:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19906#M10941</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-12-10T02:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19908#M10942</link>
      <description>&lt;P&gt;In your control panel, you have to specify all the relay response URL's you use on your site. Have you specified this one? If not, it obviously isn't going to work.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2011 13:58:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19908#M10942</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-12-10T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19914#M10945</link>
      <description>&lt;P&gt;I couldn't get the Silent Post to work as I imagined it should; User submits payment information, User goes to Authorize.Net hosted receipt, Auth sends a silent post to my website that is then written to database, and finally User clicks a link to redirect back to my website.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I decided to use a workaround; User submits payment information, Relay Response URL page writes information to my database on page load and ends with a redirect back to my website where I can pull the data written to my database and show to user if needed. So in the end all works, thanks for the pointers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* I tried the viewstatemac = false method button it didn't work for me and after reading MSDN's security note I decided it's best to leave that feature enabled, better safe than sorry especially since I'm a beginner!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/system.web.ui.page.enableviewstatemac.aspx" target="_self"&gt;MSDN&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2011 17:51:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/19914#M10945</guid>
      <dc:creator>john1379</dc:creator>
      <dc:date>2011-12-10T17:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21077#M11504</link>
      <description>&lt;P&gt;I'm having the exact same issue.&amp;nbsp; I created a sample page as suggested with a basic form using all the possible fields and a simple submit button.&amp;nbsp; When i use it it fires fine with no issues but i get nothing when a transaction takes place.&amp;nbsp; Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 17:44:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21077#M11504</guid>
      <dc:creator>cirwin</dc:creator>
      <dc:date>2012-01-04T17:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21079#M11505</link>
      <description>&lt;P&gt;Just to clarify, is it the Silent Post that is not working? Or Relay Response?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 17:51:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21079#M11505</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2012-01-04T17:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21101#M11516</link>
      <description>&lt;P&gt;First check that your silent post URL is correctly configured, as in copy and paste from the Authorize.net control panel and see if the page loads in your browser. If it does, that leaves two possibilities. First, Authorize.net could be having problems connecting to it, in which case it's probably something to do with slow DNS. You can perhaps fix that problem most of the way by setting the refresh on your DNS to something quite long, like two weeks. Second, Authorize.net could be connecting but your page isn't interpreting the data properly. Have you tried just doing a var dump of POST to a text file to see if data is coming through at all? Test it by submitting a small form to the page and make sure the data is being logged.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 18:27:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21101#M11516</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2012-01-04T18:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21131#M11531</link>
      <description>&lt;P&gt;@Stymiee:&amp;nbsp; My issue is specific to&amp;nbsp;the silent post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe i'm going about this the wrong way but if you try and just load the page you get a null ref exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Line 13:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;/P&gt;&lt;P&gt;Line 14:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&lt;FONT color="red"&gt;Line 15:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!Request.Form["x_invoice_num"].ToString().Equals("")) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Line 16:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadRecordInDB();&lt;/P&gt;&lt;P&gt;Line 17:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works fine when i access the page from my test form as it's passing data.&amp;nbsp; I will modify my code to just dump the vars to a log.&amp;nbsp; If you have any other suggestions on how to implment this i'm all ears!&amp;nbsp; :)&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 19:50:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21131#M11531</guid>
      <dc:creator>cirwin</dc:creator>
      <dc:date>2012-01-04T19:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21149#M11537</link>
      <description>&lt;P&gt;Making some progress here, it appears that i can only capture a post back (so far) when i void a transaction.&amp;nbsp; I wrote a short function to log everything in the form as well as see what my SQL query would look like (two birds):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;private &lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;void&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; WriteToLog()&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;string&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; data = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"Started to Write&amp;nbsp;&amp;nbsp; "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;DateTime&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;.Now.ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"\n\r"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;data = data +&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"*************************************************************************\n\r"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;int&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; icount = 0;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;string&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; destPath = System.Web.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;HttpContext&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;.Current.Server.MapPath(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"~/bin"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;File&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;.WriteAllText(destPath + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"\\SilentPost.txt"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;, data);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data =&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;while&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; (icount &amp;lt; Request.Form.Count)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data = data + Request.Form[icount].ToString() +&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"\n\r"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icount++;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;File&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;.AppendAllText(destPath + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"\\SilentPost.txt"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;, data);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data =&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"Starting SQL Query \n\r *************************************************************************\n\r"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;File&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;.AppendAllText(destPath + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"\\SilentPost.txt"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;, data);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;string&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; status = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;""&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;switch&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; (Request.Form[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_response_code"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString())&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;case&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"1"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&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; status =&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"Approved"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;break&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;case&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"2"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&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; status =&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"Declined"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;break&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;case&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"3"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&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; status =&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"Error"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;break&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;case&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"4"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&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; status =&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"Held for Review"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;break&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;StringBuilder&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; OrdersCMD = &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;&lt;FONT color="#0000ff" face="Consolas"&gt;new&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;StringBuilder&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;();&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrdersCMD.Append(&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"UPDATE orders set "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrdersCMD.Append(&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"First_Name = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + Request.Form[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_first_name"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"', Last_Name = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + Request.Form[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_last_name"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"', Address = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + Request.Form[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_address"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"', City = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrdersCMD.Append(Request.Form[&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_city"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"', State = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + Request.Form[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_state"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"', Zip = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + Request.Form[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_zip"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"', Email = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + Request.Form[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_email"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"', AuthCode = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrdersCMD.Append(Request.Form[&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_auth_code"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"', TransactionID = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + Request.Form[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_trans_id"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"', Status = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + status + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"' WHERE OrderNumber = '"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt; + Request.Form[&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"x_invoice_num"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;].ToString() + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"'"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;File&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;.AppendAllText(destPath + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"\\SilentPost.txt"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;, OrdersCMD.ToString());&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data =&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"End Write\n\r"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data = data +&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"*************************************************************************\n\r"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;&lt;FONT size="1"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;&lt;FONT color="#2b91af" face="Consolas"&gt;File&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;.AppendAllText(destPath + &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;&lt;FONT color="#a31515" face="Consolas"&gt;"\\SilentPost.txt"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas"&gt;&lt;FONT face="Consolas"&gt;, data);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="1"&gt;&lt;FONT face="Consolas"&gt;}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;To test i hit the page via a browser and the log is created.&amp;nbsp; I then deleted the log and submitted a transaction via my site with no issues.&amp;nbsp; I waited 5 minutes (timestamp on the emailed reciept) and got no log file.&amp;nbsp; Next i void the transaction and my log is created (timestamp shows it created 5 minutes later then transaction). containing only partial data.&amp;nbsp; Any ideas?﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2012 22:09:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21149#M11537</guid>
      <dc:creator>cirwin</dc:creator>
      <dc:date>2012-01-04T22:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21171#M11546</link>
      <description>&lt;P&gt;What's your log file output look like? I don't know C#, but here's something I found in Google that might work for neatly converting the form data to a string:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://ruuddottech.blogspot.com/2009/07/php-vardump-method-for-c.html"&gt;http://ruuddottech.blogspot.com/2009/07/php-vardump-method-for-c.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that File.WriteAllText overwrites whatever's there already, so if you do multiple calls, you probably want to use a call that appends to the file instead.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2012 04:48:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21171#M11546</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2012-01-05T04:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21193#M11555</link>
      <description>&lt;P&gt;@TJPride - I only use the File.WriteAllText on the first call to generate a new log or over write an old one, the rest of the File calls are appends.&amp;nbsp; At this point I don't care about the format or if it's appending the point is it's never being called.&amp;nbsp; The example i posted captures data as expected when a VOID takes place so i know the code works but i see NOTHING generated (no logs at all) when a standard transaction happens.&amp;nbsp; I can only assume authorize.net never calls my page because at the very least i should get a log file with the date in it. (i commit that action before moving on to anything that could fail because there is no data).&amp;nbsp; Do you know if there is any way to check on the authorize.net side to see if the kick off the post as expected??&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2012 12:30:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21193#M11555</guid>
      <dc:creator>cirwin</dc:creator>
      <dc:date>2012-01-05T12:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21205#M11561</link>
      <description>&lt;P&gt;Doesn't make any sense. Anything that would stop regular transactions from coming through would also stop voids, unless somehow you're specifying a different URL, or perhaps Authorize.net isn't triggering the Page_Load event. Have you tried setting up a PHP page that does nothing but log output to see if this is specific to C#?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2012 18:15:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21205#M11561</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2012-01-05T18:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21291#M11604</link>
      <description>&lt;P&gt;I don't know anything about PHP but i did find an ASP sample Authorize provides, i'm going to test it today.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2012 20:59:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/21291#M11604</guid>
      <dc:creator>cirwin</dc:creator>
      <dc:date>2012-01-06T20:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Silent Post not Posting: Page Load Event Issue?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/25809#M13751</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having a similar issue. Could you please explain what you did....if possible with a sample code(thanks a lot)...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You now have a Authorize.NET hosted payment form and whose receipt page are you using?&lt;/P&gt;&lt;P&gt;Could you say what are all values you set to work....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate very much for the help..... Got struck....:(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again..&lt;/P&gt;</description>
      <pubDate>Sat, 21 Apr 2012 01:15:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Silent-Post-not-Posting-Page-Load-Event-Issue/m-p/25809#M13751</guid>
      <dc:creator>krishnakolluru</dc:creator>
      <dc:date>2012-04-21T01:15:35Z</dc:date>
    </item>
  </channel>
</rss>

