I just installed the Customer_Discount contribution and noticed that the tax calculation is still being performed on the subtotal prior to the discount instead of after as needed. I don't know that this is a contribution issue or that that is just what brought it to light.
I have search the forum, and tried to follow the code, but I have been unable to determine where the actual tax calculation takes place. There is a tep_calculate_tax function in general.php but I can not find from where it is called.
The subtotal is updated properly, and the display order is right. It seems the ot_tax.php is using $order->info['total'] instead of $order->info['subtotal']
Any and all help is appreciated
Latest News: (loading..)
Customer_Discount v1.3 Taxes incorrect
Started by pcsadmin, May 26 2010, 19:41
No replies to this topic














