Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
I have just had this email through from Square:
Hi there,
We wanted to inform you that the SqPaymentForm JavaScript library retirement has been extended to 2022-10-31 and its functionality will be shut off after this date. Additionally new applications will not be allowed to use SqPaymentForm from 2022-07-21.
SqPaymentForm has been deprecated since 2021-05-13 and replaced by Web Payments SDK. We encourage you to migrate as soon as possible by following this step-by-step migration guide.
Check out the Web Payments SDK documentation and technical reference to get started today.
If you have any questions, drop us a note in our Developer Forums.
Thank you,
The Square Developer Team
--------------------------------------------------
This means that the old Square Module should work until 31st October 2022. So it gives the developers of Square WebPay and OPC time to correct any bugs between the functionality of the two modules from either side of the fence. Hopefully this means there can be a little less stress around the timescales of getting bugs resolved, and we will then get a NEW Square WebPay Module that works happily across the standard Zen Cart Checkout AND One Page Checkout.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
I will add, I am still having token problems with the latest Square WebPay and OPC despite trying the various downloads from GitHub and from Modules. I have tried all the various fixes which are supposed to work, but unfortunately don't or they don't appear to. If there is fix for the radio button issue, I do not have it and have not been able to find it. This issue arises when a customer enters their Credit Card Details before selecting the Credit Card Radio Button at the checkout. The payment is not taken and it results in a 'TOKEN' error. However, it only happens when using One Page Checkout, and NOT the standard Zen Cart Checkout. This is why I have now resorted back to the OLD Square Module, until BOTH modules have this fixed.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
This is probably of no help to you but further to the debugging I carried out on Github I have double-checked the fix that was provided with the customer interaction you describe above.
ZC v1.5.7d
OPC v2.4.1
PayPal EC
Square WebPay v1.0.1
Using the revised version of jquery.checkout_one.js as outlined in this Github issue (this revised file is now in OPC v2.4.2), I continue to not get the 'TOKEN' error.
I have yet to upgrade my live site to OPC v2.4.2 (other than the revised .js file), once I do I will obviously check again and report if the issue raises it's ugly head again.
Last edited by simon1066; 22 Jul 2022 at 08:19 AM.
Simon
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk