Re: Square Payment Module for Zen Cart [Support Thread]
Quote:
Originally Posted by
John Large
As far as I'm aware, this only updates the original module to accept SCA (secure card authentication). The references to the soon to be retired SqPaymentForm javascript libraries are still present.
This is in reference to the recent email from Square. See below.
We wanted to remind you that the SqPaymentForm JavaScript library will be retired on 21/07/2022 and its functionality will be shut off. SqPaymentForm has been replaced by the Web Payments SDK and we encourage you to migrate as soon as possible by following this step-by-step migration guide.
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:
Quote:
Square Payments Module 1.5
[designed for API: 3.20200528.1]
[using SDK: Square-Connect-PHP/3.20200528.1]
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?
Re: Square Payment Module for Zen Cart [Support Thread]
Quote:
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; ?>',
Re: Square Payment Module for Zen Cart [Support Thread]
I've had a few people ask for the rocketsites mod on here. The link to his zip file seems to be missing, so I've zipped up the files off my live site. Make a backup of each of the files contained within the zip from your current site and then replace the standard square files with these modified
https://www.johnlarge.co.uk/SquareSCA-rocketsites.zip
Re: Square Payment Module for Zen Cart [Support Thread]
> ... removal of SqPaymentForm javascript libraries will also stop the square plugin for working ...
We're working on it.
Re: Square Payment Module for Zen Cart [Support Thread]
Quote:
Originally Posted by
swguy
> ... removal of SqPaymentForm javascript libraries will also stop the square plugin for working ...
We're working on it.
Thats great to hear, thanks for the update. I'm sure that will put many people at ease as July approaches :)
Re: Square Payment Module for Zen Cart [Support Thread]
Quote:
Originally Posted by
swguy
> ... removal of SqPaymentForm javascript libraries will also stop the square plugin for working ...
We're working on it.
"we..."??
:p
Re: Square Payment Module for Zen Cart [Support Thread]
Quote:
Originally Posted by
John Large
I've had a few people ask for the rocketsites mod on here. The link to his zip file seems to be missing, so I've zipped up the files off my live site. Make a backup of each of the files contained within the zip from your current site and then replace the standard square files with these modified
https://www.johnlarge.co.uk/SquareSCA-rocketsites.zip
Hi
Thanks for sharing. I have tried both the rocket sites and inner-light fixes but both seem to just freeze when clicking the continue button at step 2 of 4. Could this be a template or PHP problem?
I'm on version 1.5.7 running on PHP 7.0 with the Winchester Responsive template. It's Square Payment module 1.5.
Any help / direction appreciated.
Thanks
Matt
Re: Square Payment Module for Zen Cart [Support Thread]
Hi Matt,
Check post #577 https://www.zen-cart.com/showthread....69#post1381369
I spent a day going round in circles and then I added &sandbox=1 as suggested and this displayed new fields I'd never seen before. With mine the Live Merchant Token was incorrect. I obtained the correct one from my Square Developer Dashboard and after saving and editing again so the location was refreshed everything started working for me.
Brent
Re: Square Payment Module for Zen Cart [Support Thread]
Quote:
Originally Posted by
Brent
Hi Matt,
Check post #577
https://www.zen-cart.com/showthread....69#post1381369
I spent a day going round in circles and then I added &sandbox=1 as suggested and this displayed new fields I'd never seen before. With mine the Live Merchant Token was incorrect. I obtained the correct one from my Square Developer Dashboard and after saving and editing again so the location was refreshed everything started working for me.
Brent
Thanks Brent
I took the plunge and did a full upgrade of the site. I then included the inner-light fix and so far so good.
3 Attachment(s)
Re: Square Payment Module for Zen Cart [Support Thread]
I'm not sure if the issue I'm experiencing with a clients cart is Square App, ZCA Bootstrap, or OPC related...
The issue is that the fields for the credit card information are not present after configuring the Square app
ZC 1.5.7c , OPC 2.3.9 , ZCA Boot 4
Attachment 19930
Attachment 19931
Attachment 19932