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,743

Results 741 to 760 of 835
9 Nov 2022, 5:57 PM
#741
earmsby avatar

earmsby

Zen Follower

Join Date:
Oct 2006
Location:
Worcester, MA
Posts:
451
Plugin Contributions:
0

Square Payment Module for Zen Cart [Support Thread]

Further questions:

  1. How does one upgrade to WebPayment SDK? I assume this is done in Square itself. Wondering if I should set up a new Application in Square and use that for my testing in my upgraded to 1.5.7d store.

  2. Is the square module that's part of 1.5.7d compatible with WebPayment SDK or do I need to install some different ZC plugin for this? I didn't see anything in the plug-in repository so I'm guessing not.

6 Feb 2023, 8:47 PM
#743
dk_scully avatar

dk_scully

Zen Follower

Join Date:
Jan 2011
Posts:
339
Plugin Contributions:
0

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

I just set up a new 1.5.8 ZenCart for an author. After battling with the MySQL Database Wizard for nearly half an hour, I finally got everything set up, and now I can access his new shopping cart.

He wants to use Square exclusively, so I went straight to Payment Modules first, disabled the default modules, and tried to enable Square. Following instructions, I logged into Square and found the Developer section (pretty much by luck since it's not part of their menu structure). I created a new application for his website, and configured the Credentials and OAuth pages. I copied the Application ID and the Application Secret into the Zencart module fields. It tells me the OAuth Redirect URL should be https://sitename.com/index.php?main_page=index, which is quite different from other urls mentioned in this thread, but I dutifully entered in on the Square OAuth page.

I can log into Square from the ZenCart module blue text link. But when I click the green link, it takes me to the new ZenCart's index page instead of into Square. Is that why I'm still getting an (Access Token needed) error message?

I appreciate any help you can give me on this!!

6 Feb 2023, 9:01 PM
#744
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]

maker sure you downloaded Square Web Payments.

8 Feb 2023, 10:54 PM
#745
beav avatar

beav

New Zenner

Join Date:
Mar 2018
Location:
Idaho,USA
Posts:
23
Plugin Contributions:
0

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

Zencart Version 1.5.7d. not an upgrade.
installed using zc_install.
PHP version 7.4.23.
Fluorspar template version 1.8.
https://www.legendcycle.net

I setup Square_webpay for the first time. I've been using PayPal but thought I'd try Square. the module setup as the instruction said it should but I have no credit card button on my checkout page. I'm at aloss as to what to do.

8 Feb 2023, 11:33 PM
#746
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]

Your site is showing it is not secure. Do you have an SSL installed?

9 Feb 2023, 12:09 AM
#747
beav avatar

beav

New Zenner

Join Date:
Mar 2018
Location:
Idaho,USA
Posts:
23
Plugin Contributions:
0

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

Yes I have SSL installed and both Configure.PHP files read HTTPS. Enable SSL is true and enable SSL catalog is true. What else can I do to make it secure?

9 Feb 2023, 1:14 AM
#748
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]

You might want to visit with your host and make sure your cPanel says Force HTTPS Redirect to On. Otherwise, you have to add https:// to the link you gave.

Or, if they don't have a clue where the setting is, add some code to your .htaccess file. Depending on your certificate you could have two settings different settings. One if your certificate is for www and a different one if not.

free generator at https://websiteadvantage.com.au/HtAccess-301-Redirect-Generator#heading-ToolResult

The Domain Redirects is where you force it to match your certificate. Then, set Protocol Redirects to Force to https and click on Generate Rules.

9 Feb 2023, 1:22 AM
#749
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]

Once I force the site to https, the CC box appears.

9 Feb 2023, 4:59 PM
#750
beav avatar

beav

New Zenner

Join Date:
Mar 2018
Location:
Idaho,USA
Posts:
23
Plugin Contributions:
0

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

The security problem is fixed but I still don't have a credit card button for the square module. I only have the PayPal button.

9 Feb 2023, 5:19 PM
#751
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]

You might want to clear your cache and look again.
[Attachment no longer available]

9 Feb 2023, 5:36 PM
#752
beav avatar

beav

New Zenner

Join Date:
Mar 2018
Location:
Idaho,USA
Posts:
23
Plugin Contributions:
0

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

Got it Thanks!
Is there any way for the customer to use the square credit card option without creating an account?

9 Feb 2023, 7:32 PM
#754
beav avatar

beav

New Zenner

Join Date:
Mar 2018
Location:
Idaho,USA
Posts:
23
Plugin Contributions:
0

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

Thanks for all the great help!!

14 Feb 2023, 5:11 PM
#755
spyderrobotics avatar

spyderrobotics

New Zenner

Join Date:
Oct 2007
Posts:
73
Plugin Contributions:
0

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

I am trying to setup square on 1.5.7.c. I installed it through the cart (did not manually upload). I entered my credentials and everything seemed to have taken. I went to try it out and under my payment method I do have credit card as an option and the necessary fields but the fields cannot be clicked on. I double checked and did find the jscript_square.php in the right place. I am using chrome and pulled up the console and it has six statements that say

"Failed to load resource: the server responded with a status of 410 ()"

I also have statements that say:

Refused to display https://pci-connect.squareup.com/ in a frame because it set X-frame-options to sameorigin

My site is set to https for both servers in the configure.php files and ssl is enabled.

Not sure where to go from here and any help would be appreciated!

14 Feb 2023, 5:28 PM
#757
spyderrobotics avatar

spyderrobotics

New Zenner

Join Date:
Oct 2007
Posts:
73
Plugin Contributions:
0

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

Thanks for the response. I will look into the other module.

14 Feb 2023, 5:33 PM
#758
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]

@carlwhat has done a good job on it so you should have no problem. There is a free and premium version.

14 Feb 2023, 6:03 PM
#759
spyderrobotics avatar

spyderrobotics

New Zenner

Join Date:
Oct 2007
Posts:
73
Plugin Contributions:
0

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

Brent:

@carlwhat has done a good job on it so you should have no problem. There is a free and premium version.

I installed it and it work right away after I updated my return URL :^)

I did not seen any info about a premium version. Can you point me where it shows the two and the differences?

14 Feb 2023, 6:11 PM
#760
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]

Against the rules but I will send you a PM.

There difference is small but I purchased as a way to support a developer who offers a lot of free time supporting others on this forum.