I need to get order id right in checkout page of woocoommerce and before going for payment and order actually created, I look at all sessions and find out when order goes for payment a order_awaiting_payment session make, but I need it before going for payment, so I think about a solution that is make order when checkout page loaded (In fact make it ready for payment) and when checkout real complete update it.
I think there is some hook for this but I can’t find them. I really appreciate if someone know that hooks or at least another solution for this

Read more here: How to get order id in checkout page woocommerce before order go for payment


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: