I want to know how to create orders programmaticaly without passing through the payement step.
I know it's possible, using helper (or model, but I can't find the link) :
https://webkul.com/blog/create-quote-and-order-programmatically-in-magento2/
But I don't know how to use it. And some methods are deprecated, can anyone help me ?
To sum up : I want to create and order and in the same time, add card product when I click on by "confirm my order". I want my customer to add product to his cart. Then, when he goes on "checkout", my custom page is displaying with some info (such as addresses...). Then when he clicks on "validate", his commande is created in magento but he doesn't had to go to the payment step. The order is created only for information (in magento), because the "real" order will be manage by an API.