Hi,
I have integrated authorize.net account with our system.
The code works fine on sandbox environ,ent but its not working on the client side in live environment.
The getSettledTransactionList doesn't return any transactions.
SimpleXMLElement Object ( [messages] => SimpleXMLElement Object ( [resultCode] => Ok [message] => SimpleXMLElement Object ( [code] => I00004 [text] => No records found. ) ) )
Request parameter is
SimpleXMLElement Object
(
[merchantAuthentication] => SimpleXMLElement Object
(
[name] => xxx
[transactionKey] => xxx
)
[firstSettlementDate] => 2013-08-19T04:00:00Z
[lastSettlementDate] => 2013-09-15T18:29:59Z
)
The login Id and trans key are correct and the url is https://api.authorize.net/xml/v1/request.api.
Can you please tell what's wrong. Why is it not returning any batches?
Thanks,
09-16-2013 12:45 AM
How do you know there are transactions? Do you have any transaction ID of the transaction? you could use the GetTransactionDetails with the transaction ID.
09-17-2013 05:12 AM
I asked the client if he has transactions in his his account. So he replied that his account is in test mode and has transactions.
Does the transactions made in test mode can be fetched via the API calls?
I read it here http://wojodesign.com/authorize-net-api-setup/ that
'Transactions put through in test mode won’t show up when you are using the Transaction Details API'. and
'If you generate a transaction key in test mode and then switch back to live mode, you will need to generate a new one'
Is that correct?
09-17-2013 05:24 AM
A good question to your client is to have him give you a transactionID to use with GetTransactionDetails. That would tell you if there is really some transaction and also give you the batchID, settled date to use with GetSettledBatchList
A transaction with test mode on is not a real transaction. It won't be save on authorize.net and have the transactionID of 0.
09-17-2013 05:31 AM