-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problema con customer / prodotti disattivati #12
Comments
Translated Hi we are experiencing the same issue. Our e-shop freezes even on login or customer save. After days of debugging we found out that the problem occurs from this module. |
It seems the problem occurs when \MSP\CashOnDelivery\Model\Total\Quote\AbstractTotal::_canApplyTotal() fetches the quote once again using $this->paymentMethodManagement->getList($quote->getId()). This method fetches the whole quote again (using \Magento\Quote\Model\Quote::loadByIdWithoutStore() instead of \Magento\Quote\Model\Quote::loadByCustomer() that was used on customer save) entering an infinite loop. |
A possible fix would be to add \Magento\Payment\Model\MethodList $methodList to the constructor of \MSP\CashOnDelivery\Model\Total\Quote\AbstractTotal and fetch the available methods using $this->methodList->getAvailableMethods($quote). |
Salve,
quando elimino o disattivo un prodotto che e' stato messo in un carrello da un customer ed il customer si ricollega, il sistema si blocca. Disattivando il vostro modulo tutto torna a funzionare. Vi è gia' successo ?
The text was updated successfully, but these errors were encountered: