DrByte:
If you have an addon installed that changes the code in the /admin/orders.php file such that the refund options aren't processed, then ... your refunds won't happen.
Maybe you have old mods installed?
I Winmerged to compare the modified admin/orders.php file against the original and although there are some changes, I don't detect any that should affect the refund function. Here are the changes in the admin/orders.php file:
- RL1 adds new line at start of order comments in emails.
- RL2 eliminates unneeded tax columns from invoice. Related files also revised: /admin/order.php; /admin/invoice.php, /admin/includes/languages/english/invoice.php; /admin/includes/languages/english/orders.php
- RL3 changes default notify customer to false
- Time Zone Offset 1.3.7 2007-01-02 gilby
RL1 add new line to order comments in email:
// BEGIN RL1 to provide new line for start of email order update comments
// $notify_comments = EMAIL_TEXT_COMMENTS_UPDATE . $comments . "\n\n";
$notify_comments = EMAIL_TEXT_COMMENTS_UPDATE . "\n" . $comments . "\n\n";
}
part of Time Zone Offset contribution:
$db->Execute("insert into " . TABLE_ORDERS_STATUS_HISTORY . "
(orders_id, orders_status_id, date_added, customer_notified, comments)
values ('" . (int)$oID . "',
'" . zen_db_input($status) . "',
date_add(now(), INTERVAL " . TIME_ZONE_OFFSET . " HOUR),
'" . zen_db_input($customer_notified) . "',
'" . zen_db_input($comments) . "')");
$order_updated = true;
}
// BEGIN RL 2 eliminates unneeded tax columns tax columns from invoice.
// ' <td class="dataTableContent" align="right" valign="top"><strong>' .
// $currencies->format(zen_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) .
// ($order->products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->format(zen_add_tax($order->products[$i]['onetime_charges'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) : '') .
// '</strong></td>' . "\n" .
[B] ' <td class="dataTableContent" align="right" valign="top"><strong>' .[/B]
[B] '</strong></td>' . "\n" .[/B]
// $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) .
// ($order->products[$i]['onetime_charges'] != 0 ? '<br />' . $currencies->format($order->products[$i]['onetime_charges'], true, $order->info['currency'], $order->info['currency_value']) : '') .
// '</strong></td>' . "\n" .
' <td class="dataTableContent" align="right" valign="top"><strong>' .
'</strong></td>' . "\n" .
// END RL2
// RL3 changes notify customer default to false
<td class="main"><strong><?php echo ENTRY_NOTIFY_CUSTOMER; ?></strong> <?php echo zen_draw_checkbox_field('notify', '', false); ?></td>