<?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: Documentation bug for DPM with regard to x_fp_hash and use of the caret character? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Documentation-bug-for-DPM-with-regard-to-x-fp-hash-and-use-of/m-p/23093#M12453</link>
    <description>&lt;P&gt;Okay, I had a bit of a breakthrough on what I was missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the demo file "AuthorizeNetSIM.php" there are two functions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getFingerprint(...)&lt;/P&gt;&lt;P&gt;generateHash()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking at one and thinking it was the other. The getFingerprint(...) function does use carets according to the documentation, the other doesn't. They are for two different purposes, one for calculating a value for x_fp_hash and the other for some sort of response verification I haven't fully explored yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nevermind.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2012 03:57:19 GMT</pubDate>
    <dc:creator>mattc</dc:creator>
    <dc:date>2012-02-15T03:57:19Z</dc:date>
    <item>
      <title>Documentation bug for DPM with regard to x_fp_hash and use of the caret character?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Documentation-bug-for-DPM-with-regard-to-x-fp-hash-and-use-of/m-p/23091#M12452</link>
      <description>&lt;P&gt;I'm just getting started with using DPM.&amp;nbsp;I'm using this PDF document for reference:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.authorize.net/support/DirectPost_guide.pdf"&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;In this document it states that the x_fp_hash value is generated by taking the md5 hash of:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 14px;"&gt;API Login ID (x_login)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 14px;"&gt;The sequence number of the transaction (x_fp_sequence)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 14px;"&gt;The timestamp of the sequence number creation (x_fp_timestamp)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 14px;"&gt;Amount (x_amount)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After that it says: "&lt;SPAN&gt;Field values are concatenated and separated by the “^” character."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've seen other documentation referring to the use of the "^" (caret) character as a delimiter also. The PDF goes into great detail on page 15 about the importance of an ending "^" (caret)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yet, the function in the demo php code does not use any delimiter and other posts on the topic have suggested not using any delimiter. Furthermore, the PDF doesn't mention using the optional SecretKey as the first value. The documentation is so different from what the working sample code does and what other posts say that I wonder if there aren't two entirely different things going on here.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;Summary: Should values be delimited with carets or not? Is the documentation in the PDF wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2012 03:29:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Documentation-bug-for-DPM-with-regard-to-x-fp-hash-and-use-of/m-p/23091#M12452</guid>
      <dc:creator>mattc</dc:creator>
      <dc:date>2012-02-15T03:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation bug for DPM with regard to x_fp_hash and use of the caret character?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Documentation-bug-for-DPM-with-regard-to-x-fp-hash-and-use-of/m-p/23093#M12453</link>
      <description>&lt;P&gt;Okay, I had a bit of a breakthrough on what I was missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the demo file "AuthorizeNetSIM.php" there are two functions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getFingerprint(...)&lt;/P&gt;&lt;P&gt;generateHash()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking at one and thinking it was the other. The getFingerprint(...) function does use carets according to the documentation, the other doesn't. They are for two different purposes, one for calculating a value for x_fp_hash and the other for some sort of response verification I haven't fully explored yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nevermind.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2012 03:57:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Documentation-bug-for-DPM-with-regard-to-x-fp-hash-and-use-of/m-p/23093#M12453</guid>
      <dc:creator>mattc</dc:creator>
      <dc:date>2012-02-15T03:57:19Z</dc:date>
    </item>
  </channel>
</rss>

