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: 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. |
![]() |
v1.5.6, v1.5.7, v1.5.8 |
![]() |
carlwhat |
![]() |
carlwhat - 31 Oct 2022 |
![]() |
675 |
Version History
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. |
|||||||||||
|
|||||||||||
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. |
|||||||||||
|
|||||||||||
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. |
|||||||||||
|
|||||||||||
Square Web Payments - Version: 1.0.0 | |||||||||||
|
|||||||||||