Post by acicomp » Thu Sep 23, 2010 10:49 am

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.

Newbie

Posts

Joined
Thu Sep 23, 2010 10:10 am

Post by acicomp » Thu Sep 23, 2010 12:35 pm

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?

Newbie

Posts

Joined
Thu Sep 23, 2010 10:10 am

Post by acicomp » Mon Sep 27, 2010 9:11 pm

Is anyone else experiencing this issue? I was hoping that there is a simple fix.

Newbie

Posts

Joined
Thu Sep 23, 2010 10:10 am

Post by Qphoria » Mon Sep 27, 2010 10:08 pm

I will take a look at it. Thanks

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by acicomp » Mon Sep 27, 2010 10:10 pm

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

Newbie

Posts

Joined
Thu Sep 23, 2010 10:10 am

Post by acicomp » Mon Sep 27, 2010 11:08 pm

It's doing the same thing in 1.4.9 as well from what I can tell.

Newbie

Posts

Joined
Thu Sep 23, 2010 10:10 am

Post by acicomp » Tue Sep 28, 2010 12:03 am

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.

Newbie

Posts

Joined
Thu Sep 23, 2010 10:10 am

Post by Qphoria » Wed Sep 29, 2010 12:12 pm

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')); 

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by acicomp » Thu Sep 30, 2010 4:55 am

Now that I removed that line, I get the following:

Error: Could not load model payment/pp_standard!

Any suggestions?

Newbie

Posts

Joined
Thu Sep 23, 2010 10:10 am

Post by Qphoria » Fri Oct 01, 2010 7:51 pm

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

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by acicomp » Sat Oct 02, 2010 4:58 am

I just reinstalled and removed the line for guest tax and everything is good now.

Thanks

Newbie

Posts

Joined
Thu Sep 23, 2010 10:10 am

Post by TEXSBM » Wed Nov 10, 2010 11:53 am

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

Newbie

Posts

Joined
Fri Aug 27, 2010 8:26 am

Post by i2Paq » Wed Nov 10, 2010 4:52 pm

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.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Qphoria » Wed Nov 10, 2010 10:39 pm

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)

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 14 guests