function to custom order
Is there any way for me to call a function and pass parameters like
customer details billing details shipping details
and perch would save the order in database ?
I already have items in cart, but due to my checkout flow being highly customized, I am having trouble posting order to perch shop.
it would be nice if there was a function that will help me do this, so I could pass array or information in some format to save order.