Skip to content
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

autofill from holdername do not autofill credit card number expired date and CVC #2730

Open
lauterry opened this issue Jul 3, 2024 · 1 comment

Comments

@lauterry
Copy link

lauterry commented Jul 3, 2024

Describe the bug
When I use autofill the credit card form from the holder name, the other fields are not autofilled

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.mystoredemo.io/#/checkout
  2. Have a credit card saved in the chrome
  3. Click on the holder name and select the saved credit card to autofill
  4. Only the holder name is autofilled. The others fields remains empty

Expected behavior
I expect the credit card number, expired dates to be autofilled

Screenshots
Capture d’écran 2024-07-03 à 15 10 51

Capture d’écran 2024-07-03 à 15 10 55

Desktop (please complete the following information):

  • OS: Maxos
  • Browser chrome
  • Version 126.0.6478.114

Additional context
Version "@adyen/adyen-web": "^5.66.1" implementing components

@sponglord
Copy link
Contributor

@lauterry - this is currently the "expected" behaviour.
It is a consequence of the the fact that the card number, date & security code fields exist as iframes, separate from the holderName field (and so the browser restricts communication between these fields).
UX research has shown that the optimal placement for the holderName field is after these other 3 fields, and that we expect the first shopper interaction to be with the card number field. If you try to autofill from the card number then all the fields get populated as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants