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

Closed
mattiasmucherie opened this issue Feb 29, 2024 · 2 comments
Labels
Needs more info Further information is requested

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.

@sponglord
Copy link
Contributor

@mattiasmucherie - is this still an issue
I've tried the above using a iPhone15 Pro with iOS 17.6.1 and everything works as expected

@sponglord sponglord added the Needs more info Further information is requested label Oct 15, 2024
@mattiasmucherie
Copy link
Author

@sponglord it seems like the behaviour is not what it used to be. Now it copies the details to the clipboard in a way.
So this is no longer an issue. (at least for me on iOS 18.0.1)

@mattiasmucherie mattiasmucherie closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants