Closed Bug 1647652 Opened 4 years ago Closed 4 years ago

Credit card entries are not deduped if the same CC number is used with additional fields (manual fill)

Categories

(Toolkit :: Form Autofill, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
mozilla80
Tracking Status
firefox77 --- disabled
firefox78 --- disabled
firefox79 --- disabled
firefox80 --- verified

People

(Reporter: tbabos, Assigned: zbraniecki)

References

(Blocks 1 open bug)

Details

(Whiteboard: [cc-autofill-mvp])

Attachments

(2 files)

Attached video Recording of the issue

Affected version:
All - if CC specific prefs are enabled

Tested on:
Windows 10

Steps to reproduce:

  1. Have a CC entry saved in storage with: CC number(362339320726338), Exp Date (08/2020)
  2. Fill in a form with: CC number (362339320726338), Exp Date (04/2024), Name
  3. Submit the form and chose to save the Credit Card in the Save CC doorhanger

Expected results:

  1. The profiles should be merged since they have the same CC number, based on: https://mozilla.invisionapp.com/share/56E59T04Q#/screens

Actual results:

  1. The CC entries are not merged.

Notes:
Scenario based on point 3 from https://bugzilla.mozilla.org/show_bug.cgi?id=1402963#c20

Assignee: nobody → gandalf
Priority: -- → P1
Whiteboard: [ccautofill] → [cc-autofill-mvp]
Status: NEW → ASSIGNED
Severity: -- → S3
Attachment #9161135 - Attachment description: Bug 1647652 - If 3 or more fields match in credit card autofill, assume its the same record. r?abr → Bug 1647652 - Treat a new record as a duplicate of an existing one if the cc-number matches. r?abr
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/af63ff5d2d28 Treat a new record as a duplicate of an existing one if the cc-number matches. r=abr

I had to change the logic of submission to adjust for expected values out of the test.

Flags: needinfo?(gandalf)
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/32c93f8ca145 Treat a new record as a duplicate of an existing one if the cc-number matches. r=abr
Flags: needinfo?(gandalf)
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/db26e6aaf139 Treat a new record as a duplicate of an existing one if the cc-number matches. r=abr
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80

Verified-fixed on latest Nighlty 80.0a1 (2020-07-26) (64-bit) on Windows 10, MacOS 10.13 and Ubuntu 16.04.
After submitting the same CC card but with a Cardholder Name, the user is prompted to update the previous entry that thas the same CC number.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: