<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 550 error from Accept.js in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/550-error-from-Accept-js/m-p/91597#M57506</link>
    <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;cfoutput&amp;gt;&lt;BR /&gt;&amp;lt;cfset xmlString = '&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;authenticateTestRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&lt;BR /&gt;&amp;lt;merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;' &amp;amp; request.ApiLoginID &amp;amp; '&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;transactionKey&amp;gt;' &amp;amp; request.TransactionKey &amp;amp; '&amp;lt;/transactionKey&amp;gt;&lt;BR /&gt;&amp;lt;/merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;/authenticateTestRequest&amp;gt;'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;cfhttp url="&lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;" method="post" result="authTestResponse" timeout="30"&amp;gt;&lt;BR /&gt;&amp;lt;cfhttpparam type="header" name="Content-Type" value="application/xml"&amp;gt;&lt;BR /&gt;&amp;lt;cfhttpparam type="body" value="#xmlString#"&amp;gt;&lt;BR /&gt;&amp;lt;/cfhttp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;h3&amp;gt;Authentication Test Response&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;lt;pre&amp;gt;&lt;BR /&gt;Status Code: #EncodeForXML(authTestResponse.statusCode)#&lt;BR /&gt;Response Body: #EncodeForXML(authTestResponse.fileContent)#&lt;BR /&gt;&amp;lt;/pre&amp;gt;&lt;BR /&gt;&amp;lt;/cfoutput&amp;gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 00:30:57 GMT</pubDate>
    <dc:creator>Dlofi</dc:creator>
    <dc:date>2025-04-23T00:30:57Z</dc:date>
    <item>
      <title>550 error from Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/550-error-from-Accept-js/m-p/55821#M30653</link>
      <description>&lt;P&gt;Accept.js is returning a 550 access denied error when attempting to fetch a payment nonce.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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 (&lt;A href="https://jstest.authorize.net/v1/Accept.js" target="_blank"&gt;https://jstest.authorize.net/v1/Accept.js&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sending in an invalid date is returning E_WC_08 so the base connection is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try and send valid data the following error is returned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;XMLHttpRequest cannot load &lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '&lt;A href="https://test.lyle.local" target="_blank"&gt;https://test.lyle.local&lt;/A&gt;' is therefore not allowed access. The response had HTTP status code 550.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting the same response when trying the sample code (&lt;A href="http://developer.authorize.net/api/reference/features/acceptjs.html" target="_blank"&gt;http://developer.authorize.net/api/reference/features/acceptjs.html&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This integration was working a couple of hours ago. &amp;nbsp;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?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 21:12:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/550-error-from-Accept-js/m-p/55821#M30653</guid>
      <dc:creator>lcjordan</dc:creator>
      <dc:date>2016-09-22T21:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: 550 error from Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/550-error-from-Accept-js/m-p/55822#M30654</link>
      <description>&lt;P&gt;Sandbox API is down.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 21:18:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/550-error-from-Accept-js/m-p/55822#M30654</guid>
      <dc:creator>bendiy</dc:creator>
      <dc:date>2016-09-22T21:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: 550 error from Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/550-error-from-Accept-js/m-p/55825#M30657</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp;It is working now.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2016 23:34:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/550-error-from-Accept-js/m-p/55825#M30657</guid>
      <dc:creator>lcjordan</dc:creator>
      <dc:date>2016-09-22T23:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: 550 error from Accept.js</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/550-error-from-Accept-js/m-p/91597#M57506</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;cfoutput&amp;gt;&lt;BR /&gt;&amp;lt;cfset xmlString = '&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;authenticateTestRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&lt;BR /&gt;&amp;lt;merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;' &amp;amp; request.ApiLoginID &amp;amp; '&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;transactionKey&amp;gt;' &amp;amp; request.TransactionKey &amp;amp; '&amp;lt;/transactionKey&amp;gt;&lt;BR /&gt;&amp;lt;/merchantAuthentication&amp;gt;&lt;BR /&gt;&amp;lt;/authenticateTestRequest&amp;gt;'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;cfhttp url="&lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;" method="post" result="authTestResponse" timeout="30"&amp;gt;&lt;BR /&gt;&amp;lt;cfhttpparam type="header" name="Content-Type" value="application/xml"&amp;gt;&lt;BR /&gt;&amp;lt;cfhttpparam type="body" value="#xmlString#"&amp;gt;&lt;BR /&gt;&amp;lt;/cfhttp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;h3&amp;gt;Authentication Test Response&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;lt;pre&amp;gt;&lt;BR /&gt;Status Code: #EncodeForXML(authTestResponse.statusCode)#&lt;BR /&gt;Response Body: #EncodeForXML(authTestResponse.fileContent)#&lt;BR /&gt;&amp;lt;/pre&amp;gt;&lt;BR /&gt;&amp;lt;/cfoutput&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 00:30:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/550-error-from-Accept-js/m-p/91597#M57506</guid>
      <dc:creator>Dlofi</dc:creator>
      <dc:date>2025-04-23T00:30:57Z</dc:date>
    </item>
  </channel>
</rss>

