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

Results 521 to 540 of 835
15 Dec 2020, 1:16 AM
#521
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
312
Plugin Contributions:
2

Square Payment Module for Zen Cart [Support Thread]

Thanks Dr Byte I will give the classic responsive a test see if it process the payment then if it does then perhaps that's the source of all my headaches.
To my untrained eye i'm struggling but slowly learning, last week i had no idea how to find that kind of error information.
The template is available at https://www.zen-cart.com/downloads.php?do=file&id=2162 and there's also a support thread i recently posted in on these forums for the module listed on the plugin download page, if it turns out to be a template issue ill ensure i share the fix there. My only other theory is that the developer i hired to remove errors replaced the jquery file or the file that defines it with a standard template file to inact a patch fix that had adverse effects to my site making my situation a unique situation.
i'll try the responsive classic and report my findings

15 Dec 2020, 1:21 AM
#522
flappingfish avatar

flappingfish

Zen Follower

Join Date:
Nov 2020
Posts:
312
Plugin Contributions:
2

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

Attachment 19324

:/ that method of diagnoses isn't an option for me it seems. I'm not having any luck at all. think my issue is site specific sadly.

5 Jan 2021, 11:28 AM
#523
chrislane avatar

chrislane

New Zenner

Join Date:
Feb 2019
Posts:
18
Plugin Contributions:
0

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

Is this a problem with my template or the payment module?

Any idea on a fix? The AuthNet module displays perfectly. Running an early version of ZCA Bootstrap template.

Attachment 19365

Thank you

5 Jan 2021, 3:46 PM
#524
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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

ChrisLane:

Is this a problem with my template or the payment module?

Any idea on a fix? The AuthNet module displays perfectly. Running an early version of ZCA Bootstrap template.
Probably just a CSS/padding issue related to the <label> tags.

The Square module's input fields are not actually fields on your own site. They're iframes on Square's site. Thus the default padding for label/input combinations may need some small adjustments to accommodate.

7 Jan 2021, 11:10 PM
#525
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

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

Is it normal not to see your transactions in the Square Dashboard? I'm running zencart 1.55f on a small local store that uses Square Register successfully and now, thanks to this mod, it is online to sign up students for classes. Their cards are being charged but not verified for correct address. I see a few orders in the zen admin and get emails from my zencart notifying me about them, but no money shows up as it does when using Register and no transactions show up in my Square Dashboard. Am i missing a step?

8 Jan 2021, 12:12 AM
#526
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]

What is your transaction type set to in the Square Payment Module? If set to authorize, you have to manually collect the funds through the ZC admin.

8 Jan 2021, 6:56 AM
#527
sjbglx1 avatar

sjbglx1

New Zenner

Join Date:
May 2015
Location:
AU
Posts:
52
Plugin Contributions:
0

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

Let me add one tip , If you tried everything below and you sure everything is correctly setted up but still can not get the green botton away or make the square up alive, please check the plugin of your browser, especially those adblockers, for example, If your web browser installed a ADbocker which blocks pop up windows, you need to disable it temporarily while you install the square, otherwise, you will never get square to work.

This is my 2 cents.

DrByte:

When the module in your store Admin says "(Access Token needed)", it's because the OAuth token has NOT been successfully obtained from Square.

For the OAuth token to be obtained, the following (as documented in the installation instructions) must be in place:

a) square_handler.php must be on your server. It should be in the same directory as ipn_main_handler.php already exists.
b) the correct URL pointing to square_handler.php on your site must be entered into your Square's account OAuth Redirect URL setting.
c) click on the button to initiate the process of requesting a token. This will open a browser window to Square, and if you're not already logged in there, will ask for credentials.
d) After Square verifies the supplied credentials, it will show an almost-blank page with a small redirection message, before the window closes automatically.
e) Within 0-5 seconds after that almost-blank window closes, Square should have automatically sent a message to the OAuth Redirect URL (your square_handler.php file), which will read and validate Square's response, and update the token in your store. This happens automatically, and 99% of the time happens in less than 1 second.
f) Now refreshing your Zen Cart Admin screen will show that the "Get Token" button has disappeared, as well as the "(Access Token needed)" message.
The module is now fully functional.

Common causes of problems with this:
a) didn't upload square_handler.php
b) put square_handler.php into the wrong directory. It belongs in the "root" of your store's folders. For reference, "ipn_main_handler.php" also exists in this directory.)
c) didn't put the OAuth Redirect URL into Square's settings, or mistyped it.

Less common, but possible causes:
a) you've got URL-rewriting rules set up in .htaccess or nginx, which are disallowing square_handler.php to be reached, probably because you're redirecting those requests to some other URL/file. Fix: allow square_handler.php to accessed directly. You could clone any rules for ipn_main_handler.php for square_handler.php, as a starting point.

b) you're running on a test site using a fake/unreachable URL, according to Square's servers. Fix by using a real live website.

c) you're running behind a firewall that's got aggressive restrictions on which files are allowed to be accessed. This is simple. Just tell the firewall to allow normal port 443 access to square_handler.php .... just like any other file on a website should be able to do. Nothing special here.

8 Jan 2021, 2:00 PM
#528
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

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

dbltoe:

What is your transaction type set to in the Square Payment Module? If set to authorize, you have to manually collect the funds through the ZC admin.

Thank you so much. That was it. Doing too much on the fly these days!

26 Jan 2021, 4:55 PM
#529
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

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

On the plugin download page, it says:

"PHP compatibility: version 2.x of this module requires PHP 7.1+, and version 1.x of this module requires PHP 5.4-to-7.4"

Where can I find version 2.x of this module?

Does the 1.5 version support the SCA requirements for europe?

26 Jan 2021, 5:21 PM
#530
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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

hairydog:

On the plugin download page, it says:

"PHP compatibility: version 2.x of this module requires PHP 7.1+, and version 1.x of this module requires PHP 5.4-to-7.4"

Where can I find version 2.x of this module?

Does the 1.5 version support the SCA requirements for europe?

Sorry, 2.x is still in development. That Readme text was probably updated prematurely :blush:

No, 1.5 doesn't have specific SCA features presently.

31 Jan 2021, 3:22 PM
#531
edadk avatar

edadk

Zen Follower

Join Date:
Nov 2008
Posts:
191
Plugin Contributions:
0

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

The upgrade instructions for the Square plugin contain 4 steps. After those 4 steps, is the upgrade complete or do I have to continue with the configuration options, or will those settings remain in place from the previous version?
thanks,
Ed

31 Jan 2021, 4:44 PM
#532
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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

edadk:

The upgrade instructions for the Square plugin contain 4 steps. After those 4 steps, is the upgrade complete or do I have to continue with the configuration options, or will those settings remain in place from the previous version?
thanks,
Ed
In most circumstances the Square module will remember your prior settings without issue. (Unlike some other historical Zen Cart modules where advice was sometimes to click remove then reinstall and reconfigure all settings again .... that cycle shouldn't be necessary with the Square module.)

That said, you should review the module's settings in case new choices have been added.

6 Mar 2021, 3:03 PM
#533
beepud avatar

beepud

New Zenner

Join Date:
Apr 2020
Location:
Scotland
Posts:
29
Plugin Contributions:
0

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

Hello,

I currently use SagePay (Opayo) to accept payments and then they send funds to my merchant bank (FDMS) to put funds in my business bank account (TSB). Obviously this means I pay a fee to Opayo and FDMS for each transaction, am I right in thinking that if I use Square they will take the card payment online and transfer money to my bank meaning only 1 fee per transaction (slightly higher fee but less hassle)? I am in the UK if this makes a difference. Thanks

6 Mar 2021, 3:34 PM
#534
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

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

BeePud:

Hello,

I currently use SagePay (Opayo) to accept payments and then they send funds to my merchant bank (FDMS) to put funds in my business bank account (TSB). Obviously this means I pay a fee to Opayo and FDMS for each transaction, am I right in thinking that if I use Square they will take the card payment online and transfer money to my bank meaning only 1 fee per transaction (slightly higher fee but less hassle)? I am in the UK if this makes a difference. Thanks

That's right, one fee and transactions are transferred to your bank account the next day. UK fees have recently(ish) been reduced - 1.9% for online (API) sales with an EU card.

Edit: If you plan to go with Square, you could sign-up through this page, as Zen Cart will get a commission:

https://www.zen-cart.com/content.php?349-Square-Payments-for-Zen-Cart

10 Mar 2021, 9:47 PM
#535
beepud avatar

beepud

New Zenner

Join Date:
Apr 2020
Location:
Scotland
Posts:
29
Plugin Contributions:
0

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

Thats great - thank you so much.

I last question, their website says the 1.9% fee or 2.9% for non EU cards, but also mentions a 'tip' - from their website this looks like 30p is added per transaction - do I have that right or (hopefully) wrong?

I may need to sign up for a monthly £9 account anyway as I have my own zencart website and they say the no monthly fee one is only for a website with them :(

11 Mar 2021, 1:45 AM
#536
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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

BeePud:

Thats great - thank you so much.

I last question, their website says the 1.9% fee or 2.9% for non EU cards, but also mentions a 'tip' - from their website this looks like 30p is added per transaction - do I have that right or (hopefully) wrong?

I may need to sign up for a monthly £9 account anyway as I have my own zencart website and they say the no monthly fee one is only for a website with them :(

  1. Their website lists their usual rates.
    If you sign up through our referral link you usually get better rates, or at least have some leverage in asking for lower rates when you contact your account representative.

  2. No, there's no monthly fee. You seem to have strayed into a part of their website that offers websites to accompany your payment account. When you're working with Zen Cart you already have the website and store, so you're not needing to create an online store inside Square's Weebly SiteBuilder service. They're completely unrelated despite sharing ownership.

15 Mar 2021, 12:13 PM
#537
beepud avatar

beepud

New Zenner

Join Date:
Apr 2020
Location:
Scotland
Posts:
29
Plugin Contributions:
0

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

Fabulous - can you let me know the referal link please and i'll register through there instead?

Thank you for your help

Nickki

15 Mar 2021, 5:27 PM
#538
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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

BeePud:

Fabulous - can you let me know the referal link please and i'll register through there instead?

Thank you for your help

Nickki
On https://www.zen-cart.com/content.php?349-Square-Payments-for-Zen-Cart use the "1. Sign up for a free Square account" link. Thanks!

15 Mar 2021, 8:41 PM
#539
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

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

Hello,

Trying to install this module and having issues authorizing my account. Despite having the correct Production Redirect URL from the Square developers portal, initially I received the error "Application does not have a Redirect URL registered in the Developer Dashboard" and after many attempts it started to send me to my home page and added to my domain "**index.html?code=sq0cgp-GbpKLfU7fpPZCTxuVt-F8A&response_type=code&state=604fc52b2656c#="

**Please help, thanks!

15 Mar 2021, 9:07 PM
#540
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

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

allmart:

Hello,

Trying to install this module and having issues authorizing my account. Despite having the correct Production Redirect URL from the Square developers portal, initially I received the error "Application does not have a Redirect URL registered in the Developer Dashboard" and after many attempts it started to send me to my home page and added to my domain "**index.html?code=sq0cgp-GbpKLfU7fpPZCTxuVt-F8A&response_type=code&state=604fc52b2656c#="

**Please help, thanks!
Considering that index.html is not a part of the ZC core fileset, perhaps can explain how that has become part of the uri? E.g. Are there other plugins installed that might affect that portion of the web address or was that something entered in the portal?