Magento 2 Which controller is used for Place Order
-
23-12-2020 - |
سؤال
I find myself unable to place orders.
I wish to debug this.
Which controller is invoked/used when the place order button is clicked? I would like to put a break point and start from there thanks.
المحلول 2
I found a starting point in Quote.
Magento\Quote\Model\QuoteManagement::placeOrder
نصائح أخرى
First controller on place order is
Magento\Checkout\Controller\Onepage\SaveOrder.php
firstly it performs validation, if validation passed then It goes to
$this->getOnepage()->saveOrder();
لا تنتمي إلى magento.stackexchange