- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
550 error from Accept.js
Accept.js is returning a 550 access denied error when attempting to fetch a payment nonce.
I'm still in development so I don't know if the issue is happening on production as well, but it is happening in the sandbox (https://jstest.authorize.net/v1/Accept.js).
Sending in an invalid date is returning E_WC_08 so the base connection is working.
However, when I try and send valid data the following error is returned.
XMLHttpRequest cannot load https://apitest.authorize.net/xml/v1/request.api. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://test.lyle.local' is therefore not allowed access. The response had HTTP status code 550.
I'm getting the same response when trying the sample code (http://developer.authorize.net/api/reference/features/acceptjs.html)
This integration was working a couple of hours ago. Are there updates coming that will require changes to the client side code or was a configuration change made on the Accept.JS end that will be reverted?
Thanks
โ09-22-2016 02:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sandbox API is down.
โ09-22-2016 02:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. It is working now.
โ09-22-2016 04:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update on 550 Status Code. I have been transferring to ColdFusion 2025 and Accept.js. Spent a great deal of time with Accept.js and attempting to get it to work. I hope this helps someone. Initially, I was using the JSON implementation and it kept returning a 550 Code, It is an authentication rejection code. I switched to the XML format in a test and "Success". Here is the code used if anyone needs to use as a test to confirm authentication.
<cfoutput>
<cfset xmlString = '<?xml version="1.0" encoding="utf-8"?>
<authenticateTestRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>' & request.ApiLoginID & '</name>
<transactionKey>' & request.TransactionKey & '</transactionKey>
</merchantAuthentication>
</authenticateTestRequest>'>
<cfhttp url="https://apitest.authorize.net/xml/v1/request.api" method="post" result="authTestResponse" timeout="30">
<cfhttpparam type="header" name="Content-Type" value="application/xml">
<cfhttpparam type="body" value="#xmlString#">
</cfhttp>
<h3>Authentication Test Response</h3>
<pre>
Status Code: #EncodeForXML(authTestResponse.statusCode)#
Response Body: #EncodeForXML(authTestResponse.fileContent)#
</pre>
</cfoutput>
โ04-22-2025 05:30 PM

