Try this solution ...
Edit the file:
/includes/classes/orders.php
Replace the top of the function create, approximately at line 560, with this code:
PHP Code:
function create($zf_ot_modules, $zf_mode = 2) {
global $db;
if ($this->info['total'] == 0) {
if (DEFAULT_ZERO_BALANCE_ORDERS_STATUS_ID == 0) {
$this->info['order_status'] = DEFAULT_ORDERS_STATUS_ID;
} else {
if ($_SESSION['payment'] != 'freecharger') {
$this->info['order_status'] = DEFAULT_ZERO_BALANCE_ORDERS_STATUS_ID;
}
}
}
if ($_SESSION['shipping'] == 'free_free') {
$this->info['shipping_module_code'] = $_SESSION['shipping'];
}
Be sure to test this for all other Payment modules as well ...
Bookmarks