Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Programmatically “Place” an order? 
 
jaafit
Jr. Member
 
Total Posts:  2
Joined:  2012-07-02
 

My cart is customized so that right above the “Place Order” button there are instructions for paying for the order.  I have customers who follow these instructions and send payment, but forget to then click “Place Order.”

Is there a way to have my IPN listener programmatically “Place” the order when it sees payment has arrived?  I have the quoteID and can get the order like this:

$order Mage::getModel('sales/order')->load($quoteId'quote_id');
but then what?
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top