Results 1 to 10 of 659

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    934
    Plugin Contributions
    9

    Default Re: Local Sales Tax Mod - Support Thread

    Looking for help.

    Running the module, as is, running into two problems.

    First, the module is adding the result local sales tax twice. I configured it for New York City which is New York State's 4% Sales Tax + NYC's 4.875%. Which totals 8.875%.

    However, running an order through: The total tax being calculated is: The "state" sales tax of 4% + The City Tax of 4.875% + The City Tax of 4.875%. I went through and made sure the entry for the City was only entered once. But I cannot see where to stop the tax is being calculated twice.

    Additionally, when the order is ran against a payment module: say PayPal, Stripe, Square, etc., the local sales tax module is completely bypassed and ignored.

    Debugging the cart, I can see the per item tax is being calculated as 13.75% (aka 4% + 4.875% + 4.875%) and that the tax description is "State Tax + County Tax + County Tax".


    Looking for any assistance on the matter.

    EDIT: Seems this is kind of a known issue of sorts (https://www.zen-cart.com/showthread....-Sales-Tax-mod)

  2. #2
    Join Date
    Apr 2019
    Posts
    349
    Plugin Contributions
    0

    Default Re: Local Sales Tax Mod - Support Thread

    Quote Originally Posted by retched View Post
    Looking for help.

    Running the module, as is, running into two problems.

    First, the module is adding the result local sales tax twice. I configured it for New York City which is New York State's 4% Sales Tax + NYC's 4.875%. Which totals 8.875%.

    However, running an order through: The total tax being calculated is: The "state" sales tax of 4% + The City Tax of 4.875% + The City Tax of 4.875%. I went through and made sure the entry for the City was only entered once. But I cannot see where to stop the tax is being calculated twice.

    Additionally, when the order is ran against a payment module: say PayPal, Stripe, Square, etc., the local sales tax module is completely bypassed and ignored.

    Debugging the cart, I can see the per item tax is being calculated as 13.75% (aka 4% + 4.875% + 4.875%) and that the tax description is "State Tax + County Tax + County Tax".


    Looking for any assistance on the matter.

    EDIT: Seems this is kind of a known issue of sorts (https://www.zen-cart.com/showthread....-Sales-Tax-mod)
    Just my 2C.

    When I installed this plug-in, I disabled the original tax rate for my state, which is under locations/taxes - Tax Rates. I set the tax rate there to 0. I didn't delete it there. Then I only use local sales tax to calculate the total tax rate for every zipcode.

    I'm not sure, if I didn't disable the zc tax rate, will it be double counted or not.

    For your 2nd question, I'm using paypal legacy module. So on paypal end, it cannot see how much tax was charged for every order. But the total order amount is correct (goods+shipping+tax). In the past before I installed this plug-in, I can see a separate row in paypal transaction showing the tax.

    But for other places such as order confirmation email or zc back end order details, I can see a separate row for the sales tax.
    Last edited by njcyx; 9 Dec 2024 at 10:07 PM.

  3. #3
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    934
    Plugin Contributions
    9

    Default Re: Local Sales Tax Mod - Support Thread

    Quote Originally Posted by njcyx View Post
    Just my 2C.

    When I installed this plug-in, I disabled the original tax rate for my state, which is under locations/taxes - Tax Rates. I set the tax rate there to 0. I didn't delete it there. Then I only use local sales tax to calculate the total tax rate for every zipcode.

    I'm not sure, if I didn't disable the zc tax rate, will it be double counted or not.

    For your 2nd question, I'm using paypal legacy module. So on paypal end, it cannot see how much tax was charged for every order. But the total order amount is correct (goods+shipping+tax). In the past before I installed this plug-in, I can see a separate row in paypal transaction showing the tax.

    But for other places such as order confirmation email or zc back end order details, I can see a separate row for the sales tax.
    Actually managed to get it to work with the Squash Taxes module (they should just be combined at this point). I'm working on submitting my changes to both shortly. Still don't see why it was being added twice.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Local Sales Tax Mod - Support Thread

    > Still don't see why it was being added twice.
    I have seen the same issue. The order line items all look good, but the entry in orders_products.products_tax is doubled, as you note.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Local Sales Tax Mod - Support Thread

    v3.0.0 of Local Sales Tax is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=422

    Released as a Zen Cart encapsulated plugin, supporting zc210+, EO 5.0.0+ and PHP 8.0+.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Local Sales Tax Mod - Support Thread

    Small tweak: in readme_local_sales_tax.html, the h1 title is wrong. (Says "Optional/Required Shipping Insurance")
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Local Sales Tax Mod - Support Thread

    Quote Originally Posted by swguy View Post
    Small tweak: in readme_local_sales_tax.html, the h1 title is wrong. (Says "Optional/Required Shipping Insurance")
    Thanks, updated on GitHub.

  8. #8
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    934
    Plugin Contributions
    9

    Default Re: Local Sales Tax Mod - Support Thread

    For anyone trying to use the 2.5.3 uninstall script to move up to 3.0.0, there is a problem with the uninstall script:

    Around line 36 in /YOUR_ADMIN/includes/init_includes/init_local_sales_taxes_uninstall.php:

    PHP Code:
    if(defined(MODULE_ORDER_TOTAL_COUNTY_LOCAL_TAX_STATUS)) { 
    Replace with :

    PHP Code:
    if(defined('MODULE_ORDER_TOTAL_COUNTY_LOCAL_TAX_STATUS')) { 
    This should clear the 500 server errors that pop up.

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Local Sales Tax Mod - Support Thread

    Quote Originally Posted by retched View Post
    For anyone trying to use the 2.5.3 uninstall script to move up to 3.0.0, there is a problem with the uninstall script:

    Around line 36 in /YOUR_ADMIN/includes/init_includes/init_local_sales_taxes_uninstall.php:

    PHP Code:
    if(defined(MODULE_ORDER_TOTAL_COUNTY_LOCAL_TAX_STATUS)) { 
    Replace with :

    PHP Code:
    if(defined('MODULE_ORDER_TOTAL_COUNTY_LOCAL_TAX_STATUS')) { 
    This should clear the 500 server errors that pop up.
    FWIW, the encapsulated version takes care of the upgrade itself.

 

 

Similar Threads

  1. v151 Tax getting added twice after installing Local Sales Tax mod
    By RFree190 in forum General Questions
    Replies: 0
    Last Post: 19 Mar 2013, 05:10 AM
  2. v150 Problem with Local Sales Tax mod
    By pwithers in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 Jun 2012, 10:16 PM
  3. local sales tax mod not working
    By sharpie82 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 12 Dec 2011, 11:43 AM
  4. New York State Sales Tax by Zip Full Database for Local Sales Tax Mod 2011
    By SCHNiKEN in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 11 Apr 2011, 04:51 AM
  5. Local Sales Tax Mod and Reward Points Mod
    By retched in forum Addon Payment Modules
    Replies: 1
    Last Post: 9 Feb 2011, 02:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg