Totally Zenned
- Join Date:
- Feb 2010
- Posts:
- 2,159
- Plugin Contributions:
- 10
Sales tax not gettig added
I tried deleting the tax class and it said all the products were linked to it so I'm lost as to why it's not adding sales tax to the orders.
Totally Zenned
I tried deleting the tax class and it said all the products were linked to it so I'm lost as to why it's not adding sales tax to the orders.
Sensei
When "Tax Included Pricing" is turned off (ie: not an EU VAT shop), tax is added based on:
a) look at all the user-defined Zones in the admin
b) is the customer's shipping/delivery address in one of those zones
c) for each zone, is a tax-class associated with it
d) for each associated tax class, apply its tax rate
Common causes of it not working:
a) the user-defined zones are not actually set up properly. Most-often-missed is assigning specific states for each country
b) tax class not assigned to products (you said you already checked that)
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Totally Zenned
DrByte:
When "Tax Included Pricing" is turned off (ie: not an EU VAT shop), tax is added based on:
a) look at all the user-defined Zones in the admin
b) is the customer's shipping/delivery address in one of those zones
c) for each zone, is a tax-class associated with it
d) for each associated tax class, apply its tax rateCommon causes of it not working:
a) the user-defined zones are not actually set up properly. Most-often-missed is assigning specific states for each country
b) tax class not assigned to products (you said you already checked that)
a) look at all the user-defined Zones in the admin
United States, New York, NY
b) is the customer's shipping/delivery address in one of those zones
local business, all local orders - no delivery outside 5 miles
c) for each zone, is a tax-class associated with it
1 Taxable Goods New York 8% NY TAX 8.0%
Sensei
What's the sort-order, and other settings, for ot_tax in Admin->Modules->Order Total?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Totally Zenned
DrByte:
What's the sort-order, and other settings, for ot_tax in Admin->Modules->Order Total?
vanilla configs
COD Fee ot_cod_fee
Discount Coupon ot_coupon 280
Group Discount ot_group_pricing 290
Gift Certificates ot_gv 840
Low Order Fee ot_loworderfee 400
Shipping ot_shipping 200
Sub-Total ot_subtotal 100
Tax ot_tax 300
Total ot_total 999
Totally Zenned
checkout_payment page
Sales Tax: $0.00
Even changing the config
Display Prices with Tax = True
Does not calculate the tax
Sensei
Tax basis settings in Admin->Configuration->My Store ... set to Shipping?
I just set up a brand new install with demo products. Created a New York zone, added US+New York to it. Created an 8% tax rate, tied to the default Tax Class.
Then attempted checkout using a new york address. Tax shows up fine.
You know better than me what ways the PHP code has been changed on the site. And access to all settings to compare against defaults, even beyond the ones mentioned above..
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Totally Zenned
DrByte:
Tax basis settings in Admin->Configuration->My Store ... set to Shipping?
I just set up a brand new install with demo products. Created a New York zone, added US+New York to it. Created an 8% tax rate, tied to the default Tax Class.
Then attempted checkout using a new york address. Tax shows up fine.You know better than me what ways the PHP code has been changed on the site. And access to all settings to compare against defaults, even beyond the ones mentioned above..
It's set to shipping.
No modules installed
Only divs added to template files for design purposes.
Totally Zenned
So, I checked my db and the zones_to_geo_zones zone_id was incorrect
Sensei
Odd. If it's not user-error, then it suggests that there might be duplicates in the zones tables.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Totally Zenned
DrByte:
Odd. If it's not user-error, then it suggests that there might be duplicates in the zones tables.
That's what I thought. I've done tax set up many times. It's resolved, I will try to dig deeper to see what the root problem is when more time permits.
Thanks
Tell staff why this post should be reviewed.