Hello, I am new to authorize.net development and I am trying to get a list of settled batches from the TransactionAPI.
When I run GetSettledBatchList for a date range (ex: 2014-10-01T00:00:00 to 2014-10-15T00:00:00) that I know have settled batches against the production server, I get the following response:
<?xml version="1.0" encoding="utf-16"?>
<GetTransactionListResponseType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<resultCode xmlns="https://api.authorize.net/soap/v1/">Ok</resultCode>
<messages xmlns="https://api.authorize.net/soap/v1/">
<MessagesTypeMessage>
<code>I00004</code>
<text>No records found.</text>
</MessagesTypeMessage>
</messages>
</GetTransactionListResponseType>
When I run the same date range against the sandbox server with my sandbox API and transaction key, I get the expected list of settled batches which I placed in the system a few days earlier so they would settle.
Additional Info for production system:
Am I missing a setting? or does anyone have ideas how to troubleshoot this further?
Thanks,
Roger
10-16-2014 11:28 AM
The API tester use XML.
Is not identical XML doesn't have the <request></request>
Since you know the transaction details API works for your sandbox account. Try the soap call to the sandbox account.
10-17-2014 04:56 PM
thanks.. sorry to waste everyones time, but i found the problem:
I had a suspicion that I had been given the wrong API login/transaction key, so I asked the group who sent it to me to verify.. sure enough, the key they had given me was from a very old account that was no longer being used but still active.
got the new ID/key combo and it works perfectly.. thanks for all your help!
Roger
10-20-2014 10:57 AM