<?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: Sample Code for Transaction Details API for PHP simply doesn't work for me in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18078#M10056</link>
    <description>&lt;P&gt;The function you're using must be defaulting to sandbox. Try adding this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;define("AUTHORIZENET_SANDBOX", false);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;If that doesn't work, go into the lib files for the API and see if there's a sandbox argument for the function.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2011 14:33:43 GMT</pubDate>
    <dc:creator>TJPride</dc:creator>
    <dc:date>2011-10-19T14:33:43Z</dc:date>
    <item>
      <title>Sample Code for Transaction Details API for PHP simply doesn't work for me</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18024#M10032</link>
      <description>&lt;P&gt;After reading the manual several times and searching the forums and trying every sample code I can find... Still no joy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Downloaded Transaction Details API&amp;nbsp; and used sample code from &lt;A target="_blank" href="http://developer.authorize.net/api/transaction_details/"&gt;http://developer.authorize.net/api/transaction_details/&lt;/A&gt;﻿&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Set my account settings to allow transaction details via api (Had to remember my pet's name : )&lt;/LI&gt;&lt;LI&gt;Pasted in my login ID and transaction key from my existing configuration (no spaces etc)&lt;/LI&gt;&lt;LI&gt;Tucked in a real transaction ID into the transaction ID function.&amp;nbsp; I at leads a dozen transactions each day.&lt;/LI&gt;&lt;LI&gt;Executed code under Windows 7 using PHP 5.2.17&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code executes.. sits for a while and comes back with 0 batches.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I added in dates for the last 20 days and set details to true.&amp;nbsp; Still nothing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So i borrowed other sample code posted here in the forums and from the TD.markdown file as well as from the readme samples. &amp;nbsp; Blank.. Nada.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously I'm missing a major part of the puzzle here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to set debugging to see where the process is breaking down?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perchance is it defaulting to a test account? (I don't have one, I only acces my live account)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hints or pointers to sample code that really should work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Frustrated Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2011 16:19:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18024#M10032</guid>
      <dc:creator>MichaelS</dc:creator>
      <dc:date>2011-10-15T16:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Transaction Details API for PHP simply doesn't work for me</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18026#M10033</link>
      <description>&lt;P&gt;Can you add this and paste the result (in a code box if it's more than a line or two)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;print_r($response);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;It's theoretically possible it defaults to sandbox (test mode is different), and in that case the response should contain an applicable error, since your production account login obviously isn't going to work on the test server.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2011 20:37:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18026#M10033</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-10-15T20:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Transaction Details API for PHP simply doesn't work for me</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18076#M10055</link>
      <description>&lt;P&gt;TJ.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very useful idea, Thank you..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The $response array reports an authentication error (pasted below).&amp;nbsp; What is odd is that I am using the same &lt;STRONG&gt;API login&lt;/STRONG&gt; and &lt;STRONG&gt;Transaction key&lt;/STRONG&gt; used in my shopping cart connector to authroize (which works fine)..&amp;nbsp; API login as 12 characters and&amp;nbsp; Transaction Key is 16 characters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I must be missing something. But what?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AuthorizeNetTD_Response Object&lt;BR /&gt;(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [xml] =&amp;gt; SimpleXMLElement Object&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&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; [messages] =&amp;gt; SimpleXMLElement Object&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; (&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [resultCode] =&amp;gt; Error&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [message] =&amp;gt; SimpleXMLElement Object&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [code] =&amp;gt; E00007&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [text] =&amp;gt; User authentication failed due to invalid&lt;BR /&gt;authentication values.&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;BR /&gt;&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; )&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )﻿&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2011 13:19:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18076#M10055</guid>
      <dc:creator>MichaelS</dc:creator>
      <dc:date>2011-10-19T13:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Transaction Details API for PHP simply doesn't work for me</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18078#M10056</link>
      <description>&lt;P&gt;The function you're using must be defaulting to sandbox. Try adding this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;define("AUTHORIZENET_SANDBOX", false);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;If that doesn't work, go into the lib files for the API and see if there's a sandbox argument for the function.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2011 14:33:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18078#M10056</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-10-19T14:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Transaction Details API for PHP simply doesn't work for me</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18080#M10057</link>
      <description>&lt;P&gt;And THAT is a solution that should be shared with others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IT works now.&amp;nbsp; Thanks TJ.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note to Authorize.net - this would be important to mention/add/change in sample code and documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much thanks TJ,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Michael&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2011 14:37:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18080#M10057</guid>
      <dc:creator>MichaelS</dc:creator>
      <dc:date>2011-10-19T14:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Transaction Details API for PHP simply doesn't work for me</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18102#M10068</link>
      <description>&lt;P&gt;Glad to be of help.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2011 20:25:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sample-Code-for-Transaction-Details-API-for-PHP-simply-doesn-t/m-p/18102#M10068</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2011-10-19T20:25:22Z</dc:date>
    </item>
  </channel>
</rss>

