
Originally Posted by
VDecalS
I think they sent this as a blanket message. When I go to my Payment Modules/Square it reads as though I AM using SDK:
My square set up is fairly new as of November 2021. Maybe I was lucky and they'd already switched from javascript?
I could not find anyway to confirm this whilst logged into Square.
Does anyone know if looking at payments modules from ADMIN is an accurate check?
It does use SDK for part of the plugin, but the removal of SqPaymentForm javascript libraries will also stop the square plugin for working as it requires the Web payments SDK. A quick search in the files for the square plugin show that it's still using SqPaymentForm to generate the payment form on checkout payment (which will be retired).
If you search on github you will see plenty of references to SqPaymentForm
https://github.com/zencart/square_pa...=SqPaymentForm
For example in includes/modules/pages/checkout_payment/jscript_square.php we have the following code to initialise a payment which will need updating to web payments SDK
Code:
<script type="text/javascript" title="square">
var cardNonce;
var paymentForm = new SqPaymentForm({
applicationId: '<?php echo MODULE_PAYMENT_SQUARE_APPLICATION_ID; ?>',
Bookmarks