<?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: Multiple Items AIM in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multiple-Items-AIM/m-p/26678#M14161</link>
    <description>&lt;P&gt;Anyone have any suggestions?&lt;/P&gt;</description>
    <pubDate>Wed, 23 May 2012 00:54:23 GMT</pubDate>
    <dc:creator>Wstar</dc:creator>
    <dc:date>2012-05-23T00:54:23Z</dc:date>
    <item>
      <title>Multiple Items AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multiple-Items-AIM/m-p/26350#M14012</link>
      <description>&lt;P&gt;I have been using John Conde class for doing all my ARB transactions.&lt;/P&gt;&lt;P&gt;However, Im using AIM for store orders now and I'm getting an error when I pass multiple items.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;He uses this when inserting one item to buy in his class.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;'lineItems' =&amp;gt; array(
                'lineItem' =&amp;gt; array(
                    'itemId' =&amp;gt; '1',
                    'name' =&amp;gt; 'vase',
                    'description' =&amp;gt; 'Cannes logo',
                    'quantity' =&amp;gt; '18',
                    'unitPrice' =&amp;gt; '45.00',
                ),
            ),&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I try to insert multiple items like so...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;'lineItems' =&amp;gt; array(
    'lineItem' =&amp;gt; array(
	'itemId' =&amp;gt; '1',
	'name' =&amp;gt; 'vase',
	'description' =&amp;gt; 'Cannes logo',
	'quantity' =&amp;gt; '18',
	'unitPrice' =&amp;gt; '45.00',
	),
    'lineItem' =&amp;gt; array(
	'itemId' =&amp;gt; '2',
	'name' =&amp;gt; 'vase2',
	'description' =&amp;gt; 'Cannes logo',
	'quantity' =&amp;gt; '18',
	'unitPrice' =&amp;gt; '45.00',
	),
),
				&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run this, I only get the one item (2) on the recipt. &amp;nbsp;Is there another way to do this?&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2012 17:30:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multiple-Items-AIM/m-p/26350#M14012</guid>
      <dc:creator>Wstar</dc:creator>
      <dc:date>2012-05-09T17:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Items AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multiple-Items-AIM/m-p/26678#M14161</link>
      <description>&lt;P&gt;Anyone have any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2012 00:54:23 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multiple-Items-AIM/m-p/26678#M14161</guid>
      <dc:creator>Wstar</dc:creator>
      <dc:date>2012-05-23T00:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Items AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multiple-Items-AIM/m-p/26752#M14193</link>
      <description>&lt;P&gt;If you assign more than one value to the same key ("lineItem") in PHP, all assignments but the last one are ignored. I can't comment on how to do this properly, however - I always just work natively from the Authorize.net classes, which in the case of AIM, are fairly well-documented. Look in the doc folder of your SDK for the file AIM.markdown, it has all sorts of sample code you can use.&lt;/P&gt;</description>
      <pubDate>Sun, 27 May 2012 00:28:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Multiple-Items-AIM/m-p/26752#M14193</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2012-05-27T00:28:41Z</dc:date>
    </item>
  </channel>
</rss>

