You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When WooCommerce Shipping and Tax is activated with "Automated tax" enabled, configuring product addons during manual order creation throws a JavaScript error in the console.
Console Error
Uncaught TypeError: r.data.indexOf is not a function
File: woocommerce-services-new-order-taxjar-2.8.2.js
Line: if (r.data && r.data.indexOf("woocommerce_calc_line_taxes") > 0)
To Reproduce
Steps to reproduce the behavior:
Install WooCommerce Product Add-ons and configure a global addon.
Go to WooCommerce > Settings > Tax and enable "Automated taxes."
Go to WooCommerce > Orders > Add New, add a line item, then click on the "Configure" button.
Fill in the addon field in the popup, click "Done," and observe the console error.
Expected behavior
The product addon should be configured without errors, and the order process should continue without getting stuck on the loading icon.
Bug Report
Describe the bug
When WooCommerce Shipping and Tax is activated with "Automated tax" enabled, configuring product addons during manual order creation throws a JavaScript error in the console.
Console Error
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The product addon should be configured without errors, and the order process should continue without getting stuck on the loading icon.
Screenshots
Full Size: https://d.pr/i/RAW1tf
The text was updated successfully, but these errors were encountered: