Firefox cannot save/read a credit card number

Bug #2048441 reported by Fabien SK
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
New
Unknown
firefox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Firefox has a functionality to save and auto-fill credit cards. Saving can be done when entering the information of a card in a web page, or in Settings/Privacy & Security/Saved Credit Cards.

Currently, with Kubuntu's version of Firefox 118.0.2, nothing happens when saving. In the "Browser Console" of Firefox, when saving from the Settings menu, I get the following message:

NS_ERROR_ABORT: User canceled OS unlock entry
    encrypt resource://gre/modules/OSKeyStore.sys.mjs:320
editDialog.js:232:15

If the same is done with the non-snap version downloaded from Mozilla, it works.
---
ProblemType: Bug
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
DistroRelease: Ubuntu 23.10
InstallationDate: Installed on 2022-01-27 (710 days ago)
InstallationMedia: Kubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
ProcVersionSignature: Ubuntu 6.5.0-14.14-generic 6.5.3
Snap: firefox 121.0-1.1 (stable)
SnapChanges:
 Identifiant État Descendance Prêt Résumé
 307 Done 2024-01-07T10:44:43+01:00 2024-01-07T10:48:46+01:00 Supprimer le paquet Snap "firefox"
 308 Done 2024-01-07T10:50:33+01:00 2024-01-07T10:53:10+01:00 Installer le paquet Snap "firefox"
Tags: mantic
Uname: Linux 6.5.0-14-generic x86_64
UpgradeStatus: Upgraded to mantic on 2023-11-02 (66 days ago)
UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sudo wireshark
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
DistroRelease: Ubuntu 23.10
InstallationDate: Installed on 2022-01-27 (710 days ago)
InstallationMedia: Kubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
Package: firefox 1:1snap1-0ubuntu3
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 6.5.0-14.14-generic 6.5.3
SnapChanges:
 Identifiant État Descendance Prêt Résumé
 307 Done 2024-01-07T10:44:43+01:00 2024-01-07T10:48:46+01:00 Supprimer le paquet Snap "firefox"
 308 Done 2024-01-07T10:50:33+01:00 2024-01-07T10:53:10+01:00 Installer le paquet Snap "firefox"
Tags: mantic
Uname: Linux 6.5.0-14-generic x86_64
UpgradeStatus: Upgraded to mantic on 2023-11-02 (66 days ago)
UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sudo wireshark
_MarkForUpload: True

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 2048441

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Fabien SK (fabsk) wrote : Dependencies.txt

apport information

tags: added: apport-collected mantic
description: updated
Revision history for this message
Fabien SK (fabsk) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : ProcEnviron.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapConnections.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapInfo.core22.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapInfo.firefox.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapInfo.gnome-42-2204.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapInfo.gtk-common-themes.txt

apport information

description: updated
Revision history for this message
Fabien SK (fabsk) wrote : Dependencies.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : ProcEnviron.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapConnections.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapInfo.core22.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapInfo.firefox.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapInfo.gnome-42-2204.txt

apport information

Revision history for this message
Fabien SK (fabsk) wrote : SnapInfo.gtk-common-themes.txt

apport information

Revision history for this message
In , Russell Harper (russell-s-harper) wrote :

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0

Steps to reproduce:

Go to a site requiring payment, credit cards show, but won't autofill. Tried several sites all the same.

Go to Settings, search for Payment Methods, add a payment method, Save does nothing.

Actual results:

Go to a site requiring payment, credit cards show, but won't autofill. Tried several sites all the same.

Go to Settings, search for Payment Methods, add a payment method, Save does nothing.

Expected results:

Autofill credit card information.

Add new payment method.

Revision history for this message
In , Release-mgmt-account-bot (release-mgmt-account-bot) wrote :

The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug should belong to the 'Toolkit::Form Autofill' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Revision history for this message
In , Russell Harper (russell-s-harper) wrote :

(In reply to BugBot [:suhaib / :marco/ :calixte] from comment #1)
> The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug should belong to the 'Toolkit::Form Autofill' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Revision history for this message
In , Russell Harper (russell-s-harper) wrote :

(In reply to russell.s.harper from comment #0)
> User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0
>
> Steps to reproduce:
>
> Go to a site requiring payment, credit cards show, select one.
>
> Go to Settings, search for Payment Methods, add a payment method.
>
>
> Actual results:
>
> Credit cards show, select one, but won't autofill. Tried several sites, all the same.
>
> Add a payment method, Save does nothing.
>
>
> Expected results:
>
> Autofills credit card information.
>
> Adds new payment method.

Revision history for this message
In , Russell Harper (russell-s-harper) wrote :

I think this represent a serious problem in Firefox. If the browser can't be used for payment methods, that will lead to users dropping Firefox, as I am now doing.

Revision history for this message
In , Release-mgmt-account-bot (release-mgmt-account-bot) wrote :

The severity field is not set for this bug.
:serg, could you have a look please?

For more information, please visit [BugBot documentation](https://wiki.mozilla.org/BugBot#workflow.2Fno_severity.py).

Revision history for this message
In , Sergey-galich (sergey-galich) wrote :

russell.s.harper sorry you are running into this issue, I suspect this is related to the Bug 1755786.
Do you see any errors or warnings in the `☰ > More tools > Browser Console` when you try to add or edit a credit card or when you try to fill it in the webpage?

Revision history for this message
In , Russell Harper (russell-s-harper) wrote :

I see this when I try to add a payment method:

NS_ERROR_ABORT: User canceled OS unlock entry
    encrypt resource://gre/modules/OSKeyStore.sys.mjs:320
editDialog.js:232:15
    handleSubmit chrome://formautofill/content/editDialog.js:232

Unfortunately, when I was encountering the issue, one of the suggestions was to delete the existing payment method and re-enter it, so I don't have any I can test with a purchase.

Revision history for this message
In , Sergey-galich (sergey-galich) wrote :

This is a puzzle, on Linux code that produce these messages should not be running at all. What do you see if you type `AppConstants.platform` and hit Enter in the Browser Console?

Revision history for this message
In , Russell Harper (russell-s-harper) wrote :

```
AppConstants.platform
"linux"
```

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in firefox (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Release-mgmt-account-bot (release-mgmt-account-bot) wrote :

The severity field is not set for this bug.
:serg, could you have a look please?

For more information, please visit [BugBot documentation](https://wiki.mozilla.org/BugBot#workflow.2Fno_severity.py).

Changed in firefox:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.