Square Web Payments

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

Forum Support Thread

Zen Cart® Versions v1.5.6, v1.5.7
Original Author carlwhat
Last Updated by carlwhat - 26 May 2022
Downloads 328

Version History

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.
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 201
Square Web Payments   -   Version: 1.0.0
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 127

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