Square Web Payments

Description
- Payment modules are one of the primary systems for any shopping cart system.
- Some shopping carts force you to use their payment module. This allows the shopping cart vendor to take a portion of each sale.
- I developed/updated this module for the community on my own time with no development funds whatsoever.
- If you use this module, PLEASE consider a donation.
- Without contributions, it makes it increasingly difficult to justify additional development and support for this payment module.

- There are NO core zen-cart files modified.
- There is one zen-cart table that is part of this module. The table is the same name and structure as the old square module that makes use of the deprecated square payment form.
- There is no configuration for buyer verification. If square deems you need to verify the buyer, my code accepts this response back from square and asks the buyer for verification.
- There is no new added functionality other than buyer verification and the use of the new web payments SDK.
- Logging is slightly different than the old module. I do log all failed transactions into a single file on your logs directory.
- I have tested and confirmed this module works with the OPC module.
- Version 1.0.0 use SDK version: 17.2.0.20220216. According to square, this SDK requires php 7.4 - php 8.0.
- I have successfully used it using php 7.3 and zen-cart v1.5.6.
- You are welcome to use it as you see fit; I have only tested it for zc156 and zc157.
+ Download Latest

Forum Support Thread

Submit An Updated Version
Zen Cart® Versions v1.5.6, v1.5.7, v1.5.8
Original Author carlwhat
Last Updated by carlwhat - 17 Feb 2023
Downloads 1,254

Version History

Square Web Payments   -   Version: 1.0.4
if you download this update, consider a donation to carlwhat. payment modules are one of the primary drivers of any shopping cart, and without your support, new development can not continue.

if you have recently made a donation, the rest of the community (and i) can thank you for this update.

this version corrects an error message when no credit card data is submitted.

in addition, this version fixes a bug that prevented square from validating the credit card data if square was the only payment method chosen.
  + Download
Zen Cart® Versions v1.5.6, v1.5.7, v1.5.8
Date Added 17 Feb 2023
Author carlwhat
File Size 2.48 MB
PHP 5.3 Safe? No
Downloads 428
 
Square Web Payments   -   Version: v1.0.3
- fixes bug when saving the tokens after refreshing.
- all sites running v1.0.2 should update to v1.0.3
- for sites running v1.0.1, the same notes as described below for v1.0.2 apply.
  + Download
Zen Cart® Versions v1.5.6, v1.5.7, v1.5.8
Date Added 31 Oct 2022
Author carlwhat
File Size 2.48 MB
PHP 5.3 Safe? No
Downloads 360
 
Square Web Payments   -   Version: v1.0.2
-- This is a minor version update. IF YOU ARE RUNNING WITHOUT ERRORS, THERE IS NO NEED TO UPDATE.
-- If you are running your store in a subfolder; or if you want to use a language other than english, then this update is for you.
-- If you are having problems with renewing your token with the handler, then this update could be for you.
-- All fixes that were documented in the forum are now included here.
-- There has been some house keeping cleanup. Mostly to help me with additional debugging.
-- Support for stores located in a sub-folder are now supported.
-- Additional languages are now supported via a locale setting. This is browser dependent and out of my control as to whether it will work and what languages are supported.
-- Select a 2 character language code, and enter it in the admin. You can see various locales here: https://www.science.co.il/language/Locale-codes.php
-- Tested on v158 running up to php 8.0.
-- The square SDK has NOT changed (17.2.0.20220216), and only supports up to php 8.0.
-- Additional development is dependent on you. All contributions of any sort are accepted and appreciated.
  + Download
Zen Cart® Versions v1.5.6, v1.5.7, v1.5.8
Date Added 25 Oct 2022
Author carlwhat
File Size 2.48 MB
PHP 5.3 Safe? No
Downloads 48
 
Square Web Payments   -   Version: 1.0.1
includes all bug fixes recently disclosed.

- apostrophes are now allowed in name and address fields.
- some logging done to the dev tools console for help in java troubleshooting.
- removal of _POST contents in logs, as that data is not relevant for trouble shooting.
- this is a minor update.
  + Download
Zen Cart® Versions v1.5.6, v1.5.7
Date Added 26 May 2022
Author carlwhat
File Size 2.48 MB
PHP 5.3 Safe? No
Downloads 257
 
Square Web Payments   -   Version: 1.0.0
  + Download
Zen Cart® Versions v1.5.6, v1.5.7
Date Added 5 Apr 2022
Author carlwhat
File Size 2.48 MB
PHP 5.3 Safe? No
Downloads 161
 


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