Hi Guys,
here is the solution for taxcalculation in Tax in checkout_confirmation.php:
Change in ot_giftwrap.php the function process() in :
function process() {
global $order, $currencies;
if (tep_not_null($order->info['giftwrap_method'])) {
if (MODULE_ORDER_TOTAL_GIFTWRAP_TAX_CLASS > 0) {
$giftwrap_tax = tep_get_tax_rate(MODULE_ORDER_TOTAL_GIFTWRAP_TAX_CLASS);
$tax_description = tep_get_tax_description(MODULE_ORDER_TOTAL_GIFTWRAP_TAX_CLASS, $order->delivery['country']['id'], $order->delivery['zone_id']);
$order->info['tax'] += tep_calculate_tax($order->info['giftwrap_cost'], $giftwrap_tax);
$order->info['tax_groups']["$tax_description"] += tep_calculate_tax($order->info['giftwrap_cost'], $giftwrap_tax);
$order->info['total'] += tep_calculate_tax($order->info['giftwrap_cost'], $giftwrap_tax);
if (DISPLAY_PRICE_WITH_TAX == true) $order->info['giftwrap_cost'] += tep_calculate_tax($order->info['giftwrap_cost'], $giftwrap_tax);
}
$this->output[] = array('title' => $order->info['giftwrap_method'] . ':',
'text' => $currencies->format($order->info['giftwrap_cost'], true, $order->info['currency'], $order->info['currency_value']),
'value' => $order->info['giftwrap_cost']);
}
}
This will solve the problem!