WooCommerce Order Completion#
By default, WooCommerce will only auto-complete paid orders for products that are both Virtual and Downloadable, assuming that the shop needs to fulfill/ship any orders that don’t meet these criteria.
Payment Confirmation#
We've optimized China Payments Plugin with 3 methods for verifying payment confirmation:
- Webhook Configuration
- User Callback
- Cron Checks
For high-volume sites (>1 order per minute), it may be beneficial to disable the cron checks in order to optimize performance.
In order to disable cron checks, please add this custom code to your theme-functions.php file:
add_filter( 'china_payments_woocommerce_has_background_payment_check', '__return_false' );
For developers, the registered Action is china_payments_woocommerce_background_payment_check