woocommerce / woocommerce-blocks

(Deprecated) This plugin has been merged into woocommerce/woocommerce
https://wordpress.org/plugins/woo-gutenberg-products-block/
GNU General Public License v3.0
403 stars 219 forks source link

TAX rate not updating after changing the country on Checkout page. #8015

Closed regedy1 closed 1 year ago

regedy1 commented 1 year ago

Describe the bug

The TAX rate is not updating on checkout page after changing the country.

To reproduce

Steps to reproduce the behavior:

  1. add product
  2. go to checkout
  3. change the country in billing address / shipping address
  4. the tax rate is not updating in the total price table

Expected behavior

The standard woocommerce checkout works with updating the tax rate according to the country.

Environment

WordPress (please complete the following information):

senadir commented 1 year ago

Taxes update when you persist an address to the server, and addresses are persisted when they're complete (no errors or empty required fields) after that each change will trigger a new update as well.

Are you sure you filled all of the fields?

regedy1 commented 1 year ago

With the old checkout, even just selecting a country leads to an update of the tax rate.

With the checkout block, I filled out every field and it doesn't refresh.

Screenshot 2022-12-22 at 18 38 36 Screenshot 2022-12-22 at 18 38 48 Screenshot 2022-12-22 at 18 41 39
senadir commented 1 year ago

To confirm a similar bug we have, do you happen to have the terms and condition block added and set to Checkbox?

regedy1 commented 1 year ago

I couldn't see a difference whether the terms and conditions with checkbox were on or off. Still no VAT update. I even removed the T&C block, but it still didn't work.

Also deactivated all plugins and only had Woocommerce + Woocommerce Blocks left. 🤔

Screenshot 2022-12-22 at 20 33 00 Screenshot 2022-12-22 at 20 40 10
regedy1 commented 1 year ago
Screenshot 2022-12-22 at 20 45 11