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>
Solved! Go to Solution.
08-08-2018 11:42 AM
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
08-08-2018 01:04 PM
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
08-08-2018 01:04 PM
Thank you!
08-14-2018 06:49 PM