cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

E0007 - Sandbox Error

I have a Sandbox acct and attempting to post some test transactions to: https://test.authorize.net/gateway/transact.dll

 

Receiving the E0007 response. Confirmed that the Login ID and Transaction Key are correct. Even created new Transaction Key and still no luck.

 

Sandbox is in "LIVE" mode.

 

Not sure what to do next? Any suggestions?

 

 

 

 

Request:
<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
 <merchantAuthentication>
  <name>REDACTED</name>
  <transactionKey>REDACTED</transactionKey>
 </merchantAuthentication>
 <profile>
  <merchantCustomerId>1098894.1</merchantCustomerId>
  <paymentProfiles>
      <customerType>individual</customerType>
      <billTo>
    <firstName>Trang</firstName>
    <lastName>Nguyen</lastName>
      </billTo>
      <payment>
    <creditCard>
        <cardNumber>REDACTED</cardNumber>
        <expirationDate>2022-09</expirationDate>
        <cardCode>901</cardCode>
    </creditCard>
      </payment>
  </paymentProfiles>
 </profile>
</createCustomerProfileRequest>



Response:
<?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileResponse 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>
</createCustomerProfileResponse>

tnguyen
Member
1 ACCEPTED SOLUTION

Accepted Solutions

Hello @tnguyen

 

The correct sandbox endpoint for XML request is https://apitest.authorize.net/xml/v1/request.api as shown in our API Reference.

 

Richard

View solution in original post

RichardH
Administrator Administrator
Administrator
2 REPLIES 2

Hello @tnguyen

 

The correct sandbox endpoint for XML request is https://apitest.authorize.net/xml/v1/request.api as shown in our API Reference.

 

Richard

RichardH
Administrator Administrator
Administrator

Thank you!