<?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: AIM - No response after submission in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-No-response-after-submission/m-p/25635#M13669</link>
    <description>&lt;P&gt;Pulled this error some the tracelog. Line 226 in red.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' We use xmlHTTP to submit the input values and record the response&lt;/P&gt;&lt;P&gt;Dim objRequest, post_response&lt;/P&gt;&lt;P&gt;Set objRequest = Server.CreateObject("Microsoft.XMLHTTP")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#ff0000"&gt;objRequest.open "POST", post_url, false&lt;/FONT&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRequest.send post_string &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; post_response = objRequest.responseText&lt;/P&gt;&lt;P&gt;Set objRequest = nothing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt; LineNumber&lt;TD&gt;226&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt; ErrorCode&lt;TD&gt;800a0005&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt; Description&lt;TD&gt;Invalid procedure call or argument&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Thu, 12 Apr 2012 18:35:29 GMT</pubDate>
    <dc:creator>cbaillie</dc:creator>
    <dc:date>2012-04-12T18:35:29Z</dc:date>
    <item>
      <title>AIM - No response after submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-No-response-after-submission/m-p/25619#M13661</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;We had this code on a Server 2000 machine and after moving them to Server 2008 the process errors out. The code inserts the data into our dB and seems like its trying to process with Authorize but stops at 500 - Internal server error.&lt;/P&gt;&lt;P&gt;Any ideas? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'Authorize.Net Code&lt;/P&gt;&lt;P&gt;' By default, this sample code is designed to post to our test server for ' developer accounts: &lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt; ' for real accounts (even in test mode), please make sure that you are ' posting to: &lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Dim post_url post_url = "&lt;A target="_blank" href="https://secure.authorize.net/gateway/transact.dll"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt;" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '"&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;"&amp;nbsp; test account Dim post_values Set post_values = CreateObject("Scripting.Dictionary") post_values.CompareMode = vbTextCompare&lt;/P&gt;&lt;P&gt;'the API Login ID and Transaction Key must be replaced with valid values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;post_values.Add "x_login", "xxxxxxxx"&lt;/P&gt;&lt;P&gt;post_values.Add "x_tran_key", "XXXXXXXXXXXXXXXX"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;post_values.Add "x_delim_data", "TRUE"&lt;/P&gt;&lt;P&gt;post_values.Add "x_delim_char", "|"&lt;/P&gt;&lt;P&gt;post_values.Add "x_relay_response", "FALSE"&lt;/P&gt;&lt;P&gt;post_values.Add "x_type", "AUTH_CAPTURE"&lt;/P&gt;&lt;P&gt;post_values.Add "x_method", "CC"&lt;/P&gt;&lt;P&gt;post_values.Add "x_card_num", sCCnbr&lt;/P&gt;&lt;P&gt;post_values.Add "x_exp_date", sCCdate&lt;/P&gt;&lt;P&gt;post_values.Add "x_amount", sAmt&lt;/P&gt;&lt;P&gt;post_values.Add "x_description", sDescription&lt;/P&gt;&lt;P&gt;post_values.Add "x_first_name", sFname&lt;/P&gt;&lt;P&gt;post_values.Add "x_last_name", sLname&lt;/P&gt;&lt;P&gt;post_values.Add "x_company", sOrg&lt;/P&gt;&lt;P&gt;post_values.Add "x_address", sAddress&lt;/P&gt;&lt;P&gt;post_values.Add "x_state", sState&lt;/P&gt;&lt;P&gt;post_values.Add "x_zip", sZip&lt;/P&gt;&lt;P&gt;post_values.Add "x_email", sEmail&lt;/P&gt;&lt;P&gt;post_values.Add "x_email_customer", "Y"&lt;/P&gt;&lt;P&gt;post_values.Add "x_merchant_email", "&lt;A target="_blank" href="mailto:cbaillie@uttc.edu"&gt;cbaillie@uttc.edu&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' Additional fields can be added here as outlined in the AIM integration ' guide at: &lt;A target="_blank" href="http://developer.authorize.net"&gt;http://developer.authorize.net&lt;/A&gt;&lt;/P&gt;&lt;P&gt;' This section takes the input fields and converts them to the proper format ' for an http post.&amp;nbsp; For example: "x_login=username&amp;amp;x_tran_key=a1B2c3D4"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim post_string&lt;/P&gt;&lt;P&gt;post_string = ""&lt;/P&gt;&lt;P&gt;For Each Key In post_values &amp;nbsp; post_string=post_string &amp;amp; Key &amp;amp; "=" &amp;amp; Server.URLEncode(post_values(Key)) &amp;amp; "&amp;amp;"&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;post_string = Left(post_string,Len(post_string)-1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' We use xmlHTTP to submit the input values and record the response&lt;/P&gt;&lt;P&gt;Dim objRequest, post_response&lt;/P&gt;&lt;P&gt;Set objRequest = Server.CreateObject("Microsoft.XMLHTTP") &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRequest.open "POST", post_url, false &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;objRequest.send post_string &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;post_response = objRequest.responseText&lt;/P&gt;&lt;P&gt;Set objRequest = nothing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' the response string is broken into an array using the specified delimiting character&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim response_array r&lt;/P&gt;&lt;P&gt;esponse_array = split(post_response, post_values("x_delim_char"), -1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' the results are output to the screen in the form of an html numbered list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'Response.Write("&amp;lt;OL&amp;gt;" &amp;amp; vbCrLf) 'For Each value in response_array '&amp;nbsp;Response.Write("&amp;lt;LI&amp;gt;" &amp;amp; value &amp;amp; "&amp;amp;nbsp;&amp;lt;/LI&amp;gt;" &amp;amp; vbCrLf) 'Next 'Response.Write("&amp;lt;/OL&amp;gt;" &amp;amp; vbCrLf)&lt;/P&gt;&lt;P&gt;' individual elements of the array could be accessed to read certain response ' fields.&amp;nbsp; For example, response_array(0) would return the Response Code, ' response_array(2) would return the Response Reason Code. ' for a list of response fields, please review the AIM Implementation Guide&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'END Authorize.Net Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'Response.Redirect("reg_thanks.asp")&lt;/P&gt;&lt;P&gt;'Server.Execute("reg_thanks.asp")&lt;/P&gt;&lt;P&gt;response.end&lt;/P&gt;&lt;P&gt;%&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2012 15:57:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-No-response-after-submission/m-p/25619#M13661</guid>
      <dc:creator>cbaillie</dc:creator>
      <dc:date>2012-04-12T15:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: AIM - No response after submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-No-response-after-submission/m-p/25635#M13669</link>
      <description>&lt;P&gt;Pulled this error some the tracelog. Line 226 in red.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;' We use xmlHTTP to submit the input values and record the response&lt;/P&gt;&lt;P&gt;Dim objRequest, post_response&lt;/P&gt;&lt;P&gt;Set objRequest = Server.CreateObject("Microsoft.XMLHTTP")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#ff0000"&gt;objRequest.open "POST", post_url, false&lt;/FONT&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRequest.send post_string &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; post_response = objRequest.responseText&lt;/P&gt;&lt;P&gt;Set objRequest = nothing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt; LineNumber&lt;TD&gt;226&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt; ErrorCode&lt;TD&gt;800a0005&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt; Description&lt;TD&gt;Invalid procedure call or argument&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 12 Apr 2012 18:35:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-No-response-after-submission/m-p/25635#M13669</guid>
      <dc:creator>cbaillie</dc:creator>
      <dc:date>2012-04-12T18:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: AIM - No response after submission</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-No-response-after-submission/m-p/25637#M13670</link>
      <description>&lt;P&gt;Figured it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changed:&lt;/P&gt;&lt;P&gt;Set objRequest = Server.CreateObject("Microsoft.XMLHTTP")&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;Set objRequest = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and installed MSXML 4.0 SP3 &lt;A target="_blank" href="http://www.microsoft.com/download/en/details.aspx?id=15697"&gt;http://www.microsoft.com/download/en/details.aspx?id=15697&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this info can help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2012 19:23:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-No-response-after-submission/m-p/25637#M13670</guid>
      <dc:creator>cbaillie</dc:creator>
      <dc:date>2012-04-12T19:23:17Z</dc:date>
    </item>
  </channel>
</rss>

