Closed Bug 1749515 Opened 3 years ago Closed 3 years ago

[UK][currys.co.uk][asda.com] Only the last 3 digits are displayed in the CC save doorhanger using the American Express credit card

Categories

(Toolkit :: Form Autofill, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox-esr91 --- unaffected
firefox96 --- disabled
firefox97 --- disabled
firefox98 --- disabled

People

(Reporter: ailea, Unassigned)

References

(Blocks 1 open bug, Regression, )

Details

(Keywords: regression)

Attachments

(2 files)

Attached image 2022-01-11_12h47_09.png

Affected Versions:

All latest Firefox versions: Nightly 98.0a1, Beta 97.0b1, Release 96

Tested on:

Windows 10

Preconditions:

browser.search.region UK
extensions.formautofill.supportedCountries UK
download latest Firefox Nightly with region locale (switch extensions.formautofill.available to "on" for testing non-Nightly builds)

Steps to reproduce:

  1. Reach the payment form on currys.co.uk or asda.com
  2. Fill in manually new CC info with American Express card details and submit the form.

Expected Results:

The last 4 CC number digits should be displayed in the Credit Card save doorhanger.

Actual Results:

Only the last 3 CC number digits are displayed in the Credit Card save doorhanger.

Notes:

Reproducible on Chrome: No, all the last 4 digits are displayed.
The issue only occurs using the American Express credit card. It works as expected using Visa or Mastercard (all 4 digits are displayed in the CC doorhanger).

Regression range:

Introduced with bug 1720507, since before the fix, the Credit Card Save doorhanger was not displayed at all after the form was submitted and I can reproduce the issue in Nightly 92, just after the fix.

Alin Ilea, how long was the CC number - 16 or 15 digits?

Flags: needinfo?(alin.ilea)
Priority: -- → P3

Hi Sergey,
The CC number was 15 digits long (I think all the American Express CC numbers are 15 digits). Using another type of card with 16 digits CC numbers the result is the expected one, 4 digits in the doorhanger.

Flags: needinfo?(alin.ilea)

Thank you Alin.

According to Number Length (which is not an official source, but has a nice picture) when there are 15 digits the last group has 5 digits in it. I wonder if we should show 5 last digits in that case or not.

Attached image 2022-01-11_12h48_35.png

In this case, on currys.co.uk at least, the last group has 3 digits in it.

Chrome displays last 4 digits for Amex cards. Some other sites seems to be using 3 digits. Considering that the goal of these numbers is to differentiate one card from another, 3 digits should be enough.

Tim, I'd suggest to close as WONTFIX, unless you think there is a good chance of someone to get confused by collisions.

Flags: needinfo?(tgiles)

Set release status flags based on info from the regressing bug 1720507

I'm going ahead and closing this as WONTFIX. We're not losing any data and we display enough credit card digits to differentiate from other saved/updated cards, seems good enough to me.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(tgiles)
Resolution: --- → WONTFIX
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: