cancel
Showing results for 
Search instead for 
Did you mean: 

Constantly receiving 200 error messages fron conneting my Sandbox to WooCommerce

I've been attempting to connect a new store I'm developing in WooCommerce to my Sandbox account. I've got my Sandbox set to LIVE instead of TEST and I've set both my Woo settings to both Test as well as Production with the proper login ID and API keys. I've changed both my keys many, many times to no effect.

 

When I try to checkout, I always receive a 200 error that the order didn't complete.

When I get to the checkout, I get the following errors:

Request
method: POST
uri: https://api2.authorize.net/xml/v1/request.api
user-agent: WooCommerce-Authorize.Net-Gateway/3.0.3 (WooCommerce/3.6.4; WordPress/5.2.1)
headers: Array
(
[content-type] => application/xml
[accept] => application/xml
)
body: <?xml version="1.0" encoding="UTF-8"?>
<getMerchantDetailsRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>********</name>
<transactionKey>****************</transactionKey>
</merchantAuthentication>
</getMerchantDetailsRequest>
duration: 0.77377s
Response
code: 200
message: OK
headers: Array
(
[cache-control] => no-store
[pragma] => no-cache
[content-type] => application/xml; charset=utf-8
[x-opnet-transaction-trace] => a2_a4b557e9-8242-42a7-9c8d-7ba0d1b5aaec-22356-3177605
[access-control-allow-credentials] => true
[access-control-allow-headers] => x-requested-with,cache-control,content-type,origin,method,SOAPAction
[access-control-allow-methods] => PUT,OPTIONS,POST,GET
[access-control-allow-origin] => *
[strict-transport-security] => max-age=31536000
[x-cnection] => close
[content-length] => 411
[date] => Mon, 10 Jun 2019 21:39:35 GMT
)
body: <?xml version="1.0" encoding="utf-8"?>
<getMerchantDetailsResponse>
<messages>
<resultCode>Error</resultCode>
<message>
<code>E00007</code>
<text>User authentication failed due to invalid authentication values.</text>
</message>
</messages>
</getMerchantDetailsResponse>
Request
method: POST
uri: https://api2.authorize.net/xml/v1/request.api
user-agent: WooCommerce-Authorize.Net-Gateway/3.0.3 (WooCommerce/3.6.4; WordPress/5.2.1)
headers: Array
(
[content-type] => application/xml
[accept] => application/xml
)
body: <?xml version="1.0" encoding="UTF-8"?>
<getMerchantDetailsRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>********</name>
<transactionKey>****************</transactionKey>
</merchantAuthentication>
</getMerchantDetailsRequest>
duration: 0.32984s
Response
code: 200
message: OK
headers: Array
(
[cache-control] => no-store
[pragma] => no-cache
[content-type] => application/xml; charset=utf-8
[x-opnet-transaction-trace] => a2_5c8778b3-4047-4085-93a5-a0f9773a5612-28052-3180044
[access-control-allow-credentials] => true
[access-control-allow-headers] => x-requested-with,cache-control,content-type,origin,method,SOAPAction
[access-control-allow-methods] => PUT,OPTIONS,POST,GET
[access-control-allow-origin] => *
[strict-transport-security] => max-age=31536000
[x-cnection] => close
[content-length] => 411
[date] => Mon, 10 Jun 2019 21:39:35 GMT
)
body: <?xml version="1.0" encoding="utf-8"?>
<getMerchantDetailsResponse>
<messages>
<resultCode>Error</resultCode>
<message>
<code>E00007</code>
<text>User authentication failed due to invalid authentication values.</text>
</message>
</messages>
</getMerchantDetailsResponse>
Request
method: POST
uri: https://api2.authorize.net/xml/v1/request.api
user-agent: WooCommerce-Authorize.Net-Gateway/3.0.3 (WooCommerce/3.6.4; WordPress/5.2.1)
headers: Array
(
[content-type] => application/xml
[accept] => application/xml
)
body: <?xml version="1.0" encoding="UTF-8"?>
<getMerchantDetailsRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>********</name>
<transactionKey>****************</transactionKey>
</merchantAuthentication>
</getMerchantDetailsRequest>
duration: 0.49695s
Response
code: 200
message: OK
headers: Array
(
[cache-control] => no-store
[pragma] => no-cache
[content-type] => application/xml; charset=utf-8
[access-control-allow-credentials] => true
[access-control-allow-headers] => x-requested-with,cache-control,content-type,origin,method,SOAPAction
[access-control-allow-methods] => PUT,OPTIONS,POST,GET
[access-control-allow-origin] => *
[strict-transport-security] => max-age=31536000
[x-cnection] => close
[content-length] => 411
[date] => Mon, 10 Jun 2019 21:39:38 GMT
)
body: <?xml version="1.0" encoding="utf-8"?>
<getMerchantDetailsResponse>
<messages>
<resultCode>Error</resultCode>
<message>
<code>E00007</code>
<text>User authentication failed due to invalid authentication values.</text>
</message>
</messages>
</getMerchantDetailsResponse>
databell96
Member
11 REPLIES 11
@databell96

Neither do I because you don’t have one for your submission. You are posting to the API endpoint I just noticed. You need to post to the sandbox endpoint. That will fix your problem.

How do I do that?