Forum Discussion

2passwords's avatar
2passwords
New Contributor
2 months ago

Better/easier credit card entry?

This is a feature request for the "Add new credit card" functionality in the browser extension, which opens a webpage like:

Right now, those fields are just "dumb" plaintext fields, and it's really easy to accidentally enter the wrong credit card number (by missing or mistyping a digit, for example).

I'd love for 1password to automatically detect the type of card using the https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN) and validate the entered number (clientside only) using the https://en.wikipedia.org/wiki/Luhn_algorithm.

These are pretty common features in credit card entry screens and can help prevent user errors. I frequently enter credit cards into 1password because it's a great place to save them all, but having to manually check all the digits every time is quite difficult.

Thank you!

4 Replies

  • Hello 2passwords​! đź‘‹

    Thank you for the feedback! 1Password does have the ability to detect the credit card type in some situations but I can see how it would be useful to expand this feature and add validation.

    I've submitted a feature request on your behalf and our product team will consider adding such functionality in the future. 

    -Dave

    PB-49240442

    • 2passwords's avatar
      2passwords
      New Contributor

      Thanks, Dave! And just to be clear, it's the checksum (via the Luhn algorithm) that would be most helpful to me. The auto card type detection would be a separate bonus.

      Both, together, help me as the user easily make sure I've entered the correct card number. The type detection helps me make sure I grabbed the correct card out of my wallet and the Luhn checksum gives me confidence I didn't mess up any digits.

      Thank you!

      • 1P_Dave's avatar
        1P_Dave
        Icon for Moderator rankModerator

        Thanks again for the clarification and feedback! 

        -Dave

  • 2passwords's avatar
    2passwords
    New Contributor

    Not sure why the hyperlinks didn't format right, sorry :( I seem to be having issues with this forum software.

    Anyway, the first link discusses the issuer identification number, which should let 1password automatically detect whether it's a Visa/Mastercard/Amex etc. in most cases.

    The second link describes the checksum algorithm used by major credit cards to verify whether the entered number is valid (as in proper and typo-free). It doesn't send anything across the internet for checking actual account validity or anything like that.