magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.5k stars 9.3k forks source link

Cannot check out when browser Autofill is enabled #6826

Closed melindash closed 7 years ago

melindash commented 8 years ago

When form Autofill is enabled, the email address field on the onepage checkout is mistaken for a username field. Even if you replace it with the proper email address, it is autofilled again after you submit your details to proceed to the payment section. The Place Order button ceases to function and there is no alert displayed to the user in either the document or the console.

Preconditions

  1. Magento 2.1
  2. Safari or Chrome
  3. Autofill enabled (checkout email field must be autofilled)

    Steps to reproduce

  1. Enable Autofill
  2. check out as guest
  3. ensure that the email field on the checkout page is autofilled with an invalid email address (my autofill manager was attempting to enter my admin username there, say 'admin123')
  4. Erase 'admin123' and enter a proper email address. Fill out the rest of the checkout form and proceed to the payment section.
  5. Select a payment method and click place order.

    Expected result

  1. The order should be submitted, or at least provide a reason why nothing is happening.

    Actual result

  1. There is no console error, but nothing happens when you click Place Order. If you click back to the shipping section you'll see Autofill has replaced your valid email address with 'admin123' again.

I have reproduced this on Mac (Safari) and Windows (chrome). Issue ceases when autofill is disabled.

SerhiyShkolyarenko commented 7 years ago

@melindash thank you for reporting! Please explain which autofilling way you use. Do you use autofilling for email only? My Chromium autofills addresses only, so I had to enter my email manually. Using "Autofill" extension v 6.12 caused some problems on address form, but order was placed successfully.

vasilii-b commented 7 years ago

@SerhiyShkolyarenko I used email autofill. After pressing button to go to next step, in console was the notification that my filled in email (it was norma) is not an email.

image

image

melindash commented 7 years ago

Sorry for the delay. @SerhiyShkolyarenko I used Chrome's default Autofill, complete with email and address (and usernames passwords). Safari's autofill had the same behavior.

We had no console messages - only after going back to edit the billing information did I realize that the email field's value had been replaced by my admin username. Reentering it did not resolve - I had to disable autofill or the email value would be replaced every time I moved on to the payment step.

hansvanl commented 7 years ago

I was able to reproduce this issue. Would love to have this fixed. This is very confusing for customers.

joshuadegier commented 7 years ago

I can also confirm this is an issue in Magento2, issue occures using OSx with Safari (different versions)

kickmowee commented 7 years ago

I can confirm this also on a site i am working on right now.

twistedatrocity commented 7 years ago

Shipping quotes (ajax doesn't fire) do not work either if address is autofilled by Chrome. Magento 2.1.6

speedupmate commented 7 years ago

this is related to https://github.com/knockout/knockout/issues/1949 issues in knockoutjs itself

solution is to add data-binding valueUpdate: 'blur' or patch the knockoutjs to listen on blur events also . However to do that in magento2 one must override all form element templates

WillWoolley commented 7 years ago

Same issue here using 2.1.7 and Chrome. Took me ages to figure out!! Ca we somehow override the field to turn autocomplete off??

skynixukraine commented 7 years ago

Hello, I confirm, the issue still exists, and it is a blocking issue. It makes impossible to use ecommerce solution where Place Order button does not work.

joshuadegier commented 7 years ago

@skynixukraine it's a non-blocking issue, since the issue only occurs for users that have logged in to the admin panel of your webshop(s). For regular visitors of the website, this doesn't occur (luckily).

magento-engcom-team commented 7 years ago

@melindash, thank you for your report. We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue. We tested the issue on 2.1.9

ant0x64 commented 4 years ago

Confirm 2.3.0

fj-sfd commented 4 years ago

I am facing same issue on Magento ver. 2.3.3

when you have multiple addresses saved in Google Chrome, if one or more fields are having similar values like in Address1, if FirstName, LastName etc is same as in Address2

  1. Using default Magento Checkout.
  2. tried with only Cash On Delivery method.
  3. disabled all custom and 3rd-party modules, clear necessary folders, compile but still same.
amenk commented 4 years ago

As said before (https://github.com/magento/magento2/issues/6826#issuecomment-331636886) this only applies to customers which logged in to the admin panel before.

Still it is super annoying during development and for the merchant testing. A merchant seeing the place order button not working will angrily call their agency and loose trust in the Magento platform.

Can this be reopened?

I think the steps to reproduce miss the step 0. successfully login to admin panel

insaneCreations commented 4 years ago

We still have this issue on 2.3.4, and in our case the customer have the problem as well.. so if you Autofill the fields and afterwards want to change the country, the system echo's that country is required.. which is strange because it has value..

Schermafbeelding-2020-06-25-om-09 59 58

We are using the IWD OneStepCheckout, but if i disable this module.. the problem still exists

TimQSO commented 3 years ago

We are experiencing also issues. We have sometimes issues with guest checkouts. When firstname and lastname fields are autofilled, Magento says that he needs firstname and lastname to proceed.

Customer has to remove the prefilled fields and fill them out by hand to fix it.

We have alike issues when we use a postcode validator tool. When the customer fills out the postcode and house number, the tool fills out the streetname and the city. The customer will sometimes get the error that city and country needs to be filled out, but they already are.

ghost commented 2 years ago

Same issue. Any update about please?

Thank you.

usman786cs commented 1 year ago

I'm facing same issue on one step checkout. Did anyone fix it? Please share your suggestions for the fix. Thanks