taxjar / taxjar-woocommerce-plugin

WooCommerce Sales Tax Plugin by TaxJar
http://www.taxjar.com/woocommerce-sales-tax-plugin/
GNU General Public License v2.0
28 stars 29 forks source link

Beta updates for HPOS support #246

Closed smolentzov-stripe closed 1 year ago

smolentzov-stripe commented 1 year ago

WooCommerce is introducing High Performance Order Storage (HPOS) to optimize its database for eCommerce needs: https://woocommerce.com/document/high-performance-order-storage/ Per WooCommerce: "It uses the WooCommerce CRUD design to store order data in custom tables – optimized for WooCommerce queries with minimal impact on the store’s performance." The TaxJar WooCommerce plugin was already largely using the WooCommerce CRUD tables.

This PR:

Steps to Reproduce Enable High-Performance Order Storage as described here: https://woocommerce.com/document/high-performance-order-storage/ Switch over to “Use WooCommerce order tables” and “Keep the post tables and the order tables synchronized”.

Expected Result Test common store functions and ensure normal behavior. Order creation, sales tax calculation, and syncing to your TaxJar account should all work as normal.

Click-Test Versions

Specs Passing

Note that the feature flag to enable HPOS was introduced in WooCommerce version 7.1: https://developer.woocommerce.com/2022/11/08/woocommerce-7-1-0-released/

a432511 commented 1 year ago

Nice work! Do you know when this will be released? @smolentzov-stripe