Please, be careful, I suspect this cashondeliverywithfeeaural-1.3.zip module has important bugs: MonDeveloper’s modification may contain some bugs in function validateOrderCOD(). When new order is complete, order_detail DataBase insertions are incorrect. Product quantity value, in order details, has the value of product stock in place of the customer’s product quantity selection. Maybe a Mistake between: $product[‘quantity’] —-> the current product stock. and: $product[‘cart_quantity’] —-> number of units of a product that the customer wants to buy I've modified the php file and I think it works fine now. You can use it (see attached). Please, take a look to the attached file code, see the fix comments and report any suggestion. regards ;-)
cashondeliverywithfeeaural.php