Integration and Testing

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

Reply
Member
Posts: 4
Registered: ‎07-28-2015
Accepted Solution

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.


Accepted Solutions
Solution
Accepted by topic author nvw
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Error E00007 - invalid authentication values


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

Re: Error E00007 - invalid authentication values

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

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

Member
Posts: 4
Registered: ‎07-28-2015

Re: Error E00007 - invalid authentication values

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';
Solution
Accepted by topic author nvw
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Error E00007 - invalid authentication values

Member
Posts: 4
Registered: ‎07-28-2015

Re: Error E00007 - invalid authentication values

That was it, thanks so much for your help.