<?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 Generating a fingerprint with a currency code in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generating-a-fingerprint-with-a-currency-code/m-p/32415#M16974</link>
    <description>&lt;P&gt;I am getting a 99 error when I include x_currency_code. &lt;A href="https://developer.authorize.net/tools/responsecode99/?searchid=1357572431664#bottom" target="_self"&gt;This fingerprint checker&lt;/A&gt;has the option &lt;EM&gt;I submit a currency code with my transactions.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;When I uncheck that option it generates the same code as AuthorizeNetSIM_Form::getFingerprint.&lt;/P&gt;&lt;P&gt;With it checked it produces a different hash.&lt;/P&gt;&lt;P&gt;The function getFingerprint in the class AuthorizeNetSIM doesn't cater for this and I can't find any reference to it in the docs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell me how to generate a fingerprint that includes x_currency_code?&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jan 2013 15:56:10 GMT</pubDate>
    <dc:creator>nigelhill</dc:creator>
    <dc:date>2013-01-07T15:56:10Z</dc:date>
    <item>
      <title>Generating a fingerprint with a currency code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generating-a-fingerprint-with-a-currency-code/m-p/32415#M16974</link>
      <description>&lt;P&gt;I am getting a 99 error when I include x_currency_code. &lt;A href="https://developer.authorize.net/tools/responsecode99/?searchid=1357572431664#bottom" target="_self"&gt;This fingerprint checker&lt;/A&gt;has the option &lt;EM&gt;I submit a currency code with my transactions.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;When I uncheck that option it generates the same code as AuthorizeNetSIM_Form::getFingerprint.&lt;/P&gt;&lt;P&gt;With it checked it produces a different hash.&lt;/P&gt;&lt;P&gt;The function getFingerprint in the class AuthorizeNetSIM doesn't cater for this and I can't find any reference to it in the docs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell me how to generate a fingerprint that includes x_currency_code?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 15:56:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generating-a-fingerprint-with-a-currency-code/m-p/32415#M16974</guid>
      <dc:creator>nigelhill</dc:creator>
      <dc:date>2013-01-07T15:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a fingerprint with a currency code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generating-a-fingerprint-with-a-currency-code/m-p/32416#M16975</link>
      <description>&lt;P&gt;&lt;A href="https://developer.authorize.net/guides/SIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=SIM_Submitting_transactions.html" target="_blank"&gt;https://developer.authorize.net/guides/SIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=SIM_Submitting_transactions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note the required trailing “^” character. If you specify x_currency_code, then the value (for example, LVL) must be placed after the trailing caret.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Example Fingerprint input with currency code specified&lt;BR /&gt;"authnettest^789^67897654^10.50^LVL"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;by the way which currency code are you going to use? authorize.net don't really support anything other then USD.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 16:06:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generating-a-fingerprint-with-a-currency-code/m-p/32416#M16975</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-01-07T16:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a fingerprint with a currency code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generating-a-fingerprint-with-a-currency-code/m-p/32417#M16976</link>
      <description>&lt;P&gt;I figured it out by trial and error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getFingerprint($api_login_id, $transaction_key, $amount, $fp_sequence, $fp_timestamp)&lt;/P&gt;&lt;P&gt;returns&lt;/P&gt;&lt;P&gt;hash_hmac("md5", $api_login_id . "^" . $fp_sequence . "^" . $fp_timestamp . "^" . $amount . "^", $transaction_key);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By not using this function and appending the currency with no trailing ^ to the data, hash_hmac produces the same key as that using the fingerprint checker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hash_hmac("md5", $api_login_id . "^" . $fp_sequence . "^" . $fp_timestamp . "^" . $amount . "^" &lt;STRONG&gt;. $currency&lt;/STRONG&gt;, $transaction_key);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using USD but also will be using GBP - I was told by Authorize.net that they would be taking payments in GBP soon.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2013 16:10:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Generating-a-fingerprint-with-a-currency-code/m-p/32417#M16976</guid>
      <dc:creator>nigelhill</dc:creator>
      <dc:date>2013-01-07T16:10:41Z</dc:date>
    </item>
  </channel>
</rss>

