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

[Web - DropIn] On iOS Safari, scanning a card is entering the wrong expiryDateField #2582

Open
mattiasmucherie opened this issue Feb 29, 2024 · 0 comments

Comments

@mattiasmucherie
Copy link

Describe the bug
Using the drop in component, when scanning a card using the native iOS keyboard option, the expiryDateField gets filled incorrectly.

If the card has for example 01/26 it tries to fill in with 26/01 and the output becomes 02/60 which is not a valid expiryDate.

To Reproduce
Steps to reproduce the behavior:

  1. Start a Credit card payment using drop-in on iOS Safari and make sure you have enable card autofill (Settings > Safari > autofill> credit cards)
  2. Click on card number and click on the icon to Scan Card
  3. Scan a card with all the information.
  4. See expiry date being incorrect.

Expected behavior
That the expiry date gets filled correctly.

Screenshots
Unable to screenshot the keyboard due to iOS security reasons.

Desktop (please complete the following information):
Not applicable.

Smartphone (please complete the following information):

  • Device: iPhone 14
  • OS: iOS17.3.1
  • Browser: Safari
  • Version: 17.3.1

Additional context
This is for a site based in Sweden, not sure if this is different for other countries.
However, I tried setting the web-drop in on en-US but got the same issue.

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

1 participant