cancel
Showing results for 
Search instead for 
Did you mean: 

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

Hello

what this error means (E_WC_14:Accept.js encryption failed) and how to solve it?

Thank you

zamiksica123
Contributor
42 REPLIES 42

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>

Still getting "E_WC_14:Accept.js encryption failed"

 

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

Hello,

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

Thank you.

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

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.

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

Hello

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

 

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? 

 

 

 

 

fahadk
Member

Anyone still facing this problem? 

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!