Re: Square Payment Module for Zen Cart [Support Thread]
Some new versions have just been released:
v1.2 - includes fixes for the refund and capture PHP errors, and adds an extra display field for custom text on checkout screen. Uses API 3.20200325.0
v1.3 - Updates 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!)
(this is a full upgrade of all files: see the changelog.md file for instructions)
v1.4 - simply adds display of the API / SDK versions in the admin sidebar so you can easily reference it for setting the API version in your Square account.
(this is just an update to the square.php payment module file)
v1.5 - Added improvements to catching errors that could occur during capture/void/refund.
(this is just an update to the square.php payment module file)
Re: Square Payment Module for Zen Cart [Support Thread]
v1.5 has been uploaded. (details in post above)
Apologies for the series of rapid updates. I was testing some edge cases for potential error situations, and found a few places where blank screens could occur, so fixed those.
Re: Square Payment Module for Zen Cart [Support Thread]
Just upgraded to 1.5 from 1.1 and I am getting a warning MODULE_PAYMENT_SQUARE_TEXT_NOTICES_TO_CUSTOMER not defined. Have I missed something?
Re: Square Payment Module for Zen Cart [Support Thread]
Did you follow the instructions in the readme.md for upgrade? You may have a file still there that is no longer used.
Re: Square Payment Module for Zen Cart [Support Thread]
Once the customer has upgraded the Square API, we've been able to upgrade them on the fly by deleting the two folders and uploading the "files to upload" by ftp with overwrite.
So far, no need to get other codes BUT, we don't do the FTP till the API is current.
BTW jscript_square.php has no change so there's no need to add to OPC.
Re: Square Payment Module for Zen Cart [Support Thread]
Yes Deleted the two folders and uploaded new ones. Just found it. I have the square file in my template that i did not change. I will change it and hopeful that will fix it.
Re: Square Payment Module for Zen Cart [Support Thread]
Yes that fixed it. I changed one of the values. May be need to add line about checking any files you have changed using the override system.
Re: Square Payment Module for Zen Cart [Support Thread]
There are no template files with this mod. Shouldn't be anything in a template folder
Re: Square Payment Module for Zen Cart [Support Thread]
Changed MODULE_PAYMENT_SQUARE_TEXT_CATALOG_TITLE to "credit/debit card" so I have put it in the template folder rather than overwrite the original I put it in the template folder. I thought that was what it was for.
Re: Square Payment Module for Zen Cart [Support Thread]
What is the name and location of the file you are changing? Even with my "sometimers", I don't remember the mod ever using an override.