Support » Plugin: WooCommerce Services » Automatic Taxes No Longer Calculating in WP 5.1.1

  • Resolved seemaxwork2

    (@seemaxwork2)


    I upgraded to WordPress 5.1.1 and updated Woocommerce services to 1.19.0.

    My shipping rates were previously calculated.
    They now all appear as 0.00

    I tired disabling all plugins and switching to one of the standard themes (2017) and it still calculates at 0.00.

    Has something changed with the calculations?
    Is anyone else experiencing this?

    P.S.
    I did not build or design this site. I’m coming in to add ecomm functionality after the fact. Based on the way this site is…I just wanted you all to know that 🙂

    • This topic was modified 4 months, 2 weeks ago by  seemaxwork2.
    • This topic was modified 4 months, 2 weeks ago by  seemaxwork2.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Radoslav Georgiev

    (@radogeorgiev)

    Hi @seemaxwork2!

    It seems like you recently installed the plugin, rather than updating it. Is this correct?

    In any case, as noted in https://docs.woocommerce.com/document/woocommerce-services/, can you confirm that:

    1. “Enable Taxes and Calculations” is enabled?
    2. “Automated Taxes” is set to “Enable Automated Taxes”?
    3. “Prices entered with tax” is set to “No”?

    If everything is already enabled/set correctly, please navigate to WooCommerce > Status > WooCommerce Services in your dashboard. Once there:

    1. Enable “Logging” in the “Debug” section.
    2. Go to the checkout page in order to trigger an automatic tax calculation.
    3. Go back to the status page and forward us the content of the “Taxes Log” field.

    This will help us identify what might be wrong.

    Hi Radoslav,
    Thanks so much for the quick response.
    I may have actually installed this version rather than upgrading to it, apologies for misrepresenting that, not intentional. I installed it earlier, deleted it and then reinstalled it on the live site.
    So it is likely that the version of WooComm Services has remained the same and only the WP version has changed.

    Regardless of the above, I confirmed the settings are correct and then turned on logging.

    This was the resulting information from a purchase coming from Chicago, IL:

    04-04-2019 @ 15:11:40 – :::: TaxJar Plugin requested :::: (WCS Tax)
    04-04-2019 @ 15:11:40 – :::: TaxJar API called :::: (WCS Tax)
    04-04-2019 @ 15:11:40 – Requesting: taxjar/v2/taxes – {“from_country”:”US”,”from_state”:”MI”,”from_zip”:”48071″,”from_city”:”Madison Heights”,”from_street”:”32470 Industrial Dr.”,”to_country”:”US”,”to_state”:”IL”,”to_zip”:”60610″,”to_city”:”Chicago”,”to_street”:”1140 N. Wells”,”shipping”:”10.92″,”plugin”:”woo”,”line_items”:[{“id”:”2547-e2843e785d9f59d6dbad7ca75c88a654″,”quantity”:1,”product_tax_code”:””,”unit_price”:”79.99″,”discount”:”0″}]} (WCS Tax)
    04-04-2019 @ 15:11:40 – Received: {“tax”:{“order_total_amount”:90.91,”shipping”:10.92,”taxable_amount”:0.0,”amount_to_collect”:0.0,”rate”:0.0,”has_nexus”:false,”freight_taxable”:true,”tax_source”:null}} (WCS Tax)
    04-04-2019 @ 15:11:44 – :::: TaxJar Plugin requested :::: (WCS Tax)
    04-04-2019 @ 15:11:44 – :::: TaxJar API called :::: (WCS Tax)
    04-04-2019 @ 15:11:44 – Received: {“tax”:{“order_total_amount”:90.91,”shipping”:10.92,”taxable_amount”:0.0,”amount_to_collect”:0.0,”rate”:0.0,”has_nexus”:false,”freight_taxable”:true,”tax_source”:null}} (WCS Tax)
    04-04-2019 @ 15:11:47 – :::: TaxJar Plugin requested :::: (WCS Tax)
    04-04-2019 @ 15:11:47 – :::: TaxJar API called :::: (WCS Tax)
    04-04-2019 @ 15:11:47 – Received: {“tax”:{“order_total_amount”:90.91,”shipping”:10.92,”taxable_amount”:0.0,”amount_to_collect”:0.0,”rate”:0.0,”has_nexus”:false,”freight_taxable”:true,”tax_source”:null}} (WCS Tax)

    After that I did some research based on the logs and saw there are some discrepancies with MI taxes.
    So I ran a second checkout using a Michigan address as the buyer (to make sure I had a log of an out-of-state address and an in-state address).
    The Taxes were calculated properly and it added rows of data to the standard rates table, which it had not been previously doing:
    https://www.dropbox.com/s/hwr7eptvbup0roz/Screenshot%202019-04-04%2010.32.18.png?dl=0

    Here is the resulting log:

    04-04-2019 @ 15:27:37 – Tax Rate ID Set for 2 (WCS Tax)
    04-04-2019 @ 15:27:39 – :::: TaxJar Plugin requested :::: (WCS Tax)
    04-04-2019 @ 15:27:39 – :::: TaxJar API called :::: (WCS Tax)
    04-04-2019 @ 15:27:39 – Received: {“tax”:{“order_total_amount”:90.21,”shipping”:10.22,”taxable_amount”:90.21,”amount_to_collect”:5.41,”rate”:0.06,”has_nexus”:true,”freight_taxable”:true,”tax_source”:”destination”,”jurisdictions”:{“country”:”US”,”state”:”MI”,”county”:”WAYNE”,”city”:”DETROIT”},”breakdown”:{“taxable_amount”:90.21,”tax_collectable”:5.41,”combined_tax_rate”:0.06,”state_taxable_amount”:90.21,”state_tax_rate”:0.06,”state_tax_collectable”:5.41,”county_taxable_amount”:0.0,”county_tax_rate”:0.0,”county_tax_collectable”:0.0,”city_taxable_amount”:0.0,”city_tax_rate”:0.0,”city_tax_collectable”:0.0,”special_district_taxable_amount”:0.0,”special_tax_rate”:0.0,”special_district_tax_collectable”:0.0,”shipping”:{“taxable_amount”:10.22,”tax_collectable”:0.61,”combined_tax_rate”:0.06,”state_taxable_amount”:10.22,”state_sales_tax_rate”:0.06,”state_amount”:0.61,”county_taxable_amount”:0.0,”county_tax_rate”:0.0,”county_amount”:0.0,”city_taxable_amount”:0.0,”city_tax_rate”:0.0,”city_amount”:0.0,”special_taxable_amount”:0.0,”special_tax_rate”:0.0,”special_district_amount”:0.0},”line_items”:[{“id”:”2547-e2843e785d9f59d6dbad7ca75c88a654″,”taxable_amount”:79.99,”tax_collectable”:4.8,”combined_tax_rate”:0.06,”state_taxable_amount”:79.99,”state_sales_tax_rate”:0.06,”state_amount”:4.8,”county_taxable_amount”:0.0,”county_tax_rate”:0.0,”county_amount”:0.0,”city_taxable_amount”:0.0,”city_tax_rate”:0.0,”city_amount”:0.0,”special_district_taxable_amount”:0.0,”special_tax_rate”:0.0,”special_district_amount”:0.0}]}}} (WCS Tax)
    04-04-2019 @ 15:27:39 – :: Adding New Tax Rate :: (WCS Tax)
    04-04-2019 @ 15:27:39 – {“tax_rate_country”:”US”,”tax_rate_state”:”MI”,”tax_rate_name”:”MI Tax”,”tax_rate_priority”:1,”tax_rate_compound”:false,”tax_rate_shipping”:1,”tax_rate”:6,”tax_rate_class”:””} (WCS Tax)
    04-04-2019 @ 15:27:39 – Tax Rate ID Set for 3 (WCS Tax)
    04-04-2019 @ 15:27:39 – :: Adding New Tax Rate :: (WCS Tax)
    04-04-2019 @ 15:27:39 – {“tax_rate_country”:”US”,”tax_rate_state”:”MI”,”tax_rate_name”:”MI Tax”,”tax_rate_priority”:1,”tax_rate_compound”:false,”tax_rate_shipping”:1,”tax_rate”:6,”tax_rate_class”:””} (WCS Tax)
    04-04-2019 @ 15:27:39 – Tax Rate ID Set for 4 (WCS Tax)

    I have to imagine this company is doing the type of business that would require them to collect tax on sales to all states (from my reading of this article https://www.taxjar.com/states/michigan-sales-tax-online/#do-you-have-sales-tax-nexus-in-michigan)
    It’s also strange that it was previously calculating tax for other states and now is not.

    Sorry for all the info, just want to make sure I save you the trouble of a lot of back and forth.

    Cheers,
    Max

    • This reply was modified 4 months, 2 weeks ago by  seemaxwork2.
    • This reply was modified 4 months, 2 weeks ago by  seemaxwork2.
    Plugin Contributor Radoslav Georgiev

    (@radogeorgiev)

    > I have to imagine this company is doing the type of business that would require them to collect tax on sales to all states

    WooCommerce Services works with a single Nexus. If the company needs to collect taxes outside of theirs, this means that they have multiple sales tax nexuses. If this is the case, you would need to use the TaxJar (https://wordpress.org/plugins/taxjar-simplified-taxes-for-woocommerce/) extension.

    > It’s also strange that it was previously calculating tax for other states and now is not.

    Is it possible that they have used the TaxJar extension previously? This should not have been possible with WCS.

    Radoslav,
    Thanks again for the response.

    > WooCommerce Services works with a single Nexus.
    I apologize for my ignorance on Nexus’, but wouldn’t sales tax be calculated on all sales? Is this different because of the sellers location? The log seemed to suggest there was no nexus for Illinois (or any other state I tested). Does that mean the plugin will only calculate tax for sales that take place within the same state.

    > Is it possible that they have used the TaxJar extension previously? This should not have been possible with WCS.

    I wasn’t using tax jar. But perhaps someone changed the store location or something from Michigan to Illinois while I was testing and I was only testing sales in Illinois, where I am from. This is a moot point since the plugin is working. But I did want to respond regardless.

    Plugin Contributor Radoslav Georgiev

    (@radogeorgiev)

    Does that mean the plugin will only calculate tax for sales that take place within the same state.

    Yes.

    But perhaps someone changed the store location or something from Michigan to Illinois while I was testing and I was only testing sales in Illinois, where I am from. This is a moot point since the plugin is working.

    This seems to be the case.

    I am marking the topic as resolved, feel free to reopen it if you have further questions.

    Resolved indeed.
    As is so often the case, the issue was more ignorance and user error than technical error.
    Thanks very much for the patience and time.
    Cheers.

    I’m confused by the above question and answer:
    Does that mean the plugin will only calculate tax for sales that take place within the same state.

    Yes.
    I have my settings to calculate tax based on shipping address. My test order is shipping to California, which has sales tax. Zero tax is showing. Are you saying WooCommerce Services is NOT going to calculate the tax?

    @kkifer your confusion is understandable and is likely the same confusion I had.

    Taxjar will only use a single nexus to calculate sales tax.
    This means that tax will only be collected for the state you are physically in (your company address determines which Nexus Taxjar uses).

    The way sales tax is calculated for online sales is complicated (needlessly so one might say).
    I would suggest reading this article, I found it very helpful:
    https://blog.taxjar.com/sales-tax-nexus-definition/

    Depending on the type of business you are doing in each state you may not even be obligated to collect tax outside your physical state / elsewhere.

    If you need to collect automatically in all states for some reason you’ll need to pay for a tax plugin that allows you to utilize all Nexus’.

    Thanks for the clarification. I’m in a state with no sales tax but I’m sure we have Nexus in California so that may be the only state we have to collect tax for. I’m running this by the tax person. If so it sounds like I will need a plug-in more sophisticated than WooCommerce Services.

    Ummm. I don’t mean to interrupt but a single nexus doesn’t mean that you can only collect taxes within your own state. That’s pointless. I’m in WA and I have to collect taxes on all online sales based on “destination tax.” A single nexus means that the program can only calculate taxes from a single store location (eg: single state). If you have multiple stores in multiple state, then a single nexus will not work for you. Woocommerce services should work and auto-calculate taxes for all sale destinations in all states if you only have one store address that’s needed.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.