Also, just noticed this warning, at time of above order
Code:
[17-Aug-2019 11:22:25 Europe/London] Request URI: /index.php?main_page=checkout_process, IP address: my.customersip.123.456
#1 square->before_process() called at [/home/mydomain/public_html/includes/classes/payment.php:246]
#2 payment->before_process() called at [/home/mydomain/public_html/includes/modules/checkout_process.php:92]
#3 require(/home/mydomain/public_html/includes/modules/checkout_process.php) called at [/home/mydomain/public_html/includes/modules/pages/checkout_process/header_php.php:14]
#4 require(/home/mydomain/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/mydomain/public_html/index.php:36]
--> PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/mydomain/public_html/includes/modules/payment/square.php on line 355.
Lines 355 - 359 of square.php
Code:
if (count($errors_object)) {
$error = $this->parse_error_response($errors_object);
$messageStack->add_session('checkout_payment', MODULE_PAYMENT_SQUARE_TEXT_ERROR . ' [' . $error['detail'] . ']', 'error');
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true, false));
}
Bookmarks