<?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: Direct Post Method (DPM) not working in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31606#M16467</link>
    <description>&lt;P&gt;Just remembered, there is vb.net sample code for SIM &lt;A href="http://developer.authorize.net/downloads/samplecode/" target="_self"&gt;here&lt;/A&gt;, which have the code to generate the x_fp_hash.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Nov 2012 03:09:23 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2012-11-22T03:09:23Z</dc:date>
    <item>
      <title>Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31596#M16462</link>
      <description>&lt;P&gt;Popular shopping cart vender with connections&amp;nbsp;to all the other AuthorizeNet api's already and now I'm trying to use the new DPM method.&amp;nbsp; Unfortunately, the sandbox gives you no "debug" information on errors.&amp;nbsp; It just says transaction can't process, go fish.&amp;nbsp; I have a very simple form that should be working and nothing obvious that should be a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the form page below. Note to_hash is simply debug code to show me the string that needs to be fingerprinted and it looks good to go.&amp;nbsp; I'm using authorizeNet's EncryptHMAC function.&amp;nbsp; I did rewrite it to vb.net but it seems to be functioning correctly from what I can tell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please tell me why this is not working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;A href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/A&gt;"&amp;gt;
 
&amp;lt;html xmlns="&lt;A href="http://www.w3.org/1999/xhtml" target="_blank"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;"&amp;gt;
&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;
	testing
&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
 
&amp;lt;form id='secure_redirect_form_id' action='&lt;A href="https://test.authorize.net/" target="_blank"&gt;https://test.authorize.net/&lt;/A&gt;
gateway/transact.dll' method='post'&amp;gt;
&amp;lt;label for='x_card_num'&amp;gt;Credit Card Number&amp;lt;/label&amp;gt;
&amp;lt;input type='text' class='text' id='x_card_num' name='x_card_num' 
size='20' maxlength='16' /&amp;gt;
&amp;lt;br /&amp;gt;
&amp;lt;label for='x_exp_date'&amp;gt;Expiration Date&amp;lt;/label&amp;gt;
&amp;lt;input type='text' class='text' id='x_exp_date' name='x_exp_date' size='6' 
maxlength='6'/&amp;gt;
&amp;lt;br /&amp;gt;
&amp;lt;label for='x_amount'&amp;gt;Amount&amp;lt;/label&amp;gt;
&amp;lt;input type='text' class='text' id='x_amount' name='x_amount' size='10' 
maxlength='10' readonly='readonly' value='1.99' /&amp;gt;
&amp;lt;br /&amp;gt;
&amp;lt;input type='hidden' name='x_invoice_num' 
value='14' /&amp;gt;
&amp;lt;input type='hidden' name='x_relay_url' value='&lt;A href="http://www.microsoft.com'" target="_blank"&gt;http://www.microsoft.com'&lt;/A&gt; /&amp;gt;
&amp;lt;input type='hidden' name='x_login' value='6P8aEm5q' /&amp;gt;
 
&amp;lt;input type='hidden' name='x_fp_sequence' value='14' /&amp;gt;
&amp;lt;input type='hidden' name='x_fp_timestamp' value='1353539796' /&amp;gt;
&amp;lt;input type='hidden' name='x_fp_hash' value='1f2918442389819905ef8467f438b4c0' /&amp;gt;
&amp;lt;input type='hidden' name='to_hash' value='6P8aEm5q^14^1353539796^1.99^' /&amp;gt;

&amp;lt;input type='hidden' name='x_version' value='3.1' /&amp;gt;
&amp;lt;input type='hidden' name='x_method' value='CC' /&amp;gt;
&amp;lt;input type='hidden' name='x_type' value='AUTH_CAPTURE' /&amp;gt;
&amp;lt;input type='hidden' name='x_amount' value='1.99' /&amp;gt;
&amp;lt;input type='hidden' name='x_test_request' value='TRUE' /&amp;gt;
&amp;lt;input type='hidden' name='notes' value='extra hot please' /&amp;gt;
&amp;lt;input type='submit' name='buy_button' value='BUY' /&amp;gt;
&amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
Direct Post Method Developer Guide | November 2012
70
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;P.S.&amp;nbsp; fix your gateway to spit out debug details.&amp;nbsp; It is a sandbox so there is nothing secret about having the sandbox tell you what is wrong "generically" with the post.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2012 23:22:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31596#M16462</guid>
      <dc:creator>spastic</dc:creator>
      <dc:date>2012-11-21T23:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31598#M16463</link>
      <description>&lt;P&gt;Can you set the relay response url to&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://developer.authorize.net/tools/paramdump/index.php" target="_blank"&gt;https://developer.authorize.net/tools/paramdump/index.php&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So you can see the response. and tell us what the response are?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. since you are using test account there is no point of setting this to true&lt;/P&gt;&lt;PRE&gt;&amp;lt;input type='hidden' name='x_test_request' value='TRUE' /&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Nov 2012 00:56:59 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31598#M16463</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-11-22T00:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31600#M16464</link>
      <description>&lt;P&gt;Thanks for your reply and your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeh, I don't think the test request is going to make a difference.&amp;nbsp; I have set that to true and false.&lt;/P&gt;&lt;P&gt;I changed the relay response to what you suggested.....and I get the same error...which is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card. 

      This transaction cannot be accepted. 
      
 &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The email you receive is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;**Please DO NOT REPLY to this message. E-mail developer@authorize.net if you have any questions.

Authorize.Net Developer Center Merchant,

Your script timed out while we were trying to post transaction results to it.
   Transaction ID: 0
Transaction Result: This transaction cannot be accepted.

The following message was displayed to the customer:

------------------------------An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

This transaction cannot be accepted.


------------------------------&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Neither are useful.&lt;/P&gt;&lt;P&gt;When I go to that url directly it says:&lt;/P&gt;&lt;P&gt;Page Not Found &amp;nbsp; Sorry, the page you requested was not found or may have been moved. In order to find the correct page, we suggest the following:&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2012 02:19:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31600#M16464</guid>
      <dc:creator>spastic</dc:creator>
      <dc:date>2012-11-22T02:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31602#M16465</link>
      <description>&lt;P&gt;Ok, I did a search for the correct URL on that param dump and found it.&lt;/P&gt;&lt;P&gt;This is what I get:&lt;/P&gt;&lt;P&gt;I think that is saying the Hash is not correct.&amp;nbsp; However, I am using AuthorizeNET's hash algorithm to generate it.&amp;nbsp; The only thing I did was convert the code to VB.NET from C#.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;REMOTE_ADDR: 10.1.186.51 
REQUEST_METHOD: POST 
HTTP_REFERER: none 
Field Name Field Value 
x_response_code 3 
x_response_reason_code 99 
x_response_reason_text (TESTMODE) This transaction cannot be accepted. 
x_avs_code P 
x_auth_code 000000 
x_trans_id 0 
x_method CC 
x_card_type  
x_account_number  
x_first_name  
x_last_name  
x_company  
x_address  
x_city  
x_state  
x_zip  
x_country  
x_phone  
x_fax  
x_email  
x_invoice_num  
x_description  
x_type auth_capture 
x_cust_id  
x_ship_to_first_name  
x_ship_to_last_name  
x_ship_to_company  
x_ship_to_address  
x_ship_to_city  
x_ship_to_state  
x_ship_to_zip  
x_ship_to_country  
x_amount 1.99 
x_tax 0.00 
x_duty 0.00 
x_freight 0.00 
x_tax_exempt FALSE 
x_po_num  
x_MD5_Hash D783025B930DA650F51D4AAA40B0B6CE 
x_cvv2_resp_code  
x_cavv_response  
x_test_request true 
to_hash 6P8aEm5q^14^1353551206^1.99^ 
my_hash Bxhoq1cA68L8sobmU3X67A== 
notes extra hot please 
buy_button BUY &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2012 02:30:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31602#M16465</guid>
      <dc:creator>spastic</dc:creator>
      <dc:date>2012-11-22T02:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31604#M16466</link>
      <description>&lt;P&gt;use the &lt;A href="https://developer.authorize.net/tools/responsecode99/" target="_self"&gt;Response Code 99 Tool&lt;/A&gt; to test your x_fp_hash or post your vb.net rewrite.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2012 02:40:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31604#M16466</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-11-22T02:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31606#M16467</link>
      <description>&lt;P&gt;Just remembered, there is vb.net sample code for SIM &lt;A href="http://developer.authorize.net/downloads/samplecode/" target="_self"&gt;here&lt;/A&gt;, which have the code to generate the x_fp_hash.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2012 03:09:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31606#M16467</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-11-22T03:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31728#M16523</link>
      <description>&lt;P&gt;Ok, I have confirmed the hash is working now from that last sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still get a failure though when I set the relay response to my url:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;This transaction has been approved.&lt;BR /&gt;&lt;P&gt;It is advisable for you to contact the merchant to verify that you will receive the product or service.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it looks fine when I look at the relay post url&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;REQUEST_METHOD:&lt;/TD&gt;&lt;TD&gt;POST&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;HTTP_REFERER:&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="#ff0000"&gt;none&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This is a test mode transaction.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt; Field Name Field Value&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x_response_code&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x_response_reason_code&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;x_response_reason_text&lt;/TD&gt;&lt;TD&gt;(TESTMODE) This transaction has been approved.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&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t;H5ElviAaai5Ubv5G3RHMLg==&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;notes&lt;/TD&gt;&lt;TD&gt;extra hot please&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;buy_button&lt;/TD&gt;&lt;TD&gt;BUY&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 26 Nov 2012 19:53:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31728#M16523</guid>
      <dc:creator>spastic</dc:creator>
      <dc:date>2012-11-26T19:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31730#M16524</link>
      <description>&lt;P&gt;first go thru the check list in &lt;A href="https://community.developer.cybersource.com/t5/The-Authorize-Net-Developer-Blog/Relay-Response-Basics-and-Troubleshooting/ba-p/9536" target="_self"&gt;Relay Response Basics and Troubleshooting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then for asp.net set EnableViewStateMac="false" on both page the post to authorize.net and the relay response page.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 20:58:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31730#M16524</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-11-26T20:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31732#M16525</link>
      <description>&lt;P&gt;Ok, this is DPM not SIM, but I assume it is the same.&amp;nbsp; I actually put the relay url to a basic website...just to show completion....&amp;nbsp; I think I even tried &lt;A href="http://www.microsoft.com/" target="_blank"&gt;www.microsoft.com&lt;/A&gt;.&amp;nbsp;&amp;nbsp; I assume the relay url can just be a plain old url that does nothing....&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 22:06:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31732#M16525</guid>
      <dc:creator>spastic</dc:creator>
      <dc:date>2012-11-26T22:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31734#M16526</link>
      <description>&lt;P&gt;need to be a page that can accept a form post to it. so just a .html page will not work. The other thing that I remember is that the relay page can't have any field with the same name as any of the response field name. e.g. x_response_code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you post the relay response page.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 23:38:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31734#M16526</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-11-26T23:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31774#M16544</link>
      <description>&lt;P&gt;Ok, well I'm not following that because a plain .html page will accept a form post, it just will ignore everything else in the post.&amp;nbsp; I don't see how AuthorizeNet can really investigate the relay.&amp;nbsp; I would think it simply posts data to the relay page and moves on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I set up a page that could take a form post and I am still getting an error.&amp;nbsp; The page simply spits out a few things&lt;/P&gt;&lt;PRE&gt;&amp;lt;%@ Page Language="vb" AutoEventWireup="false" CodeBehind="AuthRelay.aspx.vb" Inherits="SinglePageCO.AuthRelay" %&amp;gt;

&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "&lt;A href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/A&gt;"&amp;gt;

&amp;lt;html xmlns="&lt;A href="http://www.w3.org/1999/xhtml" target="_blank"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;"&amp;gt;
&amp;lt;head runat="server"&amp;gt;
    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id="form1" runat="server"&amp;gt;
    &amp;lt;div&amp;gt;
    
        Thank you&amp;lt;br /&amp;gt;
        You have arrived&amp;lt;br /&amp;gt;
        &amp;lt;asp:Label ID="LblResponseCode" runat="server" Text="Label"&amp;gt;&amp;lt;/asp:Label&amp;gt;
        &amp;lt;br /&amp;gt;
        &amp;lt;asp:Label ID="LblRespReason" runat="server" Text="Label"&amp;gt;&amp;lt;/asp:Label&amp;gt;
        &amp;lt;br /&amp;gt;
        &amp;lt;asp:Label ID="LblTranCode" runat="server" Text="Label"&amp;gt;&amp;lt;/asp:Label&amp;gt;
        &amp;lt;br /&amp;gt;
        &amp;lt;asp:Label ID="LblAuthCode" runat="server" Text="Label"&amp;gt;&amp;lt;/asp:Label&amp;gt;
        &amp;lt;br /&amp;gt;
        &amp;lt;asp:HyperLink ID="HLkRedirect" runat="server"&amp;gt;Click to Continue&amp;lt;/asp:HyperLink&amp;gt;
    
    &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Codebehind&lt;/P&gt;&lt;PRE&gt;Public Class AuthRelay
    Inherits System.Web.UI.Page
    Dim ResponseCode As String = Trim(Request.Form("x_response_code"))
    Dim ResponseReasonText As String = Trim(Request.Form("x_response_reason_text"))
    Dim ResponseReasonCode As String = Trim(Request.Form("x_response_reason_code"))
    Dim AVS As String = Trim(Request.Form("x_avs_code"))
    Dim TransID As String = Trim(Request.Form("x_Trans_ID"))
    Dim AuthCode As String = Trim(Request.Form("x_Auth_Code"))
    Dim Amount As String = Trim(Request.Form("x_Amount"))
    Dim ReceiptLink As String = "&lt;A href="http://www.authorizenet.com" target="_blank"&gt;http://www.authorizenet.com&lt;/A&gt;"

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        LblResponseCode.Text = ResponseCode
        LblRespReason.Text = ResponseReasonText
        LblAuthCode.Text = AuthCode
        LblTranCode.Text = TransID
        HLkRedirect.NavigateUrl = ReceiptLink
    End Sub

End Class&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Your link &lt;A href="http://developer.authorize.net/downloads/samplecode/" target="_blank"&gt;http://developer.authorize.net/downloads/samplecode/&lt;/A&gt;&amp;nbsp;has a sample .asp relay response...I'm going to try that one next.&amp;nbsp; It is classic asp but should work on this server.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 20:37:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31774#M16544</guid>
      <dc:creator>spastic</dc:creator>
      <dc:date>2012-11-28T20:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31776#M16545</link>
      <description>&lt;P&gt;for asp.net set EnableViewStateMac="false" on both page the post to authorize.net and the relay response page.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 20:47:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31776#M16545</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-11-28T20:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31780#M16547</link>
      <description>&lt;P&gt;Ok, actually it appears I just had an error in my code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 21:18:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/31780#M16547</guid>
      <dc:creator>spastic</dc:creator>
      <dc:date>2012-11-28T21:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Post Method (DPM) not working</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/81556#M51393</link>
      <description>&lt;P&gt;That was really awesom but now coudl you please recommend me the best way to find the &lt;A href="https://kolkatafish.com/" target="_self"&gt;site&lt;/A&gt; age if you know then please let me know. thanks&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 18:49:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Direct-Post-Method-DPM-not-working/m-p/81556#M51393</guid>
      <dc:creator>simplybuzzes</dc:creator>
      <dc:date>2022-03-07T18:49:18Z</dc:date>
    </item>
  </channel>
</rss>

