Many developers are wondering how to customize Magento behavior once an order has been placed. In particular, sometimes a company would like to change the order status to “Pending” and send an invoice to the customer automatically after completing the Magento one page checkout. The following article offers a simple solution for this.