Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Credit Card input field doesn't play nicely with Chrome's credit card auto fill feature #4041

Closed
JVimes opened this issue May 19, 2016 · 8 comments

Comments

@JVimes
Copy link

JVimes commented May 19, 2016

Chrome has a secure way to store credit card info and auto-fill it. The input field (under /routes/credit-card) doesn't seem to play nicely with it. When I start typing in the field, I expect Chrome to suggest saved credit cards. In the case of Gratipay, the suggestion doesn't happen unless I type a little and then hit backspace.

@chadwhitacre
Copy link
Contributor

Interesting. Okay, thanks for the report, @JVimes.

@JVimes
Copy link
Author

JVimes commented Dec 8, 2016

Just FYI, I ran into this a second time today (previous credit card cancelled). I know it's not the highest priority, but should be an easy client side fix ☺️

@mattbk
Copy link
Contributor

mattbk commented Dec 8, 2016

@chadwhitacre
Copy link
Contributor

Sorry @JVimes. 😕 Do you happen to know what the fix is off-hand?

@mattbk Can you see what the fix is from the link there?

@JVimes
Copy link
Author

JVimes commented Dec 8, 2016

@whit537, @mattbk I found two things that seem to work, at least in devtools:

  • Removing autocomplete="off" from the form. Oddly, this doesn't work on the original form, but does work if I copy/paste the form so there are now two forms, and I edit the new copy.
  • Disabling JavaScript fixes it without editing HTML or messing with autocomplete.

@mattbk
Copy link
Contributor

mattbk commented Dec 8, 2016

Thanks for digging in, @JVimes. I can't play with this until tonight at the earliest.

@chadwhitacre
Copy link
Contributor

Maybe someone from 24 Pull Requests could pick this one off?

https://twitter.com/Gratipay/status/806918094199230464

@mattbk
Copy link
Contributor

mattbk commented Dec 9, 2016

Locally I'm not secure! I'm going to make some changes and see what happens.
screen shot 2016-12-08 at 9 38 48 pm

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

No branches or pull requests

3 participants