I have already donated last year to help get this done. Please consider sending Dr. Byte a pm for details on helping development costs!
Printable View
I have already donated last year to help get this done. Please consider sending Dr. Byte a pm for details on helping development costs!
Yes I will contact him do you know when the module will be complete?
Module is now available: https://www.zen-cart.com/content.php...s-for-Zen-Cart
Support Discussion Thread: https://www.zen-cart.com/showthread....Support-Thread
I have been using it since a few days. It works great.
I am getting the following error, this is the log entry:
[23-Jul-2017 17:51:29] PHP Parse error: syntax error, unexpected '[', expecting ')' in /public_html/includes/languages/english/modules/payment/square.php on line 34
Not sure how to fix or what the cause is, but I can not get the square to show up in my payments modules.
I have uninstalled and re-installed three times just incase.
I am using 1.5.4
php 5.4
https://www.birdytoybox.com
That line 34 is using the short-array syntax added in PHP 5.4. So if you're getting errors, it suggests your server is actually using PHP 5.3 or older.
The same syntax is used a lot in the main square module too.
My recommendation would be to switch your server to use a newer PHP version. You may be able to do that yourself within your hosting company's control panel (ie: "cPanel"), or you may need to log a support ticket with them.
Thank you!
Did as advised and it works like a charm.:smile:
Great!
Support thread for questions about the Square module: https://www.zen-cart.com/showthread....Support-Thread