Authorize.Net CIM: Error on frontend: Accept.js encryption failed

Modified on Thu, 27 Jun at 12:57 PM

When using the Accept.js payment form type some users may encounter this error. This often comes up after one of two situations occur:


  • Just installed the payment extension.
  • Extension has been installed for a while and the error suddenly started occurring.


Fresh Install

If you just installed the extensions and you see this error on the "My Payment Options" or checkout page, one of several issues could be triggering this error. This is often unique per-store, so your development team will need to investigate all possible causes.


  • Disable any bundling/minifying applied to JavaScript.
  • Resolve any console errors, as some warnings can impact unrelated JavaScript execution.
  • Review any customizations applied to your theme, as issues can stem from CSS or template changes (test with the default Luma theme).
  • Review any third party extensions that load on the affected pages.


In many cases, the error will cease after disabling bundling/minifying or swapping to the Luma theme. This helps narrow down possible causes.


Sudden Error

If your store was operating fine and this error suddenly started occurring, there are two common causes that your team can investigate.


  • If you recently applied any updates to extensions on your store or applied any configuration changes to the site or server, review them for possible impact.
  • Review the files on your server for any manipulation or modifications.


These are not the only two causes, but are the most common that have been reported.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article