Closed Bug 1667257 Opened 4 years ago Closed 1 year ago

"Add New Credit Card" dialog should auto-fill Card Type based on the Card Number

Categories

(Toolkit :: Form Autofill, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: cpeterson, Assigned: dlee)

References

Details

(Whiteboard: [fxcm-cc-ux-p1])

Attachments

(1 file)

A credit card's issuer can be determined by the first six or eight digits of a card number (the Issuer Identification Number, IIN). Many web payment UIs, like Stripe's, do this.

Whether the Card Type should be editable and allowed to disagree with the Issuer Identification Number is a separate UX conversation.

https://en.wikipedia.org/wiki/Payment_card_number

Severity: -- → S3
Priority: -- → P3
Whiteboard: [fxcm-cc-ux-p1]
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Priority: P3 → P2
Attachment #9308695 - Attachment description: WIP: Bug 1667257 - Automatically detect credit card type → Bug 1667257 - Detect credit card type by examining IIN part of credit card number r=sgalich
Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8fb839f5a2ba
Detect credit card type by examining IIN part of credit card number r=sgalich

Backed out changeset 8fb839f5a2ba (Bug 1667257) for causing xpcshell failures on test_migrateRecords.js.
Backout link
Push with failures <--> X1
Failure Log

Flags: needinfo?(dlee)
Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c0e454c00e9
Detect credit card type by examining IIN part of credit card number r=sgalich
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Flags: needinfo?(dlee)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: