Skip to content

Cannot check out when browser Autofill is enabled #6826

@melindash

Description

@melindash

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions