-
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
Loading indefinitely M2.3.3 #23
Comments
I am having the same issue. When "Cash on delivery " is selected the browser does an AJAX call to recompute the totals which fails and logs the following error in exception.log: Report ID: webapi-615189885e89f; Message: Infinite loop detected, review the trace for the looping path {"exception":"[object] (Exception(code: 0): Report ID: webapi-615189885e89f; Message: Infinite loop detected, review the trace for the looping path at /var/www/public_html/vendor/magento/framework/Webapi/ErrorProcessor.php:208, LogicException(code: 0): Infinite loop detected, review the trace for the looping path at /var/www/public_html/vendor/magento/module-checkout/Model/Session.php:241)"} [] Printing a trace at the exception handler shows that COD extension code to calculate totals is called recursively |
Here is the backtrace as promissed.
|
Having another look at it, it seems the following code in
only serves to apply the fee in case Cash-on-delivery is the only available method regardless if it is selected or not. Personally I think this is unnecessary (the payment method should be selected for the fee to apply anyway). Removing these 4 lines fixes the issue. |
As soon as I check the cash on delivery payment option it starts loading and never stops. I cannot proceed with the order unless I reload the page which of course doesn't work again.
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: