paytrail / paytrail-for-woocommerce

Paytrail payment service for WooCommerce
MIT License
4 stars 10 forks source link

Add support for High-Performance Order Storage (HPOS) #118

Closed loueranta-paytrail closed 7 months ago

loueranta-paytrail commented 1 year ago

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.

chrisgan commented 10 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

chrisgan commented 9 months ago

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.

loueranta-paytrail commented 7 months ago

This was added in #138