cancel
Showing results for 
Search instead for 
Did you mean: 

Test Your Authentication Credentials - Failing

On page: https://developer.authorize.net/api/reference/#authentication  

I try the authentication section with API Live Console

Test Your Authentication Credentials

Use this method to test that your authentication credentials are valid and that they are being received successfully by the Authorize.Net API.

 

I put in my live api name and live transaction key and it keeps telling me that they are incorrect.  Is this not used for testing live credentials???  I typed Z's over my credentials in the example below.  I am positve the credentials I am using are correct as I copied and pasted from my merchant account.  I even created a new transaction key.  My old .asp code all still works with this new transaction key.

 

<authenticateTestRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>ZZZZZZZZZZZ</name>
<transactionKey>ZZZZZZZZZZZZZZZZ</transactionKey>
</merchantAuthentication>
</authenticateTestRequest>

 

RESPONSE

<?xml version="1.0" encoding="utf-8"?>
<authenticateTestResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<messages>
<resultCode>
Error
</resultCode>
<message>
<code>
E00007
</code>
<text>
User authentication failed due to invalid authentication values.
</text>
</message>
</messages>
</authenticateTestResponse>

 

 

ryantmoore
Member
1 REPLY 1

Hello @ryantmoore 

 

Testing in the live console only connects with our sandbox.  If you wish to perform a similar test with your production credentials, you must connect to the live production endpoint in your code.  

 

Richard

RichardH
Administrator Administrator
Administrator