Reply
Member
Posts: 1
Registered: ‎08-29-2016

Re: Accept.js error E_WC_14:Accept.js encryption failed.

I have included the library in my .cshtml page as bellow...

<script type="text/javascript" src="https://jstest.authorize.net/v1/Accept.js" charset="utf-8"></script>

 

I have created separate javascript file to call Accept.js dispatcher. I have included that file also in my .cshtml file as bellow...

 

<script type="text/javascript" src="https://jstest.authorize.net/v1/Accept.js" charset="utf-8"></script>
<script src="scripts/acceptJSCaller.js"></script>

Member
Posts: 2
Registered: ‎08-29-2016

Re: Accept.js error E_WC_14:Accept.js encryption failed.

Still getting "E_WC_14:Accept.js encryption failed"

 

It worked for couple of hours and now its happening again.

Contributor
Posts: 27
Registered: ‎08-19-2016

Re: Accept.js error E_WC_14:Accept.js encryption failed.

Hello,

Is there official support or this forum is only place to get support?

Thank you.

Posts: 2,281
Topics: 51
Kudos: 153
Blog Posts: 64
Registered: ‎12-05-2011

Re: Accept.js error E_WC_14:Accept.js encryption failed.

Hello @zamiksica123

 

You can ask your questions here or use our support form.  

 

Checking back on your posts, you indicated you're experiencing the error and have updated to the code we suggested.  But you haven't mention if you 've followed any of the other suggestions in this thread.

 

Are you attempting to load Accept.js dynamically?

 

Richard

--------

Webhooks are now available for Authorize.Net

Using SOAP, see our deprecation notice.
Check out Accept.js, our Javascript replacement for DPM.
Pro Tip: Never use test mode in the sandbox, instead use the Testing Guide.
Contributor
Posts: 27
Registered: ‎08-19-2016

Re: Accept.js error E_WC_14:Accept.js encryption failed.

Thank you for contact.

Regarding errors, they are not shown any more (for last few days). Will see what happen.

Today I used production API links (not test):

<script type="text/javascript" src="https://js.authorize.net/v1/Accept.js" charset="utf-8"></script>

and

https://api.authorize.net/xml/v1/request.api

together with original(not demo) LoginId, TransactionKey and ClientKey

and fake credit card (5555555555554444) and order was created.

I received 

responseObj.transactionResponse.responseCode=='1'

How is that possible?

Please help.

Posts: 2,281
Topics: 51
Kudos: 153
Blog Posts: 64
Registered: ‎12-05-2011

Re: Accept.js error E_WC_14:Accept.js encryption failed.

@zamiksica123 Can you provide the transaction ID for this transaction?

--------

Webhooks are now available for Authorize.Net

Using SOAP, see our deprecation notice.
Check out Accept.js, our Javascript replacement for DPM.
Pro Tip: Never use test mode in the sandbox, instead use the Testing Guide.
Contributor
Posts: 27
Registered: ‎08-19-2016

Re: Accept.js error E_WC_14:Accept.js encryption failed.

Hello

OK it was my fault, I did not checked it correctly.

 

Member
Posts: 2
Registered: ‎01-19-2017

Re: Accept.js error E_WC_14:Accept.js encryption failed.

I setup a sandbox account and am testing a credit cart payment via accept.js, I am getting "E_WC_14:Accept.js encryption failed." after I submit the createTransactionRequest. 

 

End goal: Accept payments from a credit card and then add recurring payments capability.

 

 

My sandbox code: 

https://github.com/ampman23/authtest/blob/master/ANetTest.html

 

Thoughts? 

 

 

 

 

Member
Posts: 2
Registered: ‎01-19-2017

Re: Accept.js error E_WC_14:Accept.js encryption failed.

Anyone still facing this problem? 

Member
Posts: 1
Registered: ‎01-27-2017

Re: Accept.js error E_WC_14:Accept.js encryption failed.

Hi, thanks for your post, taking your instructions, my code works yesterday, but today not work anymore:

 

$(document).ready(function () {
$.getScript(jsUrl, function (data, textStatus, jqxhr) {
var delayMillis = 1000; //1 second
setTimeout(function () {
dispatchEvent(new Event('load'));
}, delayMillis);
GetScriptCallback();
});

});

 

Thanks!