Could you be a little more specific? I think I see the extra bracket, but I'm not sure where you mean for it to go.
//update order info totals
$apply_tax_to_shipping = check_tax_on_shipping($taxrec['tax_shipping']);
$shipping_tax = zen_calculate_tax($order->info['shipping_cost'], $taxrec['tax']);
$order->info['shipping_tax'] += $shipping_tax;
$tax_total_for_class += $shipping_tax;
} // end if apply to shipping
// Update the final total to include tax
$order->info['total'] = $order->info['subtotal'] + $order->info['tax'] + $order->info['shipping_cost'] + $order->info['shipping_tax'];
$showtax = $currencies->format($tax_total_for_class, true, $order->info['currency'], $order->info['currency_value']);
$this->output = array(
'title' => $taxdesc .':' ,
'text' => $showtax,
'value' => $tax_total_for_class);
}Should the bracket go here instead?
} //end if tax total > 0
} //end if apply local tax <- offending bracket?
} //end foreach tax
} //end if local tax <> 0
} //end function