I am providing web services of Magento to an Android app and wanted to create order with payment information and status completed.
My app will give information of sold product with payment information then I have to create sales orders immediately in Magento with complete status and payment information.
I followed this link and various other links but it creates order with status pending and payment is due.
I have to create sales order with complete status and with done payment.
The order shows like:
Grand Total $0.01 **Total Paid $0.00** Total Refunded $0.00 Total Due $0.01 Subtotal $0.01 I need total paid =$0.01;