-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Checkout stuck step 2 (payment) on Firefox only #7186
Comments
I have exactly the same issue on Magento 2.1.0, it happens sporadically so I can't provide further details as to how to replicate it other than what @miro91 has already written. I can however tell you that for us, we have replicate it on Google Chrome and Safari so I don't think this is specific to the Firefox browsers. There is nothing in the logs nor in the browser console when the issue happens which makes it really hard, if not impossible to debug. |
I have the same issue on two different projects, one is running 2.0.9 and the other is running 2.1.0. Is there a solution for this? |
@dcabrejasazagra @Loxzibit are your stores set in production mode? |
@jupiter01 I have managed to replicate this issue on both production and developer mode |
We are also experiencing this issue on 2.1.0. As @miro91 said after refresh it works fine, we have found the issue across all browsers. |
@dcabrejasazagra @Loxzibit @studiotwentyeleven is a Varnish obligatory for reproducing? |
@SerhiyShkolyarenko I can replicate it on local without Varnish. Also I was able to get this issue on Chrome, not only on FF |
@miro91 @studiotwentyeleven @SerhiyShkolyarenko I didn't use Varnish, I have put in place a quick work around for this issue : Override the following file in your theme : |
OK, let's sum up: issue is reproducible on 2.1.0 and 2.0.9, it doesn't depend on browser and doesn't depend on Varnish. |
We're able to replicate this, Preconditions Happening as a guest (haven't tested a logged in customer), the issue is occurring 90% of the time. |
@KevinMace (and everyone else) which payment and shipping methods are enabled for you? |
@SerhiyShkolyarenko We've seen the issue using multiple payment and shipping methods. There doesn't seem to be a specific method or combination of methods that triggers this issue. |
@SerhiyShkolyarenko We have the following setup and it seems to only be happening for guest. Payment Methods:
Shipping Methods:
|
@KevinMace @Loxzibit thanks! |
@SerhiyShkolyarenko I am also using Ebizmarts SagePay Suite and Paypal same as @Loxzibit I think that we had this issue before installing SagePay extension but I am not sure. I need to remove it and try again to confirm on 100%. |
@miro91 thanks! |
We have also been experiencing this issue or a very similar issue. Chrome & Firefox
The issue is at Payment Selection the loader does not disappear. I note that there appears to be 2 loaders in use! I can set the loader that fails to clear to be hidden using CSS (display none) and can continue checkout without issue. The problem appears to be purely that one of the the loaders is not being removed. Once loader is stuck it tends to persist. Refreshing payment section #payment causes loader to disappear. Clearing browser cookies resolves problem. The stuck loader is initiated on the shipping section, then a second loader appears briefly over the top of the stuck loader once the payment section is loaded. When loading is stuck the following markup is present in the page.
At this point I want to understand what is initiating the loader and I will eliminate our theme by using Luma and the SagePay extension by disabling this. As a work around I have added the following css to the "Scripts & Style Sheets" configuration as a work around / quick fix (hides all loading masks for the checkout):-
Thanks Side Point: I have noted that the Pinterest Chrome Extension appears to conflict with the page causing an error when I experience the issue. I will post details of this error found in console when i recreate it. |
@miro91, thank you for your report. |
This issue didn't start for me until I added shipping options (UPS/USPS). I was able to test for weeks using flat rate shipping, with no issues. Even after I added PayPal checkout, I still did not have the loader issue. I added the CSS snippet Flipmediaco mentioned and it stopped the loader, now checkout loads in 2.5 seconds. The only problem with this, is that now the success page doesn't have the loader. This will be an issue with impatient people who want to click the checkout button multiple times. |
I have it on my testing environment after an update from 2.1.4 to 2.2.0 |
I did some javascript debugging and fixed the issue. |
I also encountered this problem in magento2.4.6, is there any solution? |
I have magento 2 running on live project and our clients are seeing some weird issue on Firefox browser. I was able to reproduce it only once and after refreshing the page everything is working as expected. I will be happy if someone have/had similar issue and have some information how to debug/fix it.
Preconditions
Steps to reproduce:
Expected result:
Display loading-mask, load payment section and cart summary, hide loading-mask
Actual results:
Display loading-mask, load payment section and cart summary, loading-mask doesn't hide and stay.
No JS errors on console or network tab in FF (ajax request to getting payment section). After refresh with #payment in URL everything is working fine. Even if open /checkout without #payment (start from 1st step) it's opening 2nd step smoothly.
The text was updated successfully, but these errors were encountered: