Forums / Currencies & Sales Taxes, VAT, GST, etc. / Tax 0%: checkout confirmation

Tax 0%: checkout confirmation

Views: 6,437

Results 1 to 20 of 28
25 Dec 2011, 2:32 PM
#1
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Tax 0%: checkout confirmation

Merry Christmas Everyone!

Its been awhile since I configured my ZC, so tell me if this is something normal that I forgot about it or some quick fix.

On my checkout_confirmation page, under cart contents:

The tax is displayed (0%) on orders for customers outside my tax state.

Tax (correctly) does not appear in order total.

---->How do I make the "Tax 0%" on non-tax (out of state) orders go away? <----

Other info:

Everything works fine.

all my products are taxable.

On in state (taxed) orders: The tax is NOT displayed under cart contents, but does correctly appear in the order total.

Out of State Customers See This:

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

25 Dec 2011, 3:33 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Tax 0%: checkout confirmation

Admin - configuration - my store - tax zero display

.
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.

25 Dec 2011, 3:45 PM
#3
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

Hello Again DrByte!:cool:

Do you mean this setting? It was set to "Off"

Changing this setting does not have an affect.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

25 Dec 2011, 4:50 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Tax 0%: checkout confirmation

Okay, your problem appears to be related to your actual tax rates. See admin - locations/taxes - tax rates.
Maybe you've added a zone which has a zero rate somehow.

.
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.

25 Dec 2011, 5:25 PM
#5
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

Locations/Taxes > Tax Rates:

1 Tax Rate (My State) > Define Zones:

http://i418.photobucket.com/albums/pp268/42p4V2Q6P7Q79PH/zc/ZoneDefinitions.jpg

I set my admin stuff a long time ago, so I created these other zones for a reason (shipping maybe...getting rusty on my zc) .....but don't remember seeing this issue before, could it be in the last upgrade code?

here is what I have on the cc page around line 133:

<?php
  // If there are tax groups, display the tax columns for price breakdown
  if (sizeof($order->info['tax_groups']) > 1) {
?>
          <th scope="col" id="ccTaxHeading"><?php echo HEADING_TAX; ?></th>
<?php
  }
?>
          <th scope="col" id="ccTotalHeading"><?php echo TABLE_HEADING_TOTAL; ?></th>
        </tr>

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

26 Dec 2011, 4:54 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Tax 0%: checkout confirmation

What tax rate is set up for each of those zones?

.
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.

26 Dec 2011, 5:27 AM
#7
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

DrByte:

What tax rate is set up for each of those zones?

see photo above, 3 zones, only one with a tax rate:

International (no tax rate)
USA (no tax rate)
Taxes & Zones Defined in my state only:

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

1 Jan 2012, 1:08 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Tax 0%: checkout confirmation

Admin->Configuration->My Store->Show Split Tax Lines ... is that set to true for some reason?

Show Split Tax Lines
If multiple tax rates apply, show each rate as a separate line at checkout

.
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.

4 Jan 2012, 3:09 PM
#9
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

DrByte:

Admin->Configuration->My Store->Show Split Tax Lines ... is that set to true for some reason?

That value is set to false.

Is there an admin setting that turns on/off:

Display the TAX % heading/column in checkout confirmation/orders?

or a code work around?

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

5 Jan 2012, 4:03 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Tax 0%: checkout confirmation

It should not show if there is no tax to display. Does your USA zone include NY? If so then maybe you've got it tricked into thinking it needs to do "group taxes", and thus you're forcing it to display anyway.

.
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.

9 Jan 2012, 10:31 PM
#11
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

DrByte:

It should not show if there is no tax to display. Does your USA zone include NY? If so then maybe you've got it tricked into thinking it needs to do "group taxes", and thus you're forcing it to display anyway.

Yes I had my USA zone include NY, and My International include all countries.

Ok, so I'm going to delete and re-define the zones. Just to be clear I need to create 2 zones:

1 for NY:

Country> United states> New York

and another zone for everywhere else?

United states> New Jersey
United states> California
+58 more USA states

Country> Zimbabwe
Country> Zambia

  • every other country in the world? (as we ship world wide)

this would take some time to configure, is this the correct method? According to ZC's wiki it is, but it seems a bit extreme.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

9 Jan 2012, 10:35 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Tax 0%: checkout confirmation

No, you shouldn't need to create thousands of new zone definitions.

Why did your International zone include all countries? If your primary country is US then US isn't "international" to you. What was the reason for including US in the International zone in the first place?

.
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.

9 Jan 2012, 10:43 PM
#13
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

When I set up my ZC I had 3 zones, USA, NY and International (not including USA) this is how I thought it should be set up. I have learned a lot since then, but am still confused by this.

I ship everywhere in the world but need to charge sales tax in NY, I tried setting up one zone - NY and the tax rate for that one zone, but it didn't work.

Am I missing something here?:bangin:

BTW everything works fine, except for the 0% tax display (on all orders outside NY)

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

9 Jan 2012, 10:55 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Tax 0%: checkout confirmation

dharma:

When I set up my ZC I had 3 zones, USA, NY and International (not including USA) this is how I thought it should be set up. I have learned a lot since then, but am still confused by this.Yes, That is how I'd probably do it.
dharma:

I ship everywhere in the worldUsing what shipping approach? Are you using zones for any shipping modules?> dharma:

but need to charge sales tax in NY, I tried setting up one zone - NY and the tax rate for that one zone, but it didn't work.
What exactly didn't work?

.
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.

10 Jan 2012, 1:03 AM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Tax 0%: checkout confirmation

I just did a test on a fresh clean uncustomized install, containing demo data.

  1. Created a new Zone Definition for New York, added just USA+NewYork in the details.
  2. Created a new Zone Definition for USA, added United States, All Zones in the details.
  3. Created a new Zone Definition for International, added a handful of countries other than USA in the details.
  4. Created a new Tax Rate, setting it to the New York zone, Taxable Goods class, and Tax Rate of 8.875% and gave it a description of "NY Tax".
  5. Added a product to my cart, began checkout, created an account using a New York address, chose flat rate shipping, and on the payment screen it shows me the tax properly calculated for the product, so I selected a payment method.
  6. On the checkout-confirmation screen I'm presented with 3 columns in the Shopping Cart Contents section: Qty, Title, Total.
    No mention of 0% tax anywhere.

I tried changing the Display 0 Sales Tax setting (which isn't relevant in this case, since it only applies when the actual tax amount is 0.00). No difference.
Tried changing the Show Split Tax Lines setting, and that made no difference either.
Tried changing Admin->Configuration->My Store->Store Zone to New York too, to make it match up with taxes, just in case, and that made no difference.

Seems to me like you're using those other zones for multiple purposes which might be conflicting with each other.

What else am I missing that I'd need to do to make my otherwise-default-uncustomized-unaltered store work like yours so I can trigger the same problem?

.
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.

10 Jan 2012, 1:18 AM
#16
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

What else am I missing that I'd need to do to make my otherwise-default-uncustomized-unaltered store work like yours so I can trigger the same problem?

  1. Added a product to my cart, began checkout, created an account using a New York address,

The 0% Tax only appears on non-NY state orders, try a shipping address/account outside NY, to see if that triggers the issue.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

10 Jan 2012, 1:37 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Tax 0%: checkout confirmation

Changed to a California address. Same results. Checkout confirmation screen shows Shopping Cart Contents of Qty, Item Name, Total.

The "display 0 taxes" shows Taxes: $0.00 when enabled, and blank when disabled, as expected. But, as discussed, that's not relevant to your issue.

Basis of Product Tax is set to the default of: Shipping

.
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.

10 Jan 2012, 2:07 AM
#18
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

I tried all your settings, no result.

I deleted the tax rate, no result.

I deleted all the zone definitions, no result.

With no tax rate or zone definitions, what is other setting would make this 0% tax still appear?

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

10 Jan 2012, 2:15 AM
#19
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

Hold the phone, I might have got it.

let me do some more testing.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

10 Jan 2012, 2:57 AM
#20
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Re: Tax 0%: checkout confirmation

No dice, still appears.

I'll do some more testing and see if I can find any more symptoms.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41