Integration and Testing

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

Reply
Contributor
Posts: 15
Registered: ‎11-14-2013

Check if Account is in Live Mode

Hi,

 

Is there an API call to check if an account is in Live Mode or still in Test Mode (I do not see one.) I know we could do a test transaction and check to see if the TransactionID is 0 or if the AuthorizationCode is 000000 but this would require a real credit card and our systems are automated so this method would likely have to be done manually.

 

Or does anyone have a recommended solution for this?

 

Thanks, Jay.

 

@zfallon 

Administrator
Posts: 170
Registered: ‎11-29-2017

Re: Check if Account is in Live Mode

You can send a createTransaction request with a test card in order to determine if the test mode setting is enabled.

 

Test cards are here:

https://developer.authorize.net/hello_world/testing_guide/

 

**Note that test mode is also a field that can be sent with a transaction request and that if it is sent with a transaction it overrides the merchant setting.