Technology Blog

Accept.js error E_WC_14:Accept.js encryption failed

by on Jul.06, 2017, under Uncategorized

I much like many people over the forums was receiving this error. seems to be clueless on what this error is or what it even does. Their official documentation even skips over this error message, not even mentioning it.

The problem is that the Accept.js library will catch ANY js error and throw its own handler which will give out this code. What does that mean? It means that even thought is telling you there’s an error with thier response, its most likely a JS error on your page.

For example, in my case I had something like this:

input type="input" id="firstName"

The problem above is that #first_name is undefined because I am using camel case when I define it. So in this case, I had a JS error on my page. Unfortunately’s Accept.js module catches ANY js error and throws this silly error message that makes you scratch your head and think anything from SSL, to the tokens are wrong.

Hopefully this post saves someone time. I know this problem ate about 2-3 hours of my time. Looking at the forums, it looks like many people have wasted way more time.

Be Sociable, Share!

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...