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;

After you place the order you will need to create an invoice for it. Once you create the invoice for the full amount of the order, it will automatically be placed into the completed state.

See the answer I posted here for a bit more detail on how this works: Force an order to go to the status complete

Not the answer you're looking for? Browse other questions tagged or ask your own question.