Page 1 of 1

Tax Added Back In

Posted: Thu Sep 23, 2010 10:49 am
by acicomp
I have a quick question as a newbie to OpenCart in regards to tax being added back in after pressing the confirm button. This is OpenCart 1.4.9.1

I have two GeoZones set up:

GeoZone 1 is called "North Carolina" which is used to tax any North Carolina residents. This GeoZone only has the United States/North Carololina listed in it.

GeoZone 2 is called "United States" which I am using for the PayPal extension. This GeoZone has United States/All Zones.

I have one Tax Class set up for North Carolina at 8% tax using GeoZone "North Carolina". I have a product set up with this Tax Class.

I have 2 payment options set up. PayPal and COD

Here is what happens...
1. I add an item to my cart.
2. I click on "checkout".
3. I enter a Virginia address outside of North Carolina for testing and then click on "continue". (This means there should be no tax)
4. So far so good... There is no tax showing at this point just as it should be.
5. I have two options for payment here. COD and PayPal... Regardless of which one I choose here, when I accept the terms and click on "continue" to go the confirmation page, there is the 8% North Carolina tax being added back in.

Can someone help point me to what I may be doing wrong here. Without fail, once I accept the terms and then click continue to go to the confirmation page, the tax will be automatically be added back in. Again, I'm sure with me being new to OpenCart, I may just be missing something, but if someone has any advice, I would truly appreciate it.

Re: Tax Added Back In

Posted: Thu Sep 23, 2010 12:35 pm
by acicomp
Here's an update I just found on this... It is only adding the tax back in if I am using "guest checkout" with no shipping. If I log in, everything works properly.

Any suggestions?

Re: Tax Added Back In

Posted: Mon Sep 27, 2010 9:11 pm
by acicomp
Is anyone else experiencing this issue? I was hoping that there is a simple fix.

Re: Tax Added Back In

Posted: Mon Sep 27, 2010 10:08 pm
by Qphoria
I will take a look at it. Thanks

Re: Tax Added Back In

Posted: Mon Sep 27, 2010 10:10 pm
by acicomp
Since I wasn't live yet, I am going back to 1.4.9 and see if I can reproduce it there. If not, that might at least limit it to something in 1.4.9.1.

Thanks

Re: Tax Added Back In

Posted: Mon Sep 27, 2010 11:08 pm
by acicomp
It's doing the same thing in 1.4.9 as well from what I can tell.

Re: Tax Added Back In

Posted: Tue Sep 28, 2010 12:03 am
by acicomp
I have tried 1.4.9 and 1.4.9.1 and both have the Guest Checkout issue. I have also tried to add a separate shipping address and it still adds the tax back in.

Re: Tax Added Back In

Posted: Wed Sep 29, 2010 12:12 pm
by Qphoria
Yes I found it. Not sure why I added it, but it shouldn't be there.
It should only happen when products have require shipping set to NO and using guest checkout.

1. EDIT: catalog/controller/checkout/guest_step_3.php

2. FIND & REMOVE:

Code: Select all

$this->tax->setZone($this->config->get('config_country_id'), $this->config->get('config_zone_id')); 

Re: Tax Added Back In

Posted: Thu Sep 30, 2010 4:55 am
by acicomp
Now that I removed that line, I get the following:

Error: Could not load model payment/pp_standard!

Any suggestions?

Re: Tax Added Back In

Posted: Fri Oct 01, 2010 7:51 pm
by Qphoria
acicomp wrote:Now that I removed that line, I get the following:

Error: Could not load model payment/pp_standard!

Any suggestions?
LOL no that is not even the least bit related. That just means you are missing a file in the catalog/model/payment/ for pp_standard.php

Re: Tax Added Back In

Posted: Sat Oct 02, 2010 4:58 am
by acicomp
I just reinstalled and removed the line for guest tax and everything is good now.

Thanks

Re: Tax Added Back In

Posted: Wed Nov 10, 2010 11:53 am
by TEXSBM
I have removed the text and are still seeing the tax included incorrectly. Are there any other code updates I need to make?

Sales Tax should apply for Texas purchases and no other states in my example. Thanks for the help!

Mark
www.ExoticAnimalCages.com

Re: Tax Added Back In

Posted: Wed Nov 10, 2010 4:52 pm
by i2Paq
This has been fixed with the release of the 1.4.9.2 Patch.

Do check that your geo and tax -zones are setup correctly.

Re: Tax Added Back In

Posted: Wed Nov 10, 2010 10:39 pm
by Qphoria
TEXSBM wrote:I have removed the text and are still seeing the tax included incorrectly. Are there any other code updates I need to make?

Sales Tax should apply for Texas purchases and no other states in my example. Thanks for the help!

Mark
http://www.ExoticAnimalCages.com
as i2paq mentioned, this was a bug in guest checkout only and it was fixed in the 1.4.9.2 patch (see my signature)