• Resolved boutrossamir

    (@boutrossamir)


    I am using jetpack for automatic tax calculations. When users enter a zip code that is not a 5 digits (ex: 95391eeee) the taxes shows as zero. A user is able to avoid paying taxes with this serious bug

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @boutrossamir!

    I believe you are referring to the WooCommerce Shipping & Tax extension. This extension allows automated tax calculation using the Jetpack connection as mentioned here.

    But, if you are referring to something else, let us know.

    It seems you removed the extension from your site as I couldn’t test it there.

    I tried to replicate the issue on my test site; but, noticed that upon clicking the “Place Order” button, the system throws an error if an invalid postal code is entered.

    Here is the screenshot for your reference: https://d.pr/i/uF4itF

    5-digit zip codes and 9-digit zip+4 codes work fine. The form will only submit if a valid code is entered.

    In your case, the TAX would be displayed as 0 as the system couldn’t determine the exact location according to which the TAX needs to be applied because of the invalid zip code. The checkout form cannot be submitted in this case.

    Were you able to submit the Checkout form and confirm your order with an invalid zip code?

    Best!

    Hi again @boutrossamir!

    I have been doing some testing and was able to replicate the problem. This seems to be a bug. Invalid zip codes allow users to bypass TAX as it gets set to 0; but this is not always replicable.

    As per my tests, the following zip code resulted in 0 TAX calculation: California – 883307241

    Interestingly, the zip code 88330-7241 works as expected and throws the ZIP code not found error (this zip code belongs to New Mexico). But, using 883307241, users are able to submit the form and thus avoid the TAX.

    This seems to be a bug. I’ll get back to you soon on this.

    Best!

    I have notified the concerned team about the issue here: https://github.com/Automattic/woocommerce-services/issues/2586

    You can subscribe to this Github thread to receive status updates. This report has all the details that I could find. If you wish to add anything to this report, please reply back to this thread, and we’ll add the information.

    Thank you for bringing this to our notice.

    Best!

    Thread Starter boutrossamir

    (@boutrossamir)

    @pranavrana89 Thank you so much, I will be following up on that.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘automatic tax calculation reflects ZERO when zip code is longer that five digits’ is closed to new replies.