Support » Plugin: WooCommerce Services » Tax not calculated (Staging site)

  • Resolved debonairmen

    (@debonairmen)


    Hello everyone,

    Hope this has not been covered anywhere else. I’m having some trouble getting tax to work on my e-commerce which is launching on the first of May. the website is staged at wpstagecoach where it is being developed. We installed the setup last week and tested it with various international counties and it worked like a charm (U.S / E.U. and National U.K.) However, my co-founder made me aware that the tax wasn’t being calculated on order anymore and I cannot for the life of me see what has changed as it worked last week.

    Woocommerce tax settings

    Jetpack is installed, the Woocommerce plugin is set to the latest version and attached is an image of the settings on Woocommerce >> TAX

    Happy if anyone can assist and please let me know if more information is required.

    Kind Regards

    • This topic was modified 3 months, 1 week ago by debonairmen.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Shaun Kuschel

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @debonairmen!

    If you let me know what the site URL is for the staging site, I can try looking at it from our end to see if there is any info about what is happening.

    However, you can also debug tax calculations for Automated Taxes by going to the WooCommerce > Status > WooCommerce Services page. On that page you can see general connection info and you can toggle debugging and logging options as well.

    Hi Shaun,

    I’d be happy to give you the details for the staging site. Is there a way for me to contact you directly? I need to give you a username and password as the website sits behind a login field.

    I followed your advice on the debugging and logging, turned it all on, and tried calculating tax from the front-end cart. The following appeared in the log:

    04-07-2020 @ 09:23:42 - :::: TaxJar Plugin requested :::: (WCS Tax)
    04-07-2020 @ 09:23:42 - :::: TaxJar API called :::: (WCS Tax)
    04-07-2020 @ 09:23:42 - Requesting: taxjar/v2/taxes - {"from_country":"GB","from_state":"","from_zip":"[REDACTEDPOSTCODE]","from_city":"London","from_street":"[REDACTEDSTREET]","to_country":"SE","to_state":false,"to_zip":"[REDACTEDPOSTCODE]","to_city":"London","to_street":"[REDACTEDSTREET]","shipping":"0.00","plugin":"woo","line_items":[{"id":"6361-87928c85c0380bac44535db909d5bb74","quantity":1,"product_tax_code":"","unit_price":"323","discount":"0"}]} (WCS Tax)
    04-07-2020 @ 09:23:42 - Received: {"tax":{"amount_to_collect":64.6,"breakdown":{"combined_tax_rate":0.2,"country_tax_collectable":64.6,"country_tax_rate":0.2,"country_taxable_amount":323.0,"line_items":[{"combined_tax_rate":0.2,"country_tax_collectable":64.6,"country_tax_rate":0.2,"country_taxable_amount":323.0,"id":"6361-87928c85c0380bac44535db909d5bb74","tax_collectable":64.6,"taxable_amount":323.0}],"shipping":{"combined_tax_rate":0.2,"country_tax_collectable":0.0,"country_tax_rate":0.2,"country_taxable_amount":0.0,"tax_collectable":0.0,"taxable_amount":0.0},"tax_collectable":64.6,"taxable_amount":323.0},"freight_taxable":true,"has_nexus":true,"jurisdictions":{"city":"LONDON","country":"GB"},"order_total_amount":323.0,"rate":0.2,"shipping":0.0,"tax_source":"origin","taxable_amount":323.0}} (WCS Tax)
    04-07-2020 @ 09:23:42 - :: Adding New Tax Rate :: (WCS Tax)
    04-07-2020 @ 09:23:42 - {"tax_rate_country":"SE","tax_rate_state":false,"tax_rate_name":" Tax","tax_rate_priority":1,"tax_rate_compound":false,"tax_rate_shipping":1,"tax_rate":20,"tax_rate_class":""} (WCS Tax)
    04-07-2020 @ 09:23:42 - Tax Rate ID Set for 13 (WCS Tax)
    04-07-2020 @ 09:23:42 - :: Adding New Tax Rate :: (WCS Tax)
    04-07-2020 @ 09:23:42 - {"tax_rate_country":"SE","tax_rate_state":false,"tax_rate_name":" Tax","tax_rate_priority":1,"tax_rate_compound":false,"tax_rate_shipping":1,"tax_rate":20,"tax_rate_class":""} (WCS Tax)
    04-07-2020 @ 09:23:42 - Tax Rate ID Set for 14 (WCS Tax)
    

    I’ve redacted out the shipping address in question and the postcode, but if you need to see the entire code, let me know how I can send this to you directly.

    Hope this helps and do let me know if you need anything more

    Plugin Contributor Shaun Kuschel

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @debonairmen – It looks like it would be a good idea to create a ticket so I can take a look at the staging site.

    Once the ticket is created, just update this thread with the ticket number and I’ll grab it. Thanks!

    debonairmen

    (@debonairmen)

    Hi Shaun,

    fantastic. I’ve raised the ticket as you requested. The code is #2855848
    Looking forward to hearing from you.

    Kind Regards,

    Owen

    Plugin Contributor Shaun Kuschel

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @debonairmen! Thanks for creating that ticket, I just sent a reply with some info and suggested next steps.

    Plugin Contributor Shaun Kuschel

    (@shaunkuschel)

    Automattic Happiness Engineer

    As an update to this specific thread, the issue was related to a slightly outdated version of the Jetpack plugin being used (8.3). After updating the latest version (8.4.1), tax calculations resumed as expected.

    debonairmen

    (@debonairmen)

    Hi Shaun,

    Hope you had a nice Easter. The problem has since returned. I’ve updated the ticket and I hope you will be able to get back to me soon with some further details.

    Regards,

    Owen

    Plugin Contributor Shaun Kuschel

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey Owen! I had a very relaxing, socially-distant Easter and it was great, thanks! Hope you had a great Easter as well! 😀

    I just updated the ticket again, but as I mentioned there, if you see issues again, let us know! Thanks!

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