Open tomek-sienicki opened 1 year ago
@pminspire thanks for applying the payment_complete
👍🏿
Can you also add an Auto
state for wc_payment_status_on_bm_success
not to force any status change as in current MR commit?
Forcing it to completed
will set all orders to complete which is bad for physical products (which by default are set to processing).
Forcing it to processing
will set all orders to processing which is bad for virtual + downloadable products only (which by default are set to completed).
Feel free to set the default value 😄 to either empty = Auto
which is the WC behaviour or wc-completed
as it was before and to drop woocommerce_payment_complete_order_status
filter 😉
Thanks!
Use
payment_complete
for success transactions. Add 'Auto' forwc_payment_status_on_bm_success
to leverage default WC status processing.Default WC status processing moves an order to
completed
when there are only virtual downloadable products and leavesprocessing
otherwise.