Magento 2 Which controller is used for Place Order
-
23-12-2020 - |
Pregunta
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.
Solución 2
I found a starting point in Quote.
Magento\Quote\Model\QuoteManagement::placeOrder
Otros consejos
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();
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange