Woo create order only after payment done
I would normally make this a comment but I believe it warrants an answer. You should not circumvent the order process of WooCommerce because the order itself represent the state of the order and its transaction regardless of whether the transaction (payment) fails or succeeds. You need to consider: what happens if the payment succeeds … Read more