Change Woocommerce cart items tax class based on chosen payment method
问题 I have tried to implement code found on this site in a number of answers from a particular user with regard to refreshing the checkout based on a change to the payment gateway selected or to some other field change. However, when the JS is included in my function file, my checkout is stuck and I have ajax loading animated circles. I've already tried to adapt code from: Trigger ajax update_checkout event on shipping methods change in Woocommerce Update checkout ajax event when choosing a