i do not believe this to be correct...
the only file that needed modification was jquery.checkout_one.js and its minimized version. that file was last modified on 4/22/2022, as seen here:
https://tinyurl.com/y492x3yb
the 2.4.0 release added a new configuration value for the submit button function. leaving that config value as its default value would ensure proper integration with square_webPay.
being that i am the author of square_webPay and was involved with lat9's change to OPC so that they 2 plugins work well together, i stand by my assertion that 2.4.0 should work properly with square_webPay with no further modification.
best.
Bookmarks