Quote Originally Posted by DrByte View Post
Quote Originally Posted by BRDS View Post
I am unable to make this module work and am confronted with the SQ-NONCE-FAILURE error at every turn.

I am running zencart 1.5.6c on php 7.3

I have check and tried all the previous advise in this thread and the Square set up common problems, but still no luck. All files are in the right place, the module is installed and activated with a valid token and date. I also have no js errors... I have even removed my custom js code and just tried with plain jquery (deferred and not).

One thing I have noticed is that in the console the following error is logged...

0: Unable to get property 'SavePersonalAndPaymentData' of undefined or null reference - Autoformfill_ContentScript.js (1,20660)

I am getting a nonce code, I amended the code to log this in the console to ensure one is generated... and even unhid the input field that this is placed in to see it is actually placed in the input field before the submit confinues.... but it just refuses to work.

What else can I try, I have been at this all day, and going crazy
I'm pretty sure your javascript error is interfering with the execution of the rest of the script. Whatever conflicts are introduced by other javascript on your site will need to be addressed before it will work properly for you.
The error that is logged is created by Square, there are no other js errors. I have even removed all js on the site and just left jquery, but still the same issue. I really do not think the js is the issue with this one.