Closed Bug 1848860 Opened 2 years ago Closed 2 years ago

Do not prompt to save/update credit card unless all required fields are present

Categories

(Fenix :: Autofill, enhancement, P3)

All
Android
enhancement

Tracking

(firefox118 wontfix, firefox119 verified)

RESOLVED FIXED
119 Branch
Tracking Status
firefox118 --- wontfix
firefox119 --- verified

People

(Reporter: matt-tighe, Assigned: towhite)

References

Details

(Whiteboard: [fxdroid])

Attachments

(1 file)

In Bug 1839158 we added a quick fix for a crash that was caused by trying to save credit cards with empty strings. Parsing the empty strings to longs was causing exceptions.

Afterwards, UX feedback indicated that the best way to handle this was to not display the save/update prompt unless we had all required information.

Steps to reproduce

  1. Navigate to https://checkout.stripe.dev/preview
  2. Try to save a credit card with a blank expiry month or year

Expected behavior

The prompt does not appear

Actual behavior

The prompt appears but clicking save/update silently fails

Severity: -- → S3
Whiteboard: [fxdroid]
Assignee: nobody → towhite
Status: NEW → ASSIGNED
Severity: S3 → N/A
Priority: -- → P3

To capture the UX decision:

My first instinct is that the patch is providing a good UX by not interrupting the user when CC info is incomplete. Because the user is performing a task (shopping/checking out), I hesitate to take them away from that flow to provide us with more info so they can save their card to use next time.
To sum it up, to me it makes sense to ONLY ask to save/update CC info when we have all of the info in that moment.

Duplicate of this bug: 1846631

Authored by https://github.com/t-p-white
https://github.com/mozilla-mobile/firefox-android/commit/c23f12b7792ca20fc28a07a9dd414b558c8a0ffd
[main] Bug 1848860 - Do not prompt to save/update credit card unless all required fields are present

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

Verified on the latest Nightly 119.0a1 from 2023-09-07.
No prompt is displayed when trying to pay with empty expiry month and year field.
An error message is displayed on the page pointing out that there's an information missing.
Devices used:

  • Google Pixel 7 (Android 14).
  • Redmi 9C NFC (Android 10).
    Marking the ticket as verified for 119.
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: