Quote Originally Posted by carlwhat View Post
...

individuals who i privately contacted about testing, please change this file:

https://github.com/lat9/one_page_che...heckout_one.js

and it's minimized version:

https://github.com/lat9/one_page_che...out_one.min.js

to the released version; once released.

....
Quote Originally Posted by dbltoe View Post
1.5.7d PHP 7.4.3

Site is running the latest Github versions of WebPay and OPC.

Single files previously changed in OPC were overwritten as instructed.

This has shown up three times during a time span when 47 successful WebPay captures were made.
Code:
[18-Jul-2022 10:22:43 America/New_York] PHP Notice: missing token result: check if card button is disabled on dev console using: document.getElementById('card-button'); else look for javascript error in console. in /includes/modules/payment/square_webPay.php on line 239
Still cannot duplicate and all transactions I try show no console errors.
please reread my instructions above.

no change is necessary to the latest released version of OPC.

this file should run without problem as testing has been done:

https://github.com/lat9/one_page_che...heckout_one.js

its minimized version should work as well (i am not a fan of minimized versions, especially when code is sporadically spewing errors):

https://github.com/lat9/one_page_che...out_one.min.js

i have seen you reporting issues with OPC. again, this problem is an OPC problem, not a square_webPay (SWP) problem.

OPC (with comments) has over 1000 lines of javascript. SWP (with comments) has under 200 lines of javascript.

no one using the standard checkout reports problems with SWP. with OPC, there are a few...

but again, i am reasonably confident that I have found the root of this problem, and that it has been addressed in the OPC code.

i am not 100% confident that you are running the latest version of said code. and especially given that you have modified it which should no longer be needed.