We recently added a new tax class in WooCommerce "Digital Goods - 31000" to all of our virtual subscription products. However we already had 20k+ active subscriptions that we don't believe are sending that tax class on renewals (at least according to TaxJar support and reviewing our exemptions coming in). What is the process for updating these old subscriptions? Use the Recalculate button on each subscription? Add a custom code snippet? Add/Edit a records in the database?
I did look up old subscriptions and in the wp_post_meta I don't see this record: _taxjar_tax_result
However when I press Recalculate on the Subscription the record then appears. Are we suppose to do this for all old subscriptions? What about the Parent Orders?
Actually looks like I could perhaps use a plugin like this to recalculate totals (forked from the original with updated code):
https://github.com/SatelliteWP/woocommerce-subscriptions-recalculate-totals
Or simply run through all subscriptions and run this:
$subscription->calculate_totals(); $subscription->save();
Just needing confirmation on direction here. Thanks!
We recently added a new tax class in WooCommerce "Digital Goods - 31000" to all of our virtual subscription products. However we already had 20k+ active subscriptions that we don't believe are sending that tax class on renewals (at least according to TaxJar support and reviewing our exemptions coming in). What is the process for updating these old subscriptions? Use the Recalculate button on each subscription? Add a custom code snippet? Add/Edit a records in the database?
I did look up old subscriptions and in the wp_post_meta I don't see this record: _taxjar_tax_result
However when I press Recalculate on the Subscription the record then appears. Are we suppose to do this for all old subscriptions? What about the Parent Orders?
Actually looks like I could perhaps use a plugin like this to recalculate totals (forked from the original with updated code):
https://github.com/SatelliteWP/woocommerce-subscriptions-recalculate-totals
Or simply run through all subscriptions and run this:
$subscription->calculate_totals(); $subscription->save();Just needing confirmation on direction here. Thanks!