Closed Bug 1846631 Opened 3 years ago Closed 2 years ago

Inform user when credit card is not saved due to malformed data

Categories

(Firefox for Android :: Autofill, enhancement)

Firefox 118
All
Android
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1848860

People

(Reporter: matt-tighe, Unassigned)

References

Details

In Bug 1839158 we added a quick fix to avoid a crash that occurred from trying to parse Longs from empty Strings while saving/updating credit cards. The bug was caused when expiry month/year or CC number weren't filled.

Now that the crash is handled, we should identify a longer-term solution that communicates to the user what went wrong.

Some additional information from GL:

I think this ultimately requires some UX/Product decisions. The current issue is that the save credit card dialog is displayed as long as there's a card number (w/o expiry date) when a payment form is submitted. There's 2 options:

  1. We do not display this dialog if we do not have a complete credit card entry. No further changes needed in the validation delegate if we do not display the dialog from the get-go.
  2. We display the prompt but add handling of missing entries. Either allow the user to fill in missing inputs or cancel saving gracefully.

Resolving this as a duplicate since we got UX input to simply not prompt users for data to avoid interrupting their flow.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1848860
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.