<?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: Returning transaction ID for CIM in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34879#M19297</link>
    <description>&lt;P&gt;I get the following for the output:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Request Response Summary:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Response code: I00001 Message: Successful.&lt;/SPAN&gt;&lt;STRONG&gt;Approval code:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;EMUXHV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't get anything close to the transaction id. Am I requesting the wrong response or something?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2013 17:18:39 GMT</pubDate>
    <dc:creator>afwebworks99</dc:creator>
    <dc:date>2013-07-03T17:18:39Z</dc:date>
    <item>
      <title>Returning transaction ID for CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34874#M19292</link>
      <description>&lt;P&gt;I am setting up my script with the CIM API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is, is there a way to return the transaction id for the transaction what was just processed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this at the end so far:&lt;/P&gt;&lt;P&gt;if ($cim-&amp;gt;isSuccessful())&lt;BR /&gt;{&lt;BR /&gt;$approval_code = $cim-&amp;gt;getAuthCode();&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;// Print the results of the request&lt;BR /&gt;echo '&amp;lt;strong&amp;gt; Response Summary:&amp;lt;/strong&amp;gt; ' .&lt;BR /&gt;$cim-&amp;gt;getResponseSummary() . '';&lt;BR /&gt;echo '&amp;lt;strong&amp;gt;Approval code:&amp;lt;/strong&amp;gt; ' . $approval_code;&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that doesnt give me anything on the transaction id. I need that number and write to my database, so if I can't get the trans id this way, is there a better/different way to get it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 15:23:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34874#M19292</guid>
      <dc:creator>afwebworks99</dc:creator>
      <dc:date>2013-07-03T15:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Returning transaction ID for CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34876#M19294</link>
      <description>&lt;P&gt;The transactionID should return with the authorization code. Not sure how you do that in php.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 16:43:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34876#M19294</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-07-03T16:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Returning transaction ID for CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34879#M19297</link>
      <description>&lt;P&gt;I get the following for the output:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Request Response Summary:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Response code: I00001 Message: Successful.&lt;/SPAN&gt;&lt;STRONG&gt;Approval code:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;EMUXHV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't get anything close to the transaction id. Am I requesting the wrong response or something?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 17:18:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34879#M19297</guid>
      <dc:creator>afwebworks99</dc:creator>
      <dc:date>2013-07-03T17:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Returning transaction ID for CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34889#M19306</link>
      <description>&lt;P&gt;doesn't look like you getting the whole response. It should look like something like page 84 on the xml documentation&lt;/P&gt;&lt;P&gt;&lt;A href="http://developer.authorize.net/api/cim/" target="_blank"&gt;http://developer.authorize.net/api/cim/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 18:13:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34889#M19306</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-07-03T18:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Returning transaction ID for CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34902#M19317</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed you found your own answer and posted to &lt;A href="http://stackoverflow.com/questions/17455379/getting-transaction-id-from-authorize-net-cim-api" target="_self"&gt;stackoverflow&lt;/A&gt;. &amp;nbsp;For the benefit of others, I'm going to add your your solution here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$trans_id = $cim-&amp;gt;getTransactionID();&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2013 21:07:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Returning-transaction-ID-for-CIM/m-p/34902#M19317</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2013-07-04T21:07:35Z</dc:date>
    </item>
  </channel>
</rss>

