WooCommerce Order Completion
This page explains how WooCommerce Order Completion works in China Payments Plugin.
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.
If your orders are not auto-completing and you want them to do so, then the workaround would be to ensure that your products are marked as both Virtual and Downloadable.
Alternatively, you can use a plugin like Autocomplete WooCommerce Orders or Order Status Control.
Marking products as both Virtual and Downloadable may enable the Downloads menu item in the WooCommerce Account area accessed by users. This can be hidden with CSS.
Payment Confirmation
We've optimized China Payments Plugin with 3 methods for verifying payment confirmation:
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:
For developers, the registered Action is china_payments_woocommerce_background_payment_check
Last updated