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](https://mozilla.slack.com/archives/C03KPTP37BN/p1690993607081919) 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 ### Device information * Firefox version: * Android device model: * Android OS version: ### Any additional information?
Bug 1848860 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
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](https://mozilla.slack.com/archives/C03KPTP37BN/p1690993607081919) 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