Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Sales tax not being added to some orders

    zc 1.5.7, just upgraded in July
    php 7.3 (have now upgraded from 5.6 after this happened)
    template - no issues with it / no mods that change core files

    One order added sales tax but three orders later, sales tax is not included. No changes to the site during the week between the two.

    I recently changed the order total to make sure it sets as late as possible before the order_total as it was iffy before:
    up Discount ot_group_pricing 290
    Gift Certificates ot_gv 840
    Low Order Fee ot_loworderfee 400
    Quantity Discount ot_quantity_discount
    Shipping ot_shipping 200
    Sub-Total ot_subtotal 100
    Tax ot_tax 300
    Total ot_total 999

    There are no group or customer discounts at work in the site.

    Comparing the two orders, the products are both turned on for taxable. Both orders are one product only.
    Both the shipping and delivery addresses are california.

    The client was complaining about this problem before the upgrade if I remember correctly. I had checked it and saw nothing wrong then so it wasn't until after the upgrade that I dug into this. I did see this issue when someone used a discount coupon and that's when I changed the sort order in order total. But neither recent order has a discount coupon.

    I had another well-versed zencart person follow behind me to be sure I had checked all the appropriate things and don't think I left anything out here in this post.

    Any ideas?
    Last edited by delia; 12 Aug 2021 at 06:28 PM.
    The full-time Zen Cart Guru. WizTech4ZC.com

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Sales tax not being added to some orders

    This should be a traceable problem - start by outputting the order calculations on each page of the checkout until the order confirmation page. Place the order, then review the order record in the database, find the point at which the numbers change or don't add up correctly.

    You could also login as the customer using the browser/device they use to see what differences there are in the page-by-page output calculations on screen and be certain to check mobile because problems like to lurk there.

    The calculation problem will reveal itself
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Sales tax not being added to some orders

    Are the payment methods the same for the two orders?

  4. #4
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Sales tax not being added to some orders

    Quote Originally Posted by lat9 View Post
    Are the payment methods the same for the two orders?
    Yes, credit card.

    @twitchtoo - a little more than difficult on a live site - especially considering this appears to be random. Hoping for ideas.
    The full-time Zen Cart Guru. WizTech4ZC.com

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Sales tax not being added to some orders

    Quote Originally Posted by delia View Post
    Yes, credit card.

    @twitchtoo - a little more than difficult on a live site - especially considering this appears to be random. Hoping for ideas.
    Turn your credit-card payment method's debug on; at least you'll know if that's where the taxes are getting lost.

  6. #6
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Sales tax not being added to some orders

    never thought of that - but it is authorize.net. logs are now turned on!
    The full-time Zen Cart Guru. WizTech4ZC.com

  7. #7
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Sales tax not being added to some orders

    an order that didn't add tax was of a higher amount according to site owner. The aim log simply shows no tax without being tax exempt for that order. I have checked the order total modules and see no reason for an amount to affect this but it's over 75 or 100 that this happens to (I cannot say this is always the case but the last 3 seem to indicate this). I haven't tested this out yet myself (tomorrow!) but in case this triggers someone's memory?
    The full-time Zen Cart Guru. WizTech4ZC.com

  8. #8
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Sales tax not being added to some orders

    This just appears random - no pattern. doesn't matter the payment method or order amount. It started last Feb, with increasing frequency so she didn't notice for months. Site was upgraded to 1.5.7c from 1.5.6 this last July and the only file changes in Feb was to set the time zone which was overridden in the 1.5.7 upgrade and updated sitemap and Seo urls- again overridden in july. THERE ARE NO CORE FILES OVERRIDDEN.

    I am at a complete loss and my client is getting upset.

    x_ship_to_state] => California
    [x_ship_to_zip] => 92354
    [x_ship_to_country] => United States
    [x_description] => Dead Rodent Odor Eliminator Bundle for 2 Rooms (qty: 1)
    [x_recurring_billing] => NO
    [x_customer_ip] => 76.174.160.221
    [x_po_num] => Oct-10-2021 12:14:20
    [x_freight] => 13.19
    [x_tax_exempt] => FALSE
    [x_tax] => 0
    [x_duty] => 0
    [x_device_type] => 8
    [x_allow_partial_Auth] => FALSE
    [Date] => October 10, 2021, 12:14 pm
    [IP] => 76.174.160.221
    [Session] => 211c3264b0cfc2fc4c5b18cd87c95460
    [x_type] => AUTH_CAPTURE
    The full-time Zen Cart Guru. WizTech4ZC.com

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Sales tax not being added to some orders

    ... and the product has an associated 'Tax Class', right?

  10. #10
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Sales tax not being added to some orders

    yes checked in database
    The full-time Zen Cart Guru. WizTech4ZC.com

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Sales Tax not being passed to PayPal on credit card orders
    By LarryLMiller in forum PayPal Website Payments Pro support
    Replies: 0
    Last Post: 14 Oct 2016, 02:59 PM
  2. Sales tax not being added to order
    By danilyn22 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 Oct 2009, 07:12 PM
  3. Sales Tax is being added to all items regardless of tax class
    By sparrish in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 17 Oct 2008, 05:48 PM
  4. 1.3.7 Sales Tax Not Being Charged On Google Checkout orders
    By kenaniah in forum Addon Payment Modules
    Replies: 5
    Last Post: 16 Apr 2007, 03:54 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