<?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: Confusion with DPM Inconsistencies in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Confusion-with-DPM-Inconsistencies/m-p/23599#M12697</link>
    <description>&lt;P&gt;SIM x_relay_response yes x_delim_data no.&lt;/P&gt;&lt;P&gt;DPM x_relay_response yes x_delim_data no.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AIM x_relay_response no x_delim_data yes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They all post to the same location so &lt;SPAN&gt;theoretically you can get it to work in a unsupported way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where at the documentation are you seeing contradiction? Can you post the URL page address or page # on the pdf, so they can fixes it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Feb 2012 00:53:16 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2012-02-25T00:53:16Z</dc:date>
    <item>
      <title>Confusion with DPM Inconsistencies</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Confusion-with-DPM-Inconsistencies/m-p/23597#M12696</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently integrating this service into a website and have found some inconsistencies with the documentation and examples of the Direct Post Method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The developer documentation says that you're not supposed to use x_delim and x_relay_response together; however, the DPM method does this. Relay responses are also discouraged from using script redirects, yet that's exactly what the API example does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, I just find this very confusing. What exactly am I supposed to do here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also found that I can't seem to get the (default) receipt page to show even when relay response is disabled. Instead, the form authorizes and then redirects to a white page of comma delimited form values...? I suspect this has something to do with the x_delim; however, the DPM guide says it requires x_delim for whatever reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a test account, if that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanced for any help!&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2012 00:31:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Confusion-with-DPM-Inconsistencies/m-p/23597#M12696</guid>
      <dc:creator>redpixelstudios</dc:creator>
      <dc:date>2012-02-25T00:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion with DPM Inconsistencies</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Confusion-with-DPM-Inconsistencies/m-p/23599#M12697</link>
      <description>&lt;P&gt;SIM x_relay_response yes x_delim_data no.&lt;/P&gt;&lt;P&gt;DPM x_relay_response yes x_delim_data no.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AIM x_relay_response no x_delim_data yes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They all post to the same location so &lt;SPAN&gt;theoretically you can get it to work in a unsupported way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where at the documentation are you seeing contradiction? Can you post the URL page address or page # on the pdf, so they can fixes it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2012 00:53:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Confusion-with-DPM-Inconsistencies/m-p/23599#M12697</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-02-25T00:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion with DPM Inconsistencies</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Confusion-with-DPM-Inconsistencies/m-p/23627#M12711</link>
      <description>&lt;P&gt;Thank you very much,&amp;nbsp;RaynorC1emen7. I'm about to try implementing DPM without x_delim_data as you suggested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the documentation for DPM that I was reviewing:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.authorize.net/support/DirectPost_guide.pdf" target="_blank"&gt;http://www.authorize.net/support/DirectPost_guide.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The confusion I had was a result of a couple of things. The first is the definition of x_delim_data in the documentation on page 80 of 88. It reads "Required for DPM transactions." I realise now that this could mean "it's required to be set..but to false since DPM uses relay responses." I do, however, find it very misleading to be worded that way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other confusion I had with x_delim_data was in the PHP SDK for DPM (available on this page):&lt;/P&gt;&lt;P&gt;&lt;A href="http://developer.authorize.net/downloads/" target="_blank"&gt;http://developer.authorize.net/downloads/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the file /lib/AuthorizeNetDPM.php on lines 119 - 129 the code reads:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$sim = new AuthorizeNetSIM_Form(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; array(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'x_amount'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; $amount,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'x_fp_sequence'&amp;nbsp;&amp;nbsp; =&amp;gt; $fp_sequence,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'x_fp_hash'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; $fp,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'x_fp_timestamp'&amp;nbsp; =&amp;gt; $time,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'x_relay_response'=&amp;gt; "TRUE",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'x_relay_url'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; $relay_response_url,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'x_login'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; $api_login_id,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, in the constructor for that AuthorizeNetSIM_Form class (in the file /lib/AuthorizeNetSIM.php on lines 161 - 165), the code reads:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Set some best practice fields&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;x_relay_response = "FALSE";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;x_version = "3.1";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;x_delim_char = ",";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $this-&amp;gt;x_delim_data = "TRUE";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, the x_relay_response value is being initially set to false while x_delim_data is conversely set to true. However, the first block of code I posted only overrides x_relay_response to be TRUE whilst x_delim_data also remains TRUE. This means both x_relay_response and x_delim_data are true in the example which goes against what the developer documentation reads.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I realize this is probably just a simple mistake, but it would probably be best if one of the developers fixed it just to avoid someone else being confused by the DPM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to try implementing DPM again with the information you gave me, RaynorC1emen7, and I'll be back to mark your response as the correct answer if things are indeed working!&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2012 00:18:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Confusion-with-DPM-Inconsistencies/m-p/23627#M12711</guid>
      <dc:creator>redpixelstudios</dc:creator>
      <dc:date>2012-02-26T00:18:55Z</dc:date>
    </item>
  </channel>
</rss>

