-
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 'hanging' for 2 out of 3 websites running the SAME Magento code #2933
Comments
@martijnhovinga Thank you for reporting the issue. |
@ishakhsuvarov Thanks for your feedback. I found this Javascript error on the checkout pages of babyplus.com.my and contoursbaby.com.my: /pub/static/frontend/Magento/luma/en_US/Magento_Ui/js/form/element/region.js:34 After changing State Options Settings, the problem still persists in the 2 sites. |
Solved for me - fix was to enable the country specified in the "Default Tax Destination -> Default Country" in "Country Options -> Allowed Countries" |
Thank you very much! This worked for me as well! PROBLEM SOLVED! |
@daim2k5 -- Why'd the ticket get closed? It's great these users solved their problem, but it sounds like they had a valid configuration of Magento that ended up creating javascript errors that blocked other page functionality, and was hard to diagnose. Shouldn't the platform fix that? |
Agreed - this is a horrible bug. Needs to be prevented from occuring |
@martijnhovinga Since you seem to have figured out a way to resolve your issue, would you be able to try providing steps to re-create the issue for the Magento team to be able to reproduce and solve the underlying bug? This definitely sounds like a bug; an obscure misconfiguration such as this should not be able to cause JS errors on the front-end like this. If I read you right, steps may be something like a) setup store; b) set "State is Required for" to something; c) bug (with workaround being to also configure other setting. |
@davidalger Without doubt, this is a bug. Even worse, it affects the most vital part of the system, i.e. the checkout process and most customers who wish to buy and face this problem get frustrated and decide to leave the website.So I am very thankful that you will look into this for the sake of others using the system. The settings in default configuration when the problem occurs are as follows: By changing only I also configured 2 additional websites, however I don't believe that is relevant. The only surprise was that it worked like a charm in one of the 2 additional stores. If you want to have access to my production system to check and reproduce, I am willing to grant that depending on the timing (I am in Malaysia/Singapore time zone). My recommendation is that the value of Default Tax Destination Calculation would be synchronized automatically with the value of the Default Country. Thank you all. |
@martijnhovinga @srynot4sale Thank you for finding the correct steps to reproduce the bug. |
Closing the ticket, as the fix for this issue had been delivered to the |
Thank you. On 2016-01-28 18:36, Ievgen Shakhsuvarov wrote:
|
I can still replicate this issue with these configuration (on 2.0.5) "Stores > General > Default Country: Australia" When going to checkout, the issue still persist with And by changing "Stores > General > Allow Country: Australia, United States", it will fix the problem. However, this will prevent using Magento to only sell outside United States. |
I have the same problem on 2.0.5. Country is Chile but steps too recreate problem are the same as detailed by dimasdwika. |
@dimasdwika, @ignaciomella - the fix was delivered to the |
OK I find the problem. Please consider the fix below. Cause:
This key will be set only this country requires its region. But the script "app\ui\view\base\web\js\form\element\region.js" doesn't check the existence of this key before referring it. Solution:
Method 2: Check if the key exists in region.js. I am more on this method due to the cons above mentioned.
I believe that this issue occurs in post-code.js too because the key |
Exists in 2.0.7. Doesn't get resolved when I set Tax destination country to same as Only allowed country. |
Hello, Yes @webspeaks i am also facing this issue into Magento latest ver. 2.1.2. It will work for first order but if you try same country and state with reorder it will gives error 'You can't use the payment type you selected to make payments to the billing country.' and in console it will show 'jquery.js:9666 PUT http://test.com/rest/default/V1/carts/mine/selected-payment-method 400 (Bad Request)' Please help me to resolve this issue. Thanks |
Still this issue present into magento 2.1.3. |
I can still replicate this issue with these configuration (on 2.0.7)
Solution:
Method 2: Check if the key exists in region.js. I am more on this method due to the cons above mentioned.
|
Hi Guys, Steps:
Thanks, |
Same issue v. 2.2.2 , solved with the config change provided by @srynot4sale, thank you |
Backward patch for 2.2.6;
|
I installed Magento 2 with Softaculous successfully. I only added code to .local host in Magento root for running 3 stores based on the same Magento installation (taking the added code out did not make any difference to the issue below).
On 2 of my stores, after adding to cart and clicking "Go to Checkout' the screen only displays the 'logo and the 'order summary' without the 'shipping' step, see https://babyplus.com.my/checkout Same for https://contoursbaby.com.my/checkout
On the third store however it consistently works fine, running the SAME Magento installation: https://babyfair.com.my/checkout
'Checkout with PayPal' works fine on all websites.
I compared the settings in Store/Config and cannot find any significant differences. Even after a new installation, the problem persists.
I had a well-known Magento extension developer have a look at this, however they could not find the solution. According to their professional opinion, this could be a 'bug'.
The text was updated successfully, but these errors were encountered: