Closed eclipse1482 closed 1 year ago
Replace these lines:
With:
$order->payment_complete();
WooCommerce takes care of conditionally setting the order status to processing
or complete
so this plugin shouldn't be bothering to do that too. See: class-wc-order.php
Thank you. I also noticed that my issue was that my test product is virtual only which causes it to return as "completed". Everything is working as expected. Thank you!
Currently, the Woocommerce Order Status is updated to Completed when the payment is received. Is there any way we can change this to "Processing" rather than "Competed"?