Square Payments for Zen Cart

Description
PLEASE NOTE: This module is deprecated and will cease to work in July 2022.
Instead, use the newer Square Web Payment module:
https://www.zen-cart.com/downloads.php?do=file&id=2345


This is the SqPaymentForm based version of Square Payments.

Accept credit cards in less than 5 minutes.
No monthly fees and no setup fees.
PCI Compliant. Customer never leaves your store!
Standard rates are 2.9% + $0.30 per transaction.
Funds are deposited in your bank account in 1-2 business days.
Track your online and offline sales in one place.

For setup instructions, see the README or https://www.zen-cart.com/content.php?349-Square-Payments-for-Zen-Cart

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
+ Download Latest

Forum Support Thread

Submit An Updated Version


Github Repository
Zen Cart® Versions v1.5.4, v1.5.5, v1.5.6, v1.5.7
Original Author DrByte
Last Updated by DrByte - 23 Jun 2020
Downloads 6,084

Version History

Square Payments for Zen Cart   -   Version: 1.5
Adds improvements to catching errors that can occur during capture/void/refund.

(only file changed since v1.4 is /includes/modules/payment/square.php)
  + Download
Zen Cart® Versions v1.5.4, v1.5.5, v1.5.6, v1.5.7
Date Added 23 Jun 2020
Author DrByte
File Size 1.25 MB
PHP 5.3 Safe? No
Downloads 1,811
 
Square Payments for Zen Cart   -   Version: 1.4
v1.4 adds display of API and SDK version numbers in module sidebar for easy reference to know which API your Square account should be set to.   + Download
Zen Cart® Versions v1.5.4, v1.5.5, v1.5.6, v1.5.7
Date Added 22 Jun 2020
Author DrByte
File Size 1.25 MB
PHP 5.3 Safe? No
Downloads 56
 
Square Payments for Zen Cart   -   Version: 1.3
1.3 - June 21, 2020 - Updated to SquareConnect SDK version 3.20200528.1

Note: This is the last release of SquareConnect SDK that is compatible with PHP 5. Future versions will require PHP 7.1+, and will be integrated to the SquarePHP SDK (not SquareConnect).

A version 2 of this module will be released to work with the new SDK, but this will also limit which Zen Cart versions the module is compatible with.

If you are not using Zen Cart 1.5.6 or newer and PHP 7.1 or newer, now is the time to upgrade!
  + Download
Zen Cart® Versions v1.5.4, v1.5.5, v1.5.6, v1.5.7
Date Added 21 Jun 2020
Author DrByte
File Size 1.86 MB
PHP 5.3 Safe? No
Downloads 55
 
Square Payments for Zen Cart   -   Version: 1.2
primarily patches to fix bugs in v1.1
- capture errors
- refund errors
- added text define to add message to checkout page
(also, one file was renamed in the square_support dir, in preparation for next version)
  + Download
Zen Cart® Versions v1.5.4, v1.5.5, v1.5.6, v1.5.7
Date Added 21 Jun 2020
Author DrByte
File Size 1.11 MB
PHP 5.3 Safe? No
Downloads 41
 
Square Payments for Zen Cart   -   Version: 1.1
Updated to Square SDK version 3.20200325.0.
Also fixed a token-refresh bug from v1.0

NOTE: If you are upgrading from any version prior to 1.0:
(Login to https://squareup.com/dashboard/apps and click on My Apps.
Click the Manage App button next to your listed App.
Make sure you are in Production (otherwise transactions aren't real!!!)
Scroll down to the API Version settings:
For version 1.1 of this mod, make sure your Production API Version is at least version 2020-03-25 or later.
  + Download
Zen Cart® Versions v1.5.5, v1.5.6
Date Added 9 Apr 2020
Author DrByte
File Size 1.11 MB
PHP 5.3 Safe? No
Downloads 320
 
Square Payments for Zen Cart   -   Version: 1.0
Integrate Square module to latest API spec 3.20200226.0

Also includes abbreviated order/delivery details in notes passed to Square's dashboard.

As per the README: Upgrade instructions: Delete the server's /includes/classes/vendors/square directory and the /includes/modules/payment/square_support directory (You will replace these in a moment, but this deletes older obsolete files first). Then upload all the files from the files_to_upload directory, putting them into the same directory on the server as you find them in this zip.

NOTE: Upgraders will be required to re-authorize to your Square account manually within 30 days after installing this module. You can force it by Removing and Re-Installing the module in your Admin.

ALSO make sure your Square App is in Production mode and using the 3.20200226.0 API:
(Login to https://squareup.com/dashboard/apps and click on My Apps.
Click the Manage App button next to your listed App.
Make sure you are in Production (otherwise transactions aren't real!!!)
Scroll down to the API Version settings:
For version 1.0 of this mod, make sure your Production API Version is at least version 2020-02-26.
  + Download
Zen Cart® Versions v1.5.4, v1.5.5, v1.5.6
Date Added 15 Mar 2020
Author DrByte
File Size 1.11 MB
PHP 5.3 Safe? No
Downloads 176
 
Square Payments for Zen Cart   -   Version: 0.97
Specifically uses Square-Connect-PHP/2.20181205.0 (and passes 'Square-Version: 2018-12-05' with each transaction).

Updated to work more friendly with Square's latest API changes on 2019-03-13 which require passing the older header as stated above.

Note: the only files changed in 0.97 over 0.96 were:
- /square_handler.php
- /includes/modules/payment/square.php
(But if you're upgrading from something older than 0.96 then you should replace all files.)
  + Download
Zen Cart® Versions v1.5.4, v1.5.5, v1.5.6
Date Added 16 Mar 2019
Author DrByte
File Size 520.2 KB
PHP 5.3 Safe? No
Downloads 878
 
Square Payments for Zen Cart   -   Version: 0.96
Fix jQuery error when zone restrictions apply or unpriced products get into checkout.
Internal API update as well.
  + Download
Zen Cart® Versions v1.5.4, v1.5.5, v1.5.6
Date Added 6 Dec 2018
Author DrByte
File Size 523.3 KB
PHP 5.3 Safe? No
Downloads 356
 
Square Payments for Zen Cart   -   Version: 0.95
0.95 - Nov 2018 Fixed currency conversion error if Square account currency was different from the Store's Default Currency.
Fixed strict ['id'] error
Also upgraded the internal SquareConnect SDK from 2.5.1 to 2.20180918.1
  + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 21 Nov 2018
Author DrByte
File Size 522.0 KB
PHP 5.3 Safe? No
Downloads 125
 
Square Payments for Zen Cart   -   Version: 0.94
0.94 - May 2018 - Simply updates the database storage configuration to allow for the newer longer transaction-id responses, since these are used to empower the in-Admin refund feature.
(The only file changed between 0.93 and 0.94 was /includes/modules/payment/square.php )
  + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 31 May 2018
Author DrByte
File Size 434.8 KB
PHP 5.3 Safe? No
Downloads 681
 
Square Payments for Zen Cart   -   Version: 0.93
0.93 - May 2018 - Compatibility updates.
Changed network connection parameters, to remove CURL followlocation, due to incompatibility with a few sites.

Also, this module REQUIRES PHP 5.4 or newer. Preferably 5.6 or 7.1.
Specifically: PHP 5.3 is NOT supported by this module; however, since some stores still use this ancient version, it will throw errors if modern PHP coding styles are found. Therefore, this update forces the coding style back to old format so specific error alerts can be displayed saying a PHP upgrade is required.
  + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 14 May 2018
Author DrByte
File Size 434.5 KB
PHP 5.3 Safe? No
Downloads 143
 
Square Payments for Zen Cart   -   Version: 0.92
0.92 - Dec 28, 2017 - Update auto-refresh of admin page when getting an Access Token
Now when a token is obtained after pressing the green button in the Admin, the page should auto-refresh within 5 seconds to indicate that the token was successfully applied.
  + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 14 May 2018
Author DrByte
File Size 434.2 KB
PHP 5.3 Safe? No
Downloads 65
 
Square Payments for Zen Cart   -   Version: 0.91
0.91 - Dec 18, 2017 - Fix compatibility with OnePageCheckout plugin. Also updated to Square Connect SDK v2.5.1   + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 14 May 2018
Author DrByte
File Size 433.8 KB
PHP 5.3 Safe? No
Downloads 64
 
Square Payments for Zen Cart   -   Version: 0.90
Fix problem with auto-renew of authorization token. (If yours has already expired, simply click the Green button in your module settings to get a new token.)
Also updated to latest Square SDK.
  + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 14 Aug 2017
Author DrByte
File Size 391.2 KB
PHP 5.3 Safe? No
Downloads 800
 
Square Payments for Zen Cart   -   Version: 0.82
Fixes some calculation errors that could occur if the site uses more than one currency.   + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 1 Aug 2017
Author DrByte
File Size 389.3 KB
PHP 5.3 Safe? Yes
Downloads 120
 
Square Payments for Zen Cart   -   Version: 0.81
Fixed a rare problem with selecting a Location from the dropdown.   + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 28 Jun 2017
Author DrByte
File Size 388.4 KB
PHP 5.3 Safe? Yes
Downloads 190
 
Square Payments for Zen Cart   -   Version: 0.80
Improvement to initial setup token process.
Updated README for clarity.
  + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 25 Jun 2017
Author DrByte
File Size 524.2 KB
PHP 5.3 Safe? Yes
Downloads 95
 
Square Payments for Zen Cart   -   Version: 0.77
Take credit card payments with Square
www.squareup.com

Accept credit cards in less than 5 minutes.
No monthly fees and no setup fees.
PCI Compliant. Customer never leaves your store!
Standard rates are 2.9% + $0.30 per transaction.
Funds are deposited in your bank account in 1-2 business days.

For setup instructions, see the README or https://www.zen-cart.com/content.php?349-Square-Payments-for-Zen-Cart
  + Download
Zen Cart® Versions
Date Added 23 Jun 2017
Author DrByte
File Size 527.1 KB
PHP 5.3 Safe? Yes
Downloads 108
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR