<?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: 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/50465#M25912</link>
    <description>&lt;P&gt;Hi rdg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This quickstart guide should help, it shows communicating a successful &amp;amp; unsuccessful result to your own receipt page. &amp;nbsp;Please reply again to this thread if I am not understanding your issue correctly and you need more assistance. &amp;nbsp; &lt;A href="http://developer.authorize.net/integration/fifteenminutes/java/#directpost" target="_blank"&gt;http://developer.authorize.net/integration/fifteenminutes/java/#directpost&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2015 23:45:36 GMT</pubDate>
    <dc:creator>brianmc</dc:creator>
    <dc:date>2015-04-28T23:45:36Z</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/50425#M25874</link>
      <description>&lt;P&gt;I don't understand how to pass values to my relay-response page after the transaction is complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using DPM.&amp;nbsp; When the client submits the payment form it goes to the authorize.net server.&amp;nbsp; The server successfully returns the result to my 'x- relay_url' and I can parse, display or act on the data.&amp;nbsp; When displayed the address line indicates it is from the authorize.net server as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of showing the result, however, I want to display our own meaningful receipt page, or a decline/error page, as appropriate, after the transaction, using a redirect.&amp;nbsp; I have created a test receipt and I can save the transaction results in a database (apparently necessary) before the redirect, but how do I send a key that refers to the database record , or any other result? In my tests nothing on my response page, and no information from the transaction response, is sent to the new page in the redirect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen many posts instructing to send a transaction reference in the redirect in order to connect to the database record and thereby enable a meaningful receipt, but no explanation as to how to accomplish this within the redirect has been apparent to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using Coldfusion and the following code is in my x_relay_url page to process the data and send a page referral:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;!--- Post response to data table here ---&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&amp;gt;

&amp;lt;cfoutput&amp;gt;
	&amp;lt;html&amp;gt;
	&amp;lt;head&amp;gt;
	&amp;lt;script type="text/javascript" charset="utf-8"&amp;gt;
	window.location='https://www.orangesonline.com/catalog/testReceipt.cfm';
	&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;BR /&gt;        &amp;lt;noscript&amp;gt;
	&amp;lt;meta http-equiv="refresh" content="1;url=https://www.orangesonline.com/catalog/testReceipt.cfm"&amp;gt;
	&amp;lt;/noscript&amp;gt;
	&amp;lt;/head&amp;gt;
	&amp;lt;body&amp;gt;
        &amp;lt;/body&amp;gt;
	&amp;lt;/html&amp;gt;
&amp;lt;/cfoutput&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to either:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If result_code = 1, send the invoice number to the referral page in order to retreive the transacton and order information;&lt;/LI&gt;&lt;LI&gt;If result_code &amp;gt; 1 send the result_code, result_reason_code and result_reason_text to the referral page in order to explain the problem or error to the client.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Can anyone help me to understand how to accomplish this?&amp;nbsp; Is there a best practices method for transferring data to the custom receipt page?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;rdg&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 18:25:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50425#M25874</guid>
      <dc:creator>rdg</dc:creator>
      <dc:date>2015-04-23T18:25:23Z</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/50465#M25912</link>
      <description>&lt;P&gt;Hi rdg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This quickstart guide should help, it shows communicating a successful &amp;amp; unsuccessful result to your own receipt page. &amp;nbsp;Please reply again to this thread if I am not understanding your issue correctly and you need more assistance. &amp;nbsp; &lt;A href="http://developer.authorize.net/integration/fifteenminutes/java/#directpost" target="_blank"&gt;http://developer.authorize.net/integration/fifteenminutes/java/#directpost&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 23:45:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50465#M25912</guid>
      <dc:creator>brianmc</dc:creator>
      <dc:date>2015-04-28T23:45:36Z</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/50482#M25925</link>
      <description>&lt;P&gt;Duh. Thank you.&amp;nbsp; I don't use jsp but can append parameters to the URL using Coldfusion.&amp;nbsp; I thought I had read not to pass paramaters after the "?" to the authorize.net server but that must have been in regard to a different action&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-rdg.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2015 18:58:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Questions-about-DPM-relay-page-code/m-p/50482#M25925</guid>
      <dc:creator>rdg</dc:creator>
      <dc:date>2015-04-29T18:58:36Z</dc:date>
    </item>
  </channel>
</rss>

