Just trying to stop checkout form stay still after checkout form submit complete. As we know WooCommerce checkout form submission done by ajax ?wc-ajax=checkout
. As default after successfully complete an order checkout form redirect to thankyou page but that not what I want to do.
I want after after successfully complete an order checkout form stay still. I will redirect later after done some my own ajax or coding.
I look WooCommerce checkout.js
didn't find any hook or anything to do that, So here I am to ask you guys to know anyone how to do this?
NOTE: My main reason to do this, after order status and payment status before checkout gone to thankyou page but for that I need order id and that's why it need to complete first. hope it make sense.
If you have quest feel free to ask.