I want to support such a workflow that customer pre-order some custom product (ex. t-shiths with it's own design, color and so on). I created my own custom payment plugin and modify checkout code that when the product is pre-ordered so I push step to go toward my payment which is only changing order and payment status.
But I have no idea how to make next step means:
- after checking pre-order content I want to be able to set calculated price for order (manually set it in the order detail page)
- but when the price is set I want to give the order for customer to pay - the best way is (maybe) put the order again for shippment and payment process so the customer can pay using set it payment methods and finish order.
Do You have any idea how to make it ?
May I push order to the client cart and to the order process again ?