Hi Linda, your code has problem as well, with a clean cod.php file and your additional codes, its ok on the customer side checkout. It is also ok in admin when I click modules-payment. But when I open the admin-customers-orders, and click to open each order, orders with COD as payment will not open, and there is a line:
PHP Fatal error: Call to a member function on a non-object in C:\Program Files\Ensim\Sitedata\onlineshop\Inetpub\wwwroot\includes\modules\payment\cod.php on line 74
line 74 refers to this line:
if ($_SESSION['cart']->show_total() < 50) {
I have taken out all other codes regarding the other conditions. so its down to the baisc total>50 codes only.
Any idea?



