<?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: Using the Transaction Details API in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-the-Transaction-Details-API/m-p/49730#M25270</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi &lt;SPAN class="UserName lia-user-name"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/17952" target="_self"&gt;&lt;SPAN class=""&gt;ahowell&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From just looking at your code, it seems like the logic is sound and that it should work for you. We do not have an option of searching through the API, so this type of filtering is the best method to get what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joy&lt;/P&gt;</description>
    <pubDate>Thu, 19 Feb 2015 23:13:41 GMT</pubDate>
    <dc:creator>Joy</dc:creator>
    <dc:date>2015-02-19T23:13:41Z</dc:date>
    <item>
      <title>Using the Transaction Details API</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-the-Transaction-Details-API/m-p/49626#M25173</link>
      <description>&lt;P&gt;I guess this is a general question, I have one account I'm working with but there are many different forms that are using the account for trasnactions. The people who are managing each of the forms want a report that only pulls their form information. The easiest way I figure is to&amp;nbsp;build a report for each of them that pulls ONLY their information based on the description element. If anyone could help and point me on the right path, I'd appreciate it, thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I go about filtering this? I'm not sure if the bottom would be the correct way of acheiving this, because .NET does things by batch its a bit ocnfusing to break this down, so I apologize. I'll post an example here of how I think it would work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pun"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;php&lt;BR /&gt;require_once &lt;/SPAN&gt;&lt;SPAN class="str"&gt;"anet_php_sdk/AuthorizeNet.php"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;define&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"AUTHORIZENET_API_LOGIN_ID"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt; &lt;SPAN class="str"&gt;"YOURLOGIN"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;define&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str"&gt;"AUTHORIZENET_TRANSACTION_KEY"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;,&lt;/SPAN&gt; &lt;SPAN class="str"&gt;"YOURKEY"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="com"&gt;// Get Settled Batch List&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;$request &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt; &lt;SPAN class="kwd"&gt;new&lt;/SPAN&gt; &lt;SPAN class="typ"&gt;AuthorizeNetTD&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;$response &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; $request&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;getSettledBatchList&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;();&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;echo count&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;$response&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;xml&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;batchList&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;batch&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;)&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;.&lt;/SPAN&gt; &lt;SPAN class="str"&gt;" batches\n"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;foreach&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;$response&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;xml&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;batchList&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;batch &lt;/SPAN&gt;&lt;SPAN class="kwd"&gt;as&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; $batch&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;)&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; echo &lt;/SPAN&gt;&lt;SPAN class="str"&gt;"Batch ID: "&lt;/SPAN&gt; &lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; $batch&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;batchId &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt; &lt;SPAN class="str"&gt;"\n"&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;BR /&gt;//Get transactions and filter based on description&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;$response2 = $request-&amp;gt;getTransactionListRequest($batch-&amp;gt;batchI&lt;/SPAN&gt;&lt;SPAN&gt;d);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;foreach ($response2-&amp;gt;xml-&amp;gt;transactions as $transactions) {&lt;/SPAN&gt;&lt;BR /&gt;if (&lt;SPAN&gt;$transactions-&amp;gt;transaction-&amp;gt;description) = "DESCRIPTION" {&lt;BR /&gt;    display/do something;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;BR /&gt;?&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Feb 2015 22:32:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-the-Transaction-Details-API/m-p/49626#M25173</guid>
      <dc:creator>ahowell</dc:creator>
      <dc:date>2015-02-11T22:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Transaction Details API</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-the-Transaction-Details-API/m-p/49730#M25270</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi &lt;SPAN class="UserName lia-user-name"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/17952" target="_self"&gt;&lt;SPAN class=""&gt;ahowell&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From just looking at your code, it seems like the logic is sound and that it should work for you. We do not have an option of searching through the API, so this type of filtering is the best method to get what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joy&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2015 23:13:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Using-the-Transaction-Details-API/m-p/49730#M25270</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2015-02-19T23:13:41Z</dc:date>
    </item>
  </channel>
</rss>

