Zen Cart Logo
Forums / Currencies & Sales Taxes, VAT, GST, etc. / coupons and incorrect tax calculations

coupons and incorrect tax calculations

Locked

Views: 1,012

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 Jun 2009, 5:55 PM
#1
jdubs avatar

jdubs

New Zenner

Join Date:
Feb 2009
Posts:
7
Plugin Contributions:
0

coupons and incorrect tax calculations

When I use a 10% off coupon I come up with tax that is 5-10 cents off what it should be.

I found the thread below, but the changes have not addressed my issue
http://www.zen-cart.com/forum/showthread.php?p=713626#post713626

I edited the ot_coupon

I have DISPLAY_PRICES_WITH_TAX = false

I remove the discount before tax and tax applies to shipping + subtotal

Does not occur when I don't use the coupon code

Example with no coupon and proper tax

Sub-Total: $100.00

United Parcel Service (1 x 2.00lbs) (Ground): $11.98

Philadelphia,PA tax rate: $7.84

Total: $119.82

Example with coupon

Sub-Total: $100.00

United Parcel Service (1 x 2.00lbs) (Ground): $11.98

Discount Coupon: Liberty : -$10.00

Philadelphia,PA tax rate(7%): $7.06 <- should be (101.98 *.07 = 7.14)

Total: $109.04

Any thoughts on what could be going on here? I am using 1.3.8 and it says it is current

My site is store.libertymuseum.org and I want to take it live, but I need to sort out this small issue.

8 Jun 2009, 6:38 PM
#2
jdubs avatar

jdubs

New Zenner

Join Date:
Feb 2009
Posts:
7
Plugin Contributions:
0

Re: coupons and incorrect tax calculations

Update

I replaced my /includes/modules/order_total/ot_coupon with

The ot_coupon hosted by paulm on this thread and the tax calculates correctly. I'm not saying it is a total fix, but it is working as of now.

http://www.zen-cart.com/forum/showthread.php?t=54847&page=5
File Type: zip ot_coupon-pm1.zip (5.0 KB, 260 views)