Zen Cart Logo
Forums / Addon Payment Modules / Square Payment Module for Zen Cart [Support Thread]

Square Payment Module for Zen Cart [Support Thread]

Sticky

Views: 366,761

Results 701 to 720 of 835
14 Mar 2022, 1:18 PM
#701
john_large avatar

john_large

New Zenner

Join Date:
Oct 2015
Location:
Cornwall, UK
Posts:
41
Plugin Contributions:
0

Square Payment Module for Zen Cart [Support Thread]

Nick1973:

I was sent this link by brittainmark, haven't installed it yet but I think it updates the SDK

I have updated the square sca fix it is available at https://inner-light.co.uk/SquareSCA.zip

I hope the module is fully updated as I have numerous websites running SQUARE PAYMENTS and the system is easy to use.

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.

14 Mar 2022, 1:20 PM
#702
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Square Payment Module for Zen Cart [Support Thread]

John Large:

As far as I'm aware, this only updates the original module to accepst SCA (secure card authentication). The references to the depreciared

Ok good job I didn't install it then. I think the Square Module needs to be updated as a matter of urgency then.

14 Mar 2022, 1:49 PM
#703
john_large avatar

john_large

New Zenner

Join Date:
Oct 2015
Location:
Cornwall, UK
Posts:
41
Plugin Contributions:
0

Re: Square Payment Module for Zen Cart [Support Thread]

Nick1973:

Ok good job I didn't install it then. I think the Square Module needs to be updated as a matter of urgency then.

You can install it (or the rocketsites version) if you want to take payments in the mean time. You may find many payments start to fail as without the mod, you can't display the SCA modal as part of your payflow to accept authentication via text message/banking app etc.

I still use the original mod version supplied by rocketsites as I installed that when he released it. Haven't had issues since. But all square payments will stop functioning in july unless the plugin is ported from SqPaymentForm to the web payments SDK

14 Mar 2022, 2:03 PM
#704
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Square Payment Module for Zen Cart [Support Thread]

John Large:

You can install it (or the rocketsites version) if you want to take payments in the mean time. You may find many payments start to fail as without the mod, you can't display the SCA modal as part of your payflow to accept authentication via text message/banking app etc.

I still use the original mod version supplied by rocketsites as I installed that when he released it. Haven't had issues since. But all square payments will stop functioning in july unless the plugin is ported from SqPaymentForm to the web payments SDK

I've still got the latest version installed and it is functioning ok for me at the moment. Let's hope someone gets onto this and updates it.

14 Mar 2022, 3:39 PM
#705
vdecals avatar

vdecals

Zen Follower

Join Date:
Jun 2009
Location:
Sparta, TN
Posts:
166
Plugin Contributions:
0

Re: Square Payment Module for Zen Cart [Support Thread]

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:

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?

14 Mar 2022, 3:52 PM
#706
john_large avatar

john_large

New Zenner

Join Date:
Oct 2015
Location:
Cornwall, UK
Posts:
41
Plugin Contributions:
0

Re: Square Payment Module for Zen Cart [Support Thread]

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_payments_for_zencart/search?q=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

<script type="text/javascript" title="square">
    var cardNonce;
    var paymentForm = new SqPaymentForm({
        applicationId: '<?php echo MODULE_PAYMENT_SQUARE_APPLICATION_ID; ?>',
15 Mar 2022, 10:25 PM
#707
john_large avatar

john_large

New Zenner

Join Date:
Oct 2015
Location:
Cornwall, UK
Posts:
41
Plugin Contributions:
0

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

16 Mar 2022, 3:55 PM
#708
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

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.

16 Mar 2022, 7:46 PM
#709
john_large avatar

john_large

New Zenner

Join Date:
Oct 2015
Location:
Cornwall, UK
Posts:
41
Plugin Contributions:
0

Re: Square Payment Module for Zen Cart [Support Thread]

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 :)

16 Mar 2022, 8:43 PM
#710
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Square Payment Module for Zen Cart [Support Thread]

swguy:

... removal of SqPaymentForm javascript libraries will also stop the square plugin for working ...

We're working on it.

"we..."??

:p

18 Mar 2022, 8:37 PM
#711
ropelocker avatar

ropelocker

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Square Payment Module for Zen Cart [Support Thread]

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

22 Mar 2022, 10:13 PM
#712
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: Square Payment Module for Zen Cart [Support Thread]

Hi Matt,

Check post #577 https://www.zen-cart.com/showthread.php?222449-Square-Payment-Module-for-Zen-Cart-Support-Thread&p=1381369#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

23 Mar 2022, 10:30 AM
#713
ropelocker avatar

ropelocker

New Zenner

Join Date:
Nov 2007
Posts:
9
Plugin Contributions:
0

Re: Square Payment Module for Zen Cart [Support Thread]

Brent:

Hi Matt,

Check post #577 https://www.zen-cart.com/showthread.php?222449-Square-Payment-Module-for-Zen-Cart-Support-Thread&p=1381369#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.

23 Mar 2022, 2:14 PM
#714
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

23 Mar 2022, 3:11 PM
#715
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Square Payment Module for Zen Cart [Support Thread]

Carbonless:

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

looks to be a square problem.

i would ensure that the square javascript is getting loaded properly.

look at the dev console in your browser.

23 Mar 2022, 5:34 PM
#716
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Square Payment Module for Zen Cart [Support Thread]

Most of the time, this is because the Square jscript file has not been copied into the OPC folder.

Instructions to do so are found in both mods.

24 Mar 2022, 12:11 AM
#717
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Square Payment Module for Zen Cart [Support Thread]

Thank you... that was exactly it!

24 Mar 2022, 12:24 AM
#718
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Square Payment Module for Zen Cart [Support Thread]

swguy:

... removal of SqPaymentForm javascript libraries will also stop the square plugin for working ...

We're working on it.

Good to hear you or whoever 'we' are.......are working on this.