cancel
Showing results for 
Search instead for 
Did you mean: 

Error E00007 - invalid authentication values

Hello,

 

This is more of a sanity check but...I am trying to pick up where another developer left off with a Wordpress Woo Commerce site. When doing a test transaction to my sandbox account, I get the following error:

 

API Request/Response: 
<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileResponse>
  <messages>
    <resultCode>Error</resultCode>
    <message>
      <code>E00007</code>
      <text>User authentication failed due to invalid authentication values.</text>
    </message>
  </messages>
</createCustomerProfileResponse>

Then...

<?xml version="1.0" encoding="UTF-8"?>
<createCustomerProfileRequest>
  <merchantAuthentication>
    <name>123456789</name>
    <transactionKey>123456789</transactionKey>
  </merchantAuthentication>

In addtion to the incorrect login creditials, the error log tells me that the address and credit card expiration date are sent correctly but the card number and code are sent as zeros. I am certain the developer of the module got it right so it has to be something local or in the way it is connecting to my sandbox account. I know the API login creditals are correct and confirmed that they are saved correctly in the database. The only other caveat I can think of is that they are using a self signed SSL.

 

My question is whether authorize.net is returning what is actually being sent by the module or does this have something to do with sending to a sandbox account. 

 

Thank you.

nvw
Member
1 ACCEPTED SOLUTION
4 REPLIES 4

If it is a sandbox account make sure it sending to the sandbox url.

http://developer.authorize.net/api/cim/

RaynorC1emen7
Expert

Thanks for the fast repy. Here is what I have found in the code:

 

const PRODUCTION_ENDPOINT = 'https://api.authorize.net/xml/v1/request.api';

Are you suggesting I should change this to 

 

 

const PRODUCTION_ENDPOINT = 'http://developer.authorize.net/api/cim/request.api';

That was it, thanks so much for your help.