Re: Square Payment Module for Zen Cart [Support Thread]
[QUOTE=dbltoe;1367411]PHP 7.2 is causing an error in line 1110 of includes/modules/payment/square.php.
Code:
[07-Apr-2020 17:35:49 UTC] Request URI: /Ud;reW/orders.php?origin=index&page=1&oID=1718&action=doRefund, IP address: 123.231.145.199#1 square->_doRefund() called at [/home/allpecans/public_html/Ud;reW/orders.php:254]
--> PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/Ud;reW/public_html/includes/modules/payment/square.php on line 1110.
Just removed and reinstalled SQUARE 1.0.
1. Resolved my editing issue above.
2. Receive the EXACT same myDEBUG file when refunded the 1st test transaction.
AFAIK, Square does not do voids. Transaction was refunded within a minute of being authorized and captured.
Rick
RixStix (dot) com
aka: ChainWeavers (dot) com
Bookmarks