Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 50
  1. #21
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Incorrect processing of Tax

    I've been investigating this issue and have come up with a reason that it is failing.

    The biggest issue relates to how customer accounts are being created, and maybe you can confirm.
    The current default in Zen Cart is not to use dropdowns for state zones. e.g states are entered free hand.

    In this scenario the entered State is not checked against the potential states allowed for a country
    e.g I can enter a state called "florid" and there will be no validation on this, even if a correct state is entered it still wont be validated against correct states allowed for the country id subsequently the entry zone id in a customer address book is set to 0

    Furthermore all of our tax calculations attempt to match a tax zone id against an adddressbook entry zone id and will never match as the addressbook entry zone id is always 0

    There are mitigations we can make here. e.g trying to find the real zone id from the country id/state in the zone table and this will work if the customer has entered a valid state name (e.g FL or Florida) but will fail if they have entered an incorrect state name .e.g. "florid"

    I do have some ideas how we can further mitigate if the customer has entered an invalid state name, but this requires an intervention at various places in code

    Will post more about this

  2. #22
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,154
    Plugin Contributions
    11

    Default Re: Incorrect processing of Tax

    I the non-functioning test site, we have only one customer. That customer's entry_zone_id is correctly shown in the database. zone_counry_id - 23, zone_id - 57, zone_code - TX and zone_name - Texas. The store is set to Florida and all buttons are in the green.

    The test site also does not use dropdown state information for log in. BUT, some browsers enter the data with autofill.

  3. #23
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Incorrect processing of Tax

    k. thanks.
    then it maybe there is something else going wrong.
    will do a quick test with your data.
    Last edited by wilt; 30 Nov 2023 at 11:36 PM.

  4. #24
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,154
    Plugin Contributions
    11

    Default Re: Incorrect processing of Tax

    It's greatly appreciated.

    I can provide full access if needed.

  5. #25
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Incorrect processing of Tax

    Just another question.

    Assume your scenario is this

    Store is set to be in Florida e.g STORE_ZONEi 18, STORE_COUNTRY = 223
    Customer is in Texas with correct entry zone id in database

    Surely Florida tax regs say you only collect tax on an in state customer, but not for out of state

  6. #26
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,154
    Plugin Contributions
    11

    Default Re: Incorrect processing of Tax

    I set it to Florida to match the test site created by lat9

    Shouldn't it make no difference as Zen Cart is told rather than decides how to procecss tax?

    We're still telling it to display at product (doesn't when returning to the shopping cart) and collect based on the store (does sometimes but does not include the amount in the total).

  7. #27
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Incorrect processing of Tax

    I think we might be getting confused here and I'm not grokking what your expected outcome is

    If I set product tax to be 'Store' based then Zen Cart will only calculate some tax if the customer is in the same 'zone' as the store.
    Therefore if the store is Florida and the customer is in Texas then tax will be calculated at zero

    think all the posts in this thread might be confusing what your main issue is

    Happy to go back to first principles

  8. #28
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Incorrect processing of Tax

    Note as well
    US sales/shipping tax related to e-commerce is a nightmare

    e.g. California has a mix of origin and destination based taxes (its always California)

    and there are some things Zen Cart does not handle (eg county/district based taxes)

    Lots of rich tax lawyers out there.

  9. #29
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,154
    Plugin Contributions
    11

    Default Re: Incorrect processing of Tax

    Quote Originally Posted by wilt View Post
    If I set product tax to be 'Store' based then Zen Cart will only calculate some tax if the customer is in the same 'zone' as the store.
    If this is true, how can our customer (New Mexico) comply with his state’s tax law that requires he charge tax on all sales?

    Isn’t that what tax based on store should really do?

  10. #30
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,154
    Plugin Contributions
    11

    Default Re: Incorrect processing of Tax

    To begin again, again....

    Store is based in New Mexico. You can find information that New Mexico store owners both do (07/23) and do not (07/21) have to charge tax to all customers.

    I have been unable to get a response from New Mexico's tax folks as to the TRUE setting. Meanwhile, we have to go with tax applied to anyone shopping at the site and sending anywhere.

    The zone has to be set in order to determine the amount of tax (it's Gross Receipts vs Sales Tax in New Mexico), correct?

    If the goal is to charge everyone who visits the site a tax rate of 7.72%, what would be the settings in Zen Cart to facilitate this process?

    I have been unable to find any combination that accomplishes this.

 

 
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. v1.3.8a incorrect display of tax
    By frenchy232 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 2 Nov 2010, 12:22 AM
  2. Sales tax calculations incorrect.
    By hedera in forum Bug Reports
    Replies: 39
    Last Post: 20 Nov 2008, 05:19 PM
  3. Replies: 0
    Last Post: 13 Jun 2008, 12:57 PM
  4. Incorrect tax calculations
    By RobWUK in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 5
    Last Post: 5 Jun 2008, 08:04 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR