How to create a function to create order based on data passed in from mobile app? I know woocommerce have their order api but their create_order is only called after payment checkout?
I want to create a create_order function to pass in exact data like woocommerce api but just not after payment checkout success. I'm assuming payment already success.
and woocommerce Points & rewards extension is use to add discounts
Any Idea? help please thanks
With help from someone problem solved