-
Notifications
You must be signed in to change notification settings - Fork 4
Magento Checkout Process
Kevin Pheasey edited this page Sep 29, 2015
·
2 revisions
Checkout Control Flow
* Call Mage_Sales_Model_Service_Quote submitAll()
*
* https://github.com/gemgento/magento/blob/master/public/app/code/community/Smile/Globalcollect/Model/Cart
* Call Mage_Sales_Model_Service_Quote submitOrder()
*
* https://github.com/gemgento/magento/blob/master/public/app/code/local/Mage/Sales/Model/Service/Quote.php#L268-268
* addCommitCallback for order place and order save on a transaction
*
* https://github.com/gemgento/magento/blob/master/public/app/code/local/Mage/Sales/Model/Service/Quote.php#L188-189
* Callbacks are triggered when transaction is saved
* After transaction is saved, the quote is made inactive
*
* https://github.com/gemgento/magento/blob/master/public/app/code/local/Mage/Sales/Model/Service/Quote.php#L198-198
* Callback Calls Mage_Sales_Model_Order place()
*
* https://github.com/gemgento/magento/blob/master/public/app/code/core/Mage/Sales/Model/Order.php#L1092-10
* Call Mage_Sales_Model_Order _placePayment()
*
* https://github.com/gemgento/magento/blob/master/public/app/code/core/Mage/Sales/Model/Order.php#L875-875
* Call Mage_Sales_Model_Order_Payment place()
*
* https://github.com/gemgento/magento/blob/master/public/app/code/core/Mage/Sales/Model/Order/Payment.php#L275-275
* Initialize payment process
*
* https://github.com/gemgento/magento/blob/master/public/app/code/community/Smile/Globalcollect/Model/Method/Abstract.php#L656