Zen Cart Logo
Forums / All Other Contributions/Addons / Customer Tax Exempt

Customer Tax Exempt

Locked

Views: 12,929

Results 21 to 40 of 47
This thread is locked. New replies are disabled.
12 Oct 2007, 6:03 PM
#21
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Customer Tax Exempt

Also, you, the seller, will be charged PST by the shipping companies and you'll end up taking a loss unless you markup the shipping price to include PST. Which, in effect is charging the customer the PST!

2 Jan 2008, 3:57 AM
#22
armenhammer11 avatar

armenhammer11

New Zenner

Join Date:
Sep 2007
Posts:
28
Plugin Contributions:
0

Re: Customer Tax Exempt

I got a bug. After installing the mod, I click on Customers, where I see that all my customers are gone....and a fatal error message:

Fatal error: Call to undefined function: zen_get_customers_address_book() in /home/content/J/u/r/Jurni2007/html/store/admin/customers.php on line 1152

Can you help?

thanx and happy 2008

Armen

4 Jan 2008, 6:21 PM
#23
gezuvor avatar

gezuvor

New Zenner

Join Date:
Apr 2007
Location:
Orange County, CA
Posts:
88
Plugin Contributions:
2

Re: Customer Tax Exempt

I just installed and am getting the same error as armen above... :oops:

17 Jan 2008, 10:41 PM
#24
monkeytown avatar

monkeytown

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

Re: Customer Tax Exempt

I just installed... so far so good. I'll let you know if anything comes up.

Of course I went mad with power. Have you ever tried going mad without power? It's boring. No one listens to you.

28 Jan 2008, 5:33 PM
#25
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Re: Customer Tax Exempt

is this mod compatible with the dual pricing mod?

29 Jan 2008, 3:00 PM
#26
gezuvor avatar

gezuvor

New Zenner

Join Date:
Apr 2007
Location:
Orange County, CA
Posts:
88
Plugin Contributions:
2

Re: Customer Tax Exempt

I would really like to use this mod, but have not been able to get past the error above.

Numinix, are you out there?

5 Feb 2008, 2:30 AM
#27
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Customer Tax Exempt

gezuvor and others...

This fix is posted in the documentation. However, it will be added permanently to a new file called functions_tax_exempt.php.

Please create this file yourself for now.

5 Feb 2008, 5:50 AM
#28
gezuvor avatar

gezuvor

New Zenner

Join Date:
Apr 2007
Location:
Orange County, CA
Posts:
88
Plugin Contributions:
2

Re: Customer Tax Exempt

I downloaded 1.11 from your site and installed it. I also created the functions_tax_exempt.php file you suggested. Unfortunately, I am still getting the error that armenhammer11 and HDG are talking about on your forum.

Did I miss something...?

10 Mar 2008, 6:11 AM
#29
janellez avatar

janellez

Zen Follower

Join Date:
Sep 2007
Posts:
128
Plugin Contributions:
0

Re: Customer Tax Exempt

gezuvor:

I downloaded 1.11 from your site and installed it. I also created the functions_tax_exempt.php file you suggested. Unfortunately, I am still getting the error that armenhammer11 and HDG are talking about on your forum.

Did I miss something...?

Ditto for me AND it does seem to overwrite the dual pricing mod (or parts of it) that makes it impossible to set a customer as wholesale in Admin.

Wish this worked for me. I really need to have my wholesale WA State customers NOT see sales tax.

Janelle

10 Mar 2008, 6:48 PM
#31
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Customer Tax Exempt

gezuvor:

I downloaded 1.11 from your site and installed it. I also created the functions_tax_exempt.php file you suggested. Unfortunately, I am still getting the error that armenhammer11 and HDG are talking about on your forum.

Did I miss something...?

That doesn't make sense. v1.11 includes the file and automatically includes it in customers.php. Did you not upload the /admin/ folder???

11 Mar 2008, 6:03 AM
#32
gezuvor avatar

gezuvor

New Zenner

Join Date:
Apr 2007
Location:
Orange County, CA
Posts:
88
Plugin Contributions:
2

Re: Customer Tax Exempt

Okay, I JUST downloaded and installed v1.11 again, following your instructions exactly. The error I get when I try to access the customers.php page is this:

Fatal error: Call to undefined function: zen_get_customers_address_book() in <snipped>/admin/customers.php on line **1152

**I would really like this to work, but I just don't have much hope at this point...

12 Mar 2008, 5:19 PM
#34
gezuvor avatar

gezuvor

New Zenner

Join Date:
Apr 2007
Location:
Orange County, CA
Posts:
88
Plugin Contributions:
2

Re: Customer Tax Exempt

Okay, I don't get the fatal error any more!

However, there are other problems now:
1 - When I search for a customer, I get "var-type undefined: regexp(smith)" and no results.
2 - On the default customer page, the ID# column has "TEXT_INFO_ADDRESS_BOOK_COUNT1" next to each customer ID number.

Are you testing this yourself w/o problems?

14 Apr 2008, 7:49 AM
#36
tzeyangng avatar

tzeyangng

New Zenner

Join Date:
Dec 2007
Posts:
35
Plugin Contributions:
0

Re: Customer Tax Exempt

Hi,

I just found out that seem like one of the line in the functions_taxes.php for V1.12 is being comment out by mistake. Can you please confirm?

if ($customer_check->fields['customers_tax_exempt'] == "ALL") {
return 0;
} else if ($customer_check->fields['customers_tax_exempt'] != "") {
if ($tax->RecordCount() > 0) {
$tax_description = '';
while (!$tax->EOF) {
$match = 0;
$exempt_taxes = $customer_check->fields['customers_tax_exempt'];
$exempt_taxes = split(",", $exempt_taxes);
foreach ($exempt_taxes as $exempt_tax) {
if (trim(strtolower($exempt_tax)) == trim(strtolower($tax->fields['tax_description']))) {
$match++;
}
}
if ($match == 0) {
$tax_description .= $tax->fields['tax_description'] . ' + ';
}
//The below should be not comment out?
//$tax_description .= $tax->fields['tax_description'] . ' + ';
$tax->MoveNext();
}
$tax_description = substr($tax_description, 0, -3);

return $tax_description;
} else {
return TEXT_UNKNOWN_TAX_RATE;
}
} else {

14 Apr 2008, 6:08 PM
#37
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Customer Tax Exempt

No, that is incorrect. If you uncomment it then CTE will not work, nor will non-exempt taxes.

27 Jul 2008, 7:02 AM
#38
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Customer Tax Exempt

I'm having trouble getting this contribution to work. It installed smoothly and there are no obvious issues except my exempt customers are still getting charged tax. In otherwords the installation had no effect.

Because there were no specific installation or usage instructions in the download I used this procedure to install v1.12a (downloaded from Numinix site):1. Copied contents of install.sql and pasted to the ZenCart admin-> tools/Install SQL patches window and clicked on SEND.
2. FTP'd the files to the web server (making sure that the admin folder was renamed to match my admin folder name). (did not upload" install.sql, uninstall.sql, the 'previous SQL patches' folder nor the Documentation shortcut to the server)
3. Pulled up my test customer record in ZC admin and entered "ALL" (without parenthesis) in the box labeled 'Customer Tax Exempt'.
4. Created an order as a customer using the test customer account. Made sure both the shipping and billing addresses were within a normally taxable jurisdiction.Problem:
The taxes are still displayed in the checkout pages. I have up to 4 applicable tax rates depending on the buyer's location (ie: state, special, county and city). Store is located in the US in Colorado Springs, Colorado.

After much code reading and comparing I could not find any errors. None of the modified files (customers.php and functions_taxes.php) were previously modified by other contributions. I verified that "ALL" does show up in the customers_tax_exempt field of the customers table of the database.

Because this contribution appears to work for everyone else, I took extra effort to try to track down the problem by comparing code, etc. but was unable to figure out why the taxes are still appearing for a record that is marked "ALL". So I installed this contribution on another shop on a different web server and got the same result.

The contribution does not appear to interfere with the regular operation of the shop (taxes appear or don't appear as normal, I just can't make particular customers tax exempt for some reason.) Is there a configuration parameter that needs to be turned on? Couldn't find one.

Using ZenCart v1.3.8a for both websites. I'm thinking there must be some setting I haven't made. I didn't find any usage instructions in the download.

www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a

27 Jul 2008, 6:08 PM
#39
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,567
Plugin Contributions:
58

Re: Customer Tax Exempt

ronlee67:

I'm having trouble getting this contribution to work. It installed smoothly and there are no obvious issues except my exempt customers are still getting charged tax. In otherwords the installation had no effect.

Because there were no specific installation or usage instructions in the download I used this procedure to install v1.12a (downloaded from Numinix site):

  1. Copied contents of install.sql and pasted to the ZenCart admin-> tools/Install SQL patches window and clicked on SEND.
  1. FTP'd the files to the web server (making sure that the admin folder was renamed to match my admin folder name). (did not upload" install.sql, uninstall.sql, the 'previous SQL patches' folder nor the Documentation shortcut to the server)
  1. Pulled up my test customer record in ZC admin and entered "ALL" (without parenthesis) in the box labeled 'Customer Tax Exempt'.
  1. Created an order as a customer using the test customer account. Made sure both the shipping and billing addresses were within a normally taxable jurisdiction.

Problem:
The taxes are still displayed in the checkout pages. I have up to 4 applicable tax rates depending on the buyer's location (ie: state, special, county and city). Store is located in the US in Colorado Springs, Colorado.

After much code reading and comparing I could not find any errors. None of the modified files (customers.php and functions_taxes.php) were previously modified by other contributions. I verified that "ALL" does show up in the customers_tax_exempt field of the customers table of the database.

Because this contribution appears to work for everyone else, I took extra effort to try to track down the problem by comparing code, etc. but was unable to figure out why the taxes are still appearing for a record that is marked "ALL". So I installed this contribution on another shop on a different web server and got the same result.

The contribution does not appear to interfere with the regular operation of the shop (taxes appear or don't appear as normal, I just can't make particular customers tax exempt for some reason.) Is there a configuration parameter that needs to be turned on? Couldn't find one.

Using ZenCart v1.3.8a for both websites. I'm thinking there must be some setting I haven't made. I didn't find any usage instructions in the download.

The instructions should be quite simple:

http://www.numinix.com/forum/viewtopic.php?t=15

27 Jul 2008, 9:44 PM
#40
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Customer Tax Exempt

numinix,

Thanks for the reply. Yep, I reviewed that entire thread and didn't find a clue to my problem.

Your posting on your forum time stamped Tuesday, Dec 18, 2007 4:55am was followed exactly.

As I understand this contribution, if I enter "ALL" (without the quote marks) in the Customer Tax Exempt box of the customer record in admin then no taxes will be charged to the customer. Do I understand this functionality correctly?
I have tried entering "All" both with and without quote marks and neither cause the taxes to go away. (believe "ALL" should be entered without quotes).

I agree, the installation is quite straight-forward and simple. Because there are few postings for support on this contribution it is obvious that the software is not at fault. Since I installed the same contribution on two shops with the same result I feel there is something I am doing wrong or missed. That is why I listed every step I took during installation in hopes you could spot the error I made. I wish I had some debugging tools a former employer had so I could check the status of some of the variables, but unfortunately I don't have such tools available.

I apologize for the lengthly post. I take it you didn't find any errors in my installation based on my previous post?

Thanks for your time. Will try to keep future posts much shorter.

www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a