earth-friendly:
...
Undefined index: cod in /home/myuser/MyTest/includes/classes/order.php on line 352
Trying to get property of non-object in /home/myuser/MyTest/includes/classes/order.php on line 352
Undefined index: cod in /home/myuser/MyTest/includes/classes/order.php on line 353
Trying to get property of non-object in /home/myuser/MyTest/includes/classes/order.php on line 353
>
> These 2 lines in includes/classes/order.php are in red below:
> ```
$this->info = array('order_status' => DEFAULT_ORDERS_STATUS_ID,
'currency' => $_SESSION['currency'],
'currency_value' => $currencies->currencies[$_SESSION['currency']]['value'],
'payment_method' => $GLOBALS[$class]->title,
'payment_module_code' => $GLOBALS[$class]->code,
...
So if I interpret this correctly, $class is the current payment method, 'cod', and $GLOBALS['cod'] should be set, but isn't.
I'm not positive that this is THE error that is ultimately causing the Ajax error I am seeing, but I don't see a similar error showing up when I use authorizenet_aim. ...
Do you have the full "stack trace" for the posted warning messages, or just what was posted?
Have any modifications been made to programmatically "disable" or "hide" any payment methods?
Are sessions working correctly on the site ("zenid=" query string goes away while browsing the site)?
Have you tried clearing all cookies related the site (will result in a new "clean" session as long as the "zenid=" query string is not in the URL)?
Do you have any AntiVirus, AntiSpyware, AdBlocker, or other locally installed filter / proxy?
Does this only occur when using Internet Explorer (If yes, what version are you using)?
Can you post the contents of any ".htaccess" files (including those in parent folders)?
Do you have any "backup" copies of payment modules in "/includes/modules/payment/"?
Is the COD payment module filename still named "cod.php"? Have any modifications been made to this file?
Is the COD payment module enabled when you visit "admin" -> "modules" -> "payment"?
Are there any errors or messages shown when you visit "admin" -> "modules" -> "payment"?
Is the entire page shown (including the footer) when you visit "admin" -> "modules" -> "payment"?
Can you search and see if any modifications to the store touch $cod, $_GLOBALS["cod"], or $_CLOBALS['cod'].
Are there any other Zen Cart debug logs?