Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Contributor
Posts: 12
Registered: ‎02-07-2011
Accepted Solution

Transactions are not showing on test account

Hello,

 

We are switching from a different payment gateway to Authorize.net and need some help with the transition.

 

I created a test account on Authorize.net and changed our tests to use "4111-1111-1111-1111" credit card number with 2020/12 expiration date to post a transaction on the test account. The response code from merchant.postTransaction(.) is "(TESTMODE) This transaction has been approved."

 

However, I don't see the amount of this transaction showing up anywhere in my test account.

 

My goal is to have our integration tests to put some money in the Authorize.net test account and then be able to verify (visually or programmatically) that the money is there.

 

Please advise.

 

Thanks


Accepted Solutions
Solution
Accepted by topic author alecswan77
‎08-21-2015 01:58 AM
Posts: 1,476
Topics: 33
Kudos: 37
Solutions: 126
Registered: ‎09-14-2009

Re: Transactions are not showing on test account

[ Edited ]

Settling has nothing to do with your code so settling them won't affect your integration. Test accounts and live accounts operate identically from an API perspective so once you develop your app usingthetest server you do not have to change anything except your credentials and API URL and everything will wor as tested.

 

Being unsettled is what is expected when new transactions are run. Settlement occurs once per evening and that's when the transactions are sent over to the bank for payment. Settleleemt is automated so you don't do anything for them. It just happens.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post

View solution in original post


All Replies
Posts: 1,476
Topics: 33
Kudos: 37
Solutions: 126
Registered: ‎09-14-2009

Re: Transactions are not showing on test account

Don't use test mode in the test account.  It defeats the purpose of having a test account. Turn that off and run your transactions normally. You should be able to see your transactions then.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
Contributor
Posts: 12
Registered: ‎02-07-2011

Re: Transactions are not showing on test account

Thanks, it turns out that my test transactions were shown under Unsettled Transactions. Is that where approved transactions show in production accounts? If so, then what do I need to do to "settle" them? If not, then how can I test my code if the behavior of TEST and PROD accounts are different?

 

Thanks

Solution
Accepted by topic author alecswan77
‎08-21-2015 01:58 AM
Posts: 1,476
Topics: 33
Kudos: 37
Solutions: 126
Registered: ‎09-14-2009

Re: Transactions are not showing on test account

[ Edited ]

Settling has nothing to do with your code so settling them won't affect your integration. Test accounts and live accounts operate identically from an API perspective so once you develop your app usingthetest server you do not have to change anything except your credentials and API URL and everything will wor as tested.

 

Being unsettled is what is expected when new transactions are run. Settlement occurs once per evening and that's when the transactions are sent over to the bank for payment. Settleleemt is automated so you don't do anything for them. It just happens.


-------------------------------------------------------------------------------------------------------------------------------------------
John Conde :: Certified Authorize.Net Developer (Brainyminds) :: Official Authorize.Net Blogger

NEW! Handling Authorize.Net's Webhooks with PHP

Integrate Every Authorize.Net JSON API with One PHP Class (Sample code included)

Tutorials for integrating Authorize.Net with PHP: AIM, ARB, CIM, Silent Post
All About Authorize.Net's Silent Post
Member
Posts: 3
Registered: ‎08-08-2013

Re: Transactions are not showing on test account

I have TEST MODE off, and get Merchant Email Receipt after submit CC and amount. But I still cannot see any transaction details under Reports or Search menu on my Test account. Do you know where I did wrong?

Member
Posts: 3
Registered: ‎08-08-2013

Re: Transactions are not showing on test account

And 'TEST MODE' is shown on each email, regardless I turn TEST MODE on or off..

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Transactions are not showing on test account

If "Test Mode" is shown on the email, you are running in test mode. If you are using DPM, AIM, or SIM have x_test_request set to false

Member
Posts: 3
Registered: ‎08-08-2013

Re: Transactions are not showing on test account

Thanks for quick response. I found an issue with Spree::Gateway. It always sends test => true when initialize ActiveMerchant gem. So Authorize.net always see it is transaction in TEST MODE>