We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WooCommerce plans to shift from using the WP posts table to a custom table for storing orders. Newspack's code is currently interacting directly with the DB in two places:
WooCommerce_Connection::find_order_by_transaction_id
WooCommerce_Connection::get_subscription_by_stripe_subscription_id
The first instance may be refactored to use an idiomatic WC function. The second depends on Woocommerce Subscriptions' adoption of HPOS.
The text was updated successfully, but these errors were encountered:
This code is no longer in this plugin.
Sorry, something went wrong.
adekbadek
No branches or pull requests
WooCommerce plans to shift from using the WP posts table to a custom table for storing orders. Newspack's code is currently interacting directly with the DB in two places:
WooCommerce_Connection::find_order_by_transaction_id
looks up the WC Order by a transaction IDWooCommerce_Connection::get_subscription_by_stripe_subscription_id
looks up a WC Subscriptions' Subscription post by a custom metaThe first instance may be refactored to use an idiomatic WC function. The second depends on Woocommerce Subscriptions' adoption of HPOS.
The text was updated successfully, but these errors were encountered: