
Originally Posted by
allmart
Went live on my test site and tested a small transaction which worked like a charm but when a pushed the red button in order details to void the transaction, I got this error "PHP Warning: Illegal string offset 'id' in /includes/modules/payment/authorizenet_cim.php on line 107."
Thanks again for you help and an awesome plugin.
i am not sure why your order does not have a country id there. it could be indicative of other problems.
between lines 104 and 105 you can add the following code (i have included both lines below for clarity):
PHP Code:
global $order, $db;
if (empty($order->billing['country']['id'])) {
return;
}
if (($this->enabled == true) && ((int)MODULE_PAYMENT_AUTHORIZENET_CIM_ZONE > 0)) {
best.
Bookmarks