Closed loueranta-paytrail closed 7 months ago
As part of undertaking this work I have found a bug in WooCommerce that affects the compatibility with HPOS and our module, with regards to refunds. This has been confirmed as bug by the WooCommerce team here https://github.com/woocommerce/woocommerce/issues/44153
We are code complete on the changes and I have tested with the latest nightly build of WooCommerce now that their issue has been resolved. We should wait until Woo Commerce release this fix, and then we can test against that version to confirm compatibility. Until then we will not merge the changes in for this work.
This was added in #138
WooCommerce is migrating from post and metadata based tables to dedicated tables for orders: https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book
So, let's add support for HPOS.