I am not good in server side, can anybody help me with the folowing:
I would like to implement a php script which creates an order in cart.
I am going to remove standart "Start checkout" button, add a new one. The button will open a popup with three fields only - name, phone and email. It will send a request to server, something like /createorder.php.
The script will get all products from cart, create a new user, select any default delivery and payment methods and create an order.
This information is enough for us.
I tried to use Order class but failed with filling all data. Is it possiblel to implement it easy?