<?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 Questions about DPM relay page code in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50049#M25551</link>
    <description>&lt;P&gt;Since I’m having a hard time with the DPM relay page I would like to post a few questions hoping to get an answer from you guys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question #1: The Authorize.net manual reads like this: When you use DPM, Authorize.Net sends a POST of the transaction result to the relay URL. Your relay response page then redirects the client’s browser to the merchant’s server. Therefore, the URL in the client’s browser shows the merchant’s server and not Authorize.Net’s server.&lt;/P&gt;&lt;P&gt;Since this is the case, why after I redirect my browser still show Authorize.net URL? It shows this: &lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question #2: When Authorize.net send a Post of the transaction result to my relay URL, my relay URL redirect this to the merchant’s server, that is not other than my own server, the question now is, in this redirection, the data or values that came from Authorize.net transaction are carry over to the redirected page or my relay page have to do the redirection and send the data attached as well? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of these is very confusing to me since the manual is very poor in it explanation. I’m using asp.net with VB and this is a sample of my redirection coding page for testing purpose only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;'These variables hold values from Authorize.net&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim x_response_code As String&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not IsNothing(Request.Form("x_response_code")) Then&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; x_response_code = Request.Form("x_response_code")&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If x_response_code = 1 Then&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Response.Redirect("&lt;A target="_blank" href="http://www.bglocal.com/AdPrograms/FinalAuthoAnswer.aspx&amp;quot;)"&gt;http://www.bglocal.com/AdPrograms/FinalAuthoAnswer.aspx")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Redirect("&lt;A target="_blank" href="http://www.bglocal.com&amp;quot;)"&gt;http://www.bglocal.com")&lt;/A&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; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Redirect("&lt;A target="_blank" href="http://www.bglocal.com&amp;quot;)"&gt;http://www.bglocal.com")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks is advance for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2015 14:26:55 GMT</pubDate>
    <dc:creator>AuthComm25</dc:creator>
    <dc:date>2015-03-20T14:26:55Z</dc:date>
    <item>
      <title>Questions about DPM relay page code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50049#M25551</link>
      <description>&lt;P&gt;Since I’m having a hard time with the DPM relay page I would like to post a few questions hoping to get an answer from you guys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question #1: The Authorize.net manual reads like this: When you use DPM, Authorize.Net sends a POST of the transaction result to the relay URL. Your relay response page then redirects the client’s browser to the merchant’s server. Therefore, the URL in the client’s browser shows the merchant’s server and not Authorize.Net’s server.&lt;/P&gt;&lt;P&gt;Since this is the case, why after I redirect my browser still show Authorize.net URL? It shows this: &lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question #2: When Authorize.net send a Post of the transaction result to my relay URL, my relay URL redirect this to the merchant’s server, that is not other than my own server, the question now is, in this redirection, the data or values that came from Authorize.net transaction are carry over to the redirected page or my relay page have to do the redirection and send the data attached as well? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of these is very confusing to me since the manual is very poor in it explanation. I’m using asp.net with VB and this is a sample of my redirection coding page for testing purpose only&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;'These variables hold values from Authorize.net&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim x_response_code As String&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not IsNothing(Request.Form("x_response_code")) Then&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; x_response_code = Request.Form("x_response_code")&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If x_response_code = 1 Then&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Response.Redirect("&lt;A target="_blank" href="http://www.bglocal.com/AdPrograms/FinalAuthoAnswer.aspx&amp;quot;)"&gt;http://www.bglocal.com/AdPrograms/FinalAuthoAnswer.aspx")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Redirect("&lt;A target="_blank" href="http://www.bglocal.com&amp;quot;)"&gt;http://www.bglocal.com")&lt;/A&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; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Redirect("&lt;A target="_blank" href="http://www.bglocal.com&amp;quot;)"&gt;http://www.bglocal.com")&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks is advance for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 14:26:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50049#M25551</guid>
      <dc:creator>AuthComm25</dc:creator>
      <dc:date>2015-03-20T14:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DPM relay page code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50050#M25552</link>
      <description>&lt;P&gt;1)It not a form post, but like a post in code, something like webrequest in .net&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://msdn.microsoft.com/en-us/library/system.net.webrequest%28v=vs.110%29.aspx"&gt;https://msdn.microsoft.com/en-us/library/system.net.webrequest%28v=vs.110%29.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)response.redirect is not going to work, because it will process in authorize.net, so the url will stay at authorize.net&lt;/P&gt;&lt;P&gt;that why they said to use javascript redirect because it run on the client browser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 14:33:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50050#M25552</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-03-20T14:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DPM relay page code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50051#M25553</link>
      <description>&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;May you please answer these questions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) So what you mean is that instead of&amp;nbsp;x_response_code = Request.Form("x_response_code")&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should use:&amp;nbsp;x_response_code = Request("x_response_code") ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) What about this question:&amp;nbsp;&lt;SPAN&gt;Question #2: When Authorize.net send a Post of the transaction result to my relay URL, my relay URL redirect this to the merchant’s server, that is not other than my own server, the question now is, in this redirection, the data or values that came from Authorize.net transaction are carry over to the redirected page or my relay page have to do the redirection and send the data attached as well? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 14:48:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50051#M25553</guid>
      <dc:creator>AuthComm25</dc:creator>
      <dc:date>2015-03-20T14:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DPM relay page code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50053#M25555</link>
      <description>&lt;P&gt;1)To your relay response page.&amp;nbsp;whichever from code or form, it the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)redirect don't carry over to another page, my suggestion is save all the values on your original relay response url page to a database, get a key from the insert, pass it with the javascript redirect, and on that redirect page read the key and display whatever result you need for your customer.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 14:56:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50053#M25555</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-03-20T14:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DPM relay page code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50054#M25556</link>
      <description>&lt;P&gt;I understand your answer for the second question but I do not for the first one that reads:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1)To your relay response page.&amp;nbsp;whichever from code or form, it the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry, may you please explain this one. Thanks a lot. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 15:06:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50054#M25556</guid>
      <dc:creator>AuthComm25</dc:creator>
      <dc:date>2015-03-20T15:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DPM relay page code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50055#M25557</link>
      <description>&lt;P&gt;Your page won't know the different. Request.Form("x_response_code")&amp;nbsp; or Request("x_response_code")&amp;nbsp; would do the same thing.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 15:07:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50055#M25557</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-03-20T15:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DPM relay page code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50056#M25558</link>
      <description>&lt;P&gt;Due to this that you wrote first:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)It not a form post, but like a post in code, something like webrequest in .net&lt;/P&gt;&lt;P&gt;&lt;A rel="nofollow" href="https://msdn.microsoft.com/en-us/library/system.net.webrequest%28v=vs.110%29.aspx" target="_blank"&gt;https://msdn.microsoft.com/en-us/library/system.net.webrequest%28v=vs.110%29.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still confuse.&lt;/P&gt;&lt;P&gt;This is my last question and you can answer with a yes or no.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: In the response that come from authorize.net to my relay page, the &amp;nbsp;&lt;SPAN&gt;x_response_code value, I can get this value with both, Request.Form("x_response_code")&amp;nbsp; or Request("x_response_code"), yes or no?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry, thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 15:37:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50056#M25558</guid>
      <dc:creator>AuthComm25</dc:creator>
      <dc:date>2015-03-20T15:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DPM relay page code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50057#M25559</link>
      <description>&lt;P&gt;&lt;A target="_blank" href="https://msdn.microsoft.com/en-us/library/system.web.httprequest%28v=vs.110%29.aspx?cs-save-lang=1&amp;amp;cs-lang=vb#code-snippet-2"&gt;https://msdn.microsoft.com/en-us/library/system.web.httprequest%28v=vs.110%29.aspx?cs-save-lang=1&amp;amp;cs-lang=vb#code-snippet-2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;You can use simplified syntax for accessing data from the QueryString, Form, Cookies, or ServerVariables collections. You can write Request["key"].&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 15:52:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50057#M25559</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-03-20T15:52:43Z</dc:date>
    </item>
  </channel>
</rss>

