<?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: Accept.js error E_WC_14:Accept.js encryption failed. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/57941#M32623</link>
    <description>&lt;P&gt;Hi everyone&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since this thread sort of collects the experiences of anyone who's ever seen this error, it's not that great for tracking a specific outcome.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The E_WC_14 error gets thrown when there's any error in the process at all that's not already called out in a more specific fashion. If you're seeing this error, it could be an error in your code. It could be an error in our code. It could be a transient production error. It could be an error caused by the customer's browser. It could be an error related to your account setup. There is no one cause for that error, so there is no one solution, nor one fix we can roll out on our side. Most of this time people see this error, it's due to a problem on their side (although sometimes that's a result of our documentation being unclear).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anybody seeing that error will probably need to address their situation specifically, either by opening a ticket with support, or starting a new thread here and posting exact details of what they're doing and seeing (posting code where applicable).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm going to go ahead and close this thread to future replies so as to encourage people to post about&amp;nbsp;these on a case by case basis.&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2017 17:31:35 GMT</pubDate>
    <dc:creator>Aaron</dc:creator>
    <dc:date>2017-05-03T17:31:35Z</dc:date>
    <item>
      <title>Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55531#M30400</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;what this error means (E_WC_14:Accept.js encryption failed) and how to solve it?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2016 07:08:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55531#M30400</guid>
      <dc:creator>zamiksica123</dc:creator>
      <dc:date>2016-08-21T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55535#M30405</link>
      <description>&lt;P&gt;Anybody, please?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 05:36:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55535#M30405</guid>
      <dc:creator>zamiksica123</dc:creator>
      <dc:date>2016-08-22T05:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55536#M30406</link>
      <description>&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20471" target="_self"&gt;zamiksica123&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please do this and let me know if this solves the error you are getting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function&amp;nbsp; responseHandler(response) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (response.messages.resultCode === 'Error') {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i = 0; i &amp;lt; response.messages.message.length; i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(response.messages.message[i].code + ':' + response.messages.message[i].text);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('acceptJS library error!');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; postBackToMyServer(response.opaqueData);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function postBackToMyServer(response) {&lt;/P&gt;&lt;P&gt;//send nonce to form&lt;/P&gt;&lt;P&gt;document.getElementById('nonce').value = response;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;alert(response);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//post form&lt;/P&gt;&lt;P&gt;//document.payform.submit();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//get response nonce - pass it to ASP, use ASP to charge the card by passing NONCE instead of card details at that point&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WITH THIS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function responseHandler(response) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (response.messages.resultCode === 'Error') {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i = 0; i &amp;lt; response.messages.message.length; i++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(response.messages.message[i].code + ':' + response.messages.message[i].text);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#blob").val(response.messages.message[i].code + ':' + response.messages.message[i].text);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; useOpaqueData(response.opaqueData)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function useOpaqueData(responseData) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(responseData.dataDescriptor);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(responseData.dataValue);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(responseData.dataValue);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 14:35:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55536#M30406</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2016-08-22T14:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55540#M30409</link>
      <description>&lt;P&gt;Hello Joy&lt;/P&gt;&lt;P&gt;I'm already using that code (using it from here:&amp;nbsp;&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;Today I don't see error message ("&lt;SPAN&gt;E_WC_14:Ac&lt;/SPAN&gt;&lt;SPAN&gt;cept.js encryption failed&lt;/SPAN&gt;") any more...&lt;/P&gt;&lt;P&gt;I have not changed anything so I'm not sure what was the problem.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 16:33:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55540#M30409</guid>
      <dc:creator>zamiksica123</dc:creator>
      <dc:date>2016-08-22T16:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55548#M30417</link>
      <description>&lt;P&gt;Does anybody know anything about that error?&lt;/P&gt;&lt;P&gt;Is there any other way to get official support?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 11:37:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55548#M30417</guid>
      <dc:creator>zamiksica123</dc:creator>
      <dc:date>2016-08-23T11:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55554#M30423</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20471"&gt;@zamiksica123﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mentioned that you no longer see the error. &amp;nbsp;Has it returned?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 17:03:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55554#M30423</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-08-23T17:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55556#M30425</link>
      <description>&lt;P&gt;No, I don't see it any more.&lt;/P&gt;&lt;P&gt;It was OK for day or two and then I saw the error for few hours.&lt;/P&gt;&lt;P&gt;After that, It works normal.&lt;/P&gt;&lt;P&gt;What should I do if I see the error again?&lt;/P&gt;&lt;P&gt;I mean, it bust be some reason for it?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 17:09:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55556#M30425</guid>
      <dc:creator>zamiksica123</dc:creator>
      <dc:date>2016-08-23T17:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55576#M30443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing the same issue - have you managed to find the cause ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 04:53:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55576#M30443</guid>
      <dc:creator>andronachev2016</dc:creator>
      <dc:date>2016-08-29T04:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55577#M30444</link>
      <description>&lt;P&gt;No I have not.&lt;/P&gt;&lt;P&gt;I'm wondering is there any official support who can explain why that error happens?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 06:16:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55577#M30444</guid>
      <dc:creator>zamiksica123</dc:creator>
      <dc:date>2016-08-29T06:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55579#M30446</link>
      <description>&lt;P&gt;Having the same issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also getting&lt;/P&gt;&lt;P&gt;XMLHttpRequest cannot load &lt;A href="https://jstest.authorize.net/v1/AcceptCore.js" target="_blank"&gt;https://jstest.authorize.net/v1/AcceptCore.js&lt;/A&gt;. No 'Access-Control-Allow-Origin' header is present on the requested resource.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 08:18:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55579#M30446</guid>
      <dc:creator>raducostea</dc:creator>
      <dc:date>2016-08-29T08:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55580#M30447</link>
      <description>&lt;P&gt;It says here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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;That thje&amp;nbsp;error &amp;nbsp;"&lt;SPAN&gt;XMLHttpRequest cannot load ... bla bla"&amp;nbsp;&lt;/SPAN&gt;is normal, and that it happens on localhost. Still not clue&amp;nbsp;about the E_WC_14 !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Come to think about it, you guys should return more technical error descriptions, it's not like we're scared users, not knowing what to do when a fancy word comes up - we are developing&amp;nbsp;integrations right ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Side note, I do not understand&amp;nbsp;why on earth is it so difficult to come with a stable .js library. I have been implementing tens of integrations with numerous gateways, and 90% is the JavaScript approach. However, none of them throw so much errors. In fact most of them work from the 1st time. Point being that Authorize.NET developers certainly are not the first ones&amp;nbsp;making this kind of wheel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 15:15:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55580#M30447</guid>
      <dc:creator>andronachev2016</dc:creator>
      <dc:date>2016-08-29T15:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55581#M30448</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;I've reported this&amp;nbsp;issue to the product team for analysis.&lt;BR /&gt;&lt;BR /&gt;I'd recommend subscribing to this topic so that you'll be alerted via email if there are updates. To subscribe, click &lt;STRONG&gt;Topic Options&lt;/STRONG&gt; at the top of this thread and then select &lt;STRONG&gt;Subscribe&lt;/STRONG&gt;. You'll then receive an email once anyone replies to your post.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 15:31:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55581#M30448</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-08-29T15:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55586#M30453</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The product team is asking how you are loading accept.js?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;• By including the script tag and as described in documentation &lt;/P&gt;
&lt;PRE&gt;&amp;lt;script type="text/javascript" src="https://js.authorize.net/v1/Accept.js" charset="utf-8"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;
&lt;P&gt;• Or Dynamically loading the script after page load?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 17:12:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55586#M30453</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-08-29T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55589#M30456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am loading it like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;script type="text/javascript" src="https://jstest.authorize.net/v1/Accept.js" charset="utf-8"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;But &lt;/STRONG&gt;it is a One Page Checkout, so the Payment form is loaded with ajax at one step. So in the loaded HTML, I have the above script tag, and I also have an inline javascript section, where I have the following code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;script type="text/javascript"&amp;gt;
    $(document).ready(function () {
        GetScriptCallback();
    });

    function sendPaymentDataToAnet() {
        var secureData = {}, authData = {}, cardData = {};

        cardData.cardNumber = document.getElementById('@ViewBag.FormInputIds[1]').value;
        cardData.month = document.getElementById('@ViewBag.FormInputIds[2]').value;
        cardData.year = document.getElementById('@ViewBag.FormInputIds[3]').value;
        cardData.fullName = document.getElementById('@ViewBag.FormInputIds[0]').value;
        cardData.cardCode = document.getElementById('@ViewBag.FormInputIds[4]').value;

        secureData.cardData = cardData;

        authData.clientKey = "@ViewBag.PublicClientKey";
        authData.apiLoginID = "@ViewBag.ApiLogin";
        secureData.authData = authData;

        console.log(secureData);
        console.log(Accept);

        Accept.dispatchData(secureData, 'createTokenCallback');
    }

    function createTokenCallback(response) {

        if (response.messages.resultCode === 'Error') {
            $(".payment-errors").text("");
            var errorMessages = [];
            for (var i = 0; i &amp;lt; response.messages.message.length; i++) {
                errorMessages.push(response.messages.message[i].code + ':' + response.messages.message[i].text);
            }

            $(".payment-errors").append(errorMessages.join("&amp;lt;br /&amp;gt;"));
            $(".payment-info-next-step-button").removeAttr("disabled");

        } else {
            var token = response.opaqueData.dataValue;

            $(".payment-errors").text("");
            var form = $(".payment-info-next-step-button").closest('form');

            $("#paymenttoken").val(token);
            //if (document.location.href.indexOf('onepagecheckout') &amp;gt; -1) {
            //    PaymentInfo.save();
            //}
            //else {
            //    form.submit();
            //}
        }
    }

    function GetScriptCallback() {
        $(".payment-info-next-step-button").removeAttr("onClick");
        $(".payment-info-next-step-button").unbind().click(function (event) {
            $('.submit-button').attr("disabled", "disabled");

            sendPaymentDataToAnet();

            return false;
        });
    };

&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;I also tried loading the Accept.js using jquery, like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  $(document).ready(function () {
        $.getScript("https://jstest.authorize.net/v1/Accept.js", function (data, textStatus, jqxhr) {
            GetScriptCallback();
        });
    });&lt;/PRE&gt;&lt;P&gt;But then it throws the following error:&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;E_WC_01&lt;/TD&gt;&lt;TD&gt;Please include Accept.js library from cdn.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 18:47:59 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55589#M30456</guid>
      <dc:creator>andronachev2016</dc:creator>
      <dc:date>2016-08-29T18:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55591#M30458</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20518"&gt;@andronachev2016﻿&lt;/a&gt;&amp;nbsp; Try adding Accept.js at the top of the main area of your one page checkout not dynamically within the page using AJAX.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or another option might be to use the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;dispatchEvent(new Event('load'));&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 19:27:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55591#M30458</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-08-29T19:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55592#M30459</link>
      <description>&lt;P&gt;I would try, but I cannot do that - because this is a plugin, it needs to render it's own resources. The HEADER section is part of the CMS that it plugs into, I don't have access to that one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 19:27:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55592#M30459</guid>
      <dc:creator>andronachev2016</dc:creator>
      <dc:date>2016-08-29T19:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55593#M30460</link>
      <description>&lt;P&gt;You may have missed my update to try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;dispatchEvent(new Event('load'));
&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Aug 2016 19:34:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55593#M30460</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-08-29T19:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55594#M30461</link>
      <description>&lt;P&gt;Yes, it works with the dispatchEvent approach. However:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does not work if I include the script like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;script type="text/javascript" src="https://jstest.authorize.net/v1/Accept.js" charset="utf-8"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;Because then you need to listen to the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$(window).load()&lt;/PRE&gt;&lt;P&gt;Event (this includes the loading time of the external resources - document ready only listens for the DOM). But this event is not firing, because of the &lt;EM&gt;&lt;STRONG&gt;XMLHttpRequest cannot load &lt;A href="https://jstest.authorize.net/v1/AcceptCore.js" target="_blank"&gt;https://jstest.authorize.net/v1/AcceptCore.js&lt;/A&gt;. No 'Access-Control-Allow-Origin' ...&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;error. So what I did was to load the script dynamically, like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$(document).ready(function () {
        $.getScript(jsUrl, function (data, textStatus, jqxhr) {&lt;BR /&gt;            &lt;STRONG&gt;dispatchEvent(new Event('load'));&lt;/STRONG&gt;
            GetScriptCallback();
        });
    });&lt;/PRE&gt;&lt;P&gt;Which initially was throwing the CDN error, but if I add your event triggering, then it does work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thans a lot !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 19:49:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55594#M30461</guid>
      <dc:creator>andronachev2016</dc:creator>
      <dc:date>2016-08-29T19:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55595#M30462</link>
      <description>&lt;P&gt;Actually the CDN is still an issue. I tested my dynamic loading of the script, whilst still having the &amp;lt;script&amp;gt; tag as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the solution is to use the &amp;lt;Script&amp;gt; tag.. but we can't use hte window.load, beacuse of the CORS error. so What I did was to use document ready, and add a sleep() function of 1 second, then I fire the load event. Therefore my javascript code runs after the &amp;lt;Script&amp;gt; tag has loaded.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 19:55:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55595#M30462</guid>
      <dc:creator>andronachev2016</dc:creator>
      <dc:date>2016-08-29T19:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Accept.js error E_WC_14:Accept.js encryption failed.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55596#M30463</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20518"&gt;@andronachev2016﻿&lt;/a&gt;&amp;nbsp;for the detailed feedback. &amp;nbsp;I'll pass this information on to our product and documentation teams for future updates should developers have similar use cases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2016 20:58:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-js-error-E-WC-14-Accept-js-encryption-failed/m-p/55596#M30463</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-08-29T20:58:11Z</dc:date>
    </item>
  </channel>
</rss>

