<?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: AIM and PHP SDK missing currency_code in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/34279#M18759</link>
    <description>&lt;P&gt;the SDK came out over a year ago, and the currency support just about 2 months ago.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.developer.cybersource.com/t5/News-and-Announcements/Authorize-Net-Expansion-into-Canada-the-United-Kingdom-and/td-p/33690" target="_blank"&gt;http://community.developer.authorize.net/t5/News-and-Announcements/Authorize-Net-Expansion-into-Canada-the-United-Kingdom-and/td-p/33690&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2013 11:11:21 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2013-05-17T11:11:21Z</dc:date>
    <item>
      <title>AIM and PHP SDK missing currency_code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/33521#M18031</link>
      <description>&lt;P&gt;I'm using the PHP SDK (version 1.1.8) to do an Authorize and Capture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to set the field "currency_code" and get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[15-Mar-2013 08:46:21] PHP Fatal error:&amp;nbsp; Uncaught exception 'AuthorizeNetException' with message 'Error: no field currency_code exists in the AIM API.&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To set a custom field use setCustomField('field','value') instead.' in D:\usr\projects\PRCI_pubs\public\pscripts\anet\lib\AuthorizeNetAIM.php:308&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;A review of the AuthorizeNetAIM class reveals that currency_code is not in the array of $_all_aim_fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a reason the currency_code is not implemented in this SDK?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 12:59:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/33521#M18031</guid>
      <dc:creator>vmallu1313</dc:creator>
      <dc:date>2013-03-15T12:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: AIM and PHP SDK missing currency_code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/33522#M18032</link>
      <description>&lt;P&gt;Probably because at the time the only currency supported is USD.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 13:25:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/33522#M18032</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-03-15T13:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: AIM and PHP SDK missing currency_code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/34278#M18758</link>
      <description>&lt;P&gt;vmallu, I found the same issue.. looking at the very latest version of the PHP SDK the currency_code field is not there, however the AIM API documentation found here&amp;nbsp;&lt;A href="http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm" target="_blank"&gt;http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm&lt;/A&gt;&amp;nbsp;says this ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="tb_TableBody"&gt;x_currency_code&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="tb_TableBody"&gt;Optional&lt;/DIV&gt;&lt;DIV class="tb_TableBody"&gt;&lt;SPAN&gt;Value&lt;/SPAN&gt;: USD, CAD, or GBP.&lt;/DIV&gt;&lt;DIV class="tb_TableBody"&gt;&lt;SPAN&gt;Format&lt;/SPAN&gt;: 3 character string.&lt;/DIV&gt;&lt;DIV class="tb_TableBody"&gt;&lt;SPAN&gt;Notes&lt;/SPAN&gt;: If this field is not submitted, the default is the currency selected by the merchant’s payment processor. Setting this field to a currency that is not supported by the payment processor will result in an error.&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;There are no timestamps on the documentation... Maybe this is a new addition and is coming soon? Who knows, would be awesome if Auth.Net staff could clarify.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2013 06:45:59 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/34278#M18758</guid>
      <dc:creator>happy</dc:creator>
      <dc:date>2013-05-17T06:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: AIM and PHP SDK missing currency_code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/34279#M18759</link>
      <description>&lt;P&gt;the SDK came out over a year ago, and the currency support just about 2 months ago.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.developer.cybersource.com/t5/News-and-Announcements/Authorize-Net-Expansion-into-Canada-the-United-Kingdom-and/td-p/33690" target="_blank"&gt;http://community.developer.authorize.net/t5/News-and-Announcements/Authorize-Net-Expansion-into-Canada-the-United-Kingdom-and/td-p/33690&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2013 11:11:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/34279#M18759</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-05-17T11:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: AIM and PHP SDK missing currency_code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/35258#M19655</link>
      <description>&lt;P&gt;So is the SDK officially supported or not? If so, I'd expect that it would be upgraded to support new features in the API.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What's the fix? I'd like to set the currency_code without changing the sourcecode and without getting the exception. Is there a -&amp;gt;setVarWithoutException() or something?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2013 20:50:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/35258#M19655</guid>
      <dc:creator>jshannon</dc:creator>
      <dc:date>2013-08-19T20:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: AIM and PHP SDK missing currency_code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/35265#M19662</link>
      <description>&lt;P&gt;Turns out that you can do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;$txn-&amp;gt;verify_x_fields = false;&lt;BR /&gt;$txn-&amp;gt;currency_code = $product-&amp;gt;currency;&lt;BR /&gt;$txn-&amp;gt;verify_x_fields = true;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2013 04:59:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/35265#M19662</guid>
      <dc:creator>jshannon</dc:creator>
      <dc:date>2013-08-20T04:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: AIM and PHP SDK missing currency_code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/35283#M19680</link>
      <description>&lt;P&gt;Hello jshannon,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Setting the currency_code isn't a required field. &amp;nbsp;Each gateway account is configured with a single currency and you cannot overide this using the currency_code. &amp;nbsp;If you attempt to set a currency_code different than the one configured for the gateway, it will return an error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sanbox accounts are configured for USD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 19:29:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-and-PHP-SDK-missing-currency-code/m-p/35283#M19680</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2013-08-21T19:29:05Z</dc:date>
    </item>
  </channel>
</rss>

