Hello
what this error means (E_WC_14:Accept.js encryption failed) and how to solve it?
Thank you
08-21-2016 12:06 AM - edited 08-21-2016 12:08 AM
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>
08-29-2016 04:39 PM
Still getting "E_WC_14:Accept.js encryption failed"
It worked for couple of hours and now its happening again.
09-01-2016 02:35 AM
Hello,
Is there official support or this forum is only place to get support?
Thank you.
09-04-2016 01:41 AM
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
09-04-2016 07:01 AM
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.
09-05-2016 01:26 PM
@zamiksica123 Can you provide the transaction ID for this transaction?
09-05-2016 01:56 PM
Hello
OK it was my fault, I did not checked it correctly.
09-06-2016 12:37 AM
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?
01-19-2017 06:54 AM
Anyone still facing this problem?
01-19-2017 11:21 AM
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!
01-27-2017 04:11 AM