How to create an order in woocommerce dinamically?

I have a "service" that I wanted to take as a "product" in Woocommerce just to use the payment method of this plugin.

I've tried add to cart woocommerce's function and create an order in admin-post with data coming from a form but i don't think i'm doing in the right way.

I sent an array from a form to my admin-post with an action and i would like to take this array and put it in my "product" and create an order, that to woocommerce takes it and my user can pay for it.