Credit Card Auto Fill Simply Broken Everywhere
Categories
(Toolkit :: Form Autofill, defect, P3)
Tracking
()
People
(Reporter: alex, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
Go to any website that takes a credit card. Doesn't matter which one, Home Depot, Target, Amazon, Door dash, etc, etc.
Get to entering a credit card number.
Saved card last 4 displays in drop down.
Select saved card from the drop down.
Actual results:
Nothing, nothing is filled in the form.
Expected results:
Should have populated a card number or something useful.
This continues to be a constant problem for Firefox but doesn't happen when using chrome. I don't think this feature has ever worked, not once, and probably should just be removed from the browser. I have tried removing the card and re-entering it but the problem persists. I only have 1 card entered in the browser if that matters.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Form Autofill' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
Hi Alex, thanks for filing this. Can you do the following so we can narrow down what is going on here:
- Check if credit card autofill works on our test page (https://mozilla.github.io/form-fill-examples/basic_cc.html). This allows us to determine if it's a website specific issue
- If the issue reproduces on the test page, then could you look into the browser console (you can open it by Ctrl + Shift + J on Linux if I recall correctly) and look for a particular error message of NS_ERROR_FAILURE that has no code line associated with it.
- If you find this particular error message of NS_ERROR_FAILURE that has no code line associated with it, then it may mean the decryption of your credit card number failed which is why autofill doesn't seem to work as expected.
Updated•4 years ago
|
Check if credit card autofill works on our test page (https://mozilla.github.io/form-fill-examples/basic_cc.html). This allows us to determine if it's a website specific issue
It does not work and the issue is present.
If the issue reproduces on the test page, then could you look into the browser console (you can open it by Ctrl + Shift + J on Linux if I recall correctly) and look for a particular error message of NS_ERROR_FAILURE that has no code line associated with it.
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAutoCompleteController.getStyleAt] LoginManagerChild.jsm:209
observe resource://gre/modules/LoginManagerChild.jsm:209
receiveMessage resource://gre/actors/AutoCompleteChild.jsm:56
Comment 4•4 years ago
|
||
Thanks for the update Alex, could you remove your card and re-add it by doing the following and see if that fixes it for you:
- Navigate to
about:preferences - Click on "Privacy & Security"
- Scroll down until you see "Saved Credit Cards..." and click on this button
- Click the one card you have and then click "Remove"
- Click "Add..." and re-entry your card details.
- Navigate back to https://mozilla.github.io/form-fill-examples/basic_cc.html and see if this new card will autofill as expected.
So this fixes the problem temporally, but I have done this before and it goes back to the error state after some amount of time. I don't use the the CC auto-fill every often so it's difficult to tell what is causing it to go back to the error state.
Comment 6•4 years ago
|
||
Alex, at least we have a temporary solution for now. How long have you been using your current profile? Something I've noticed is that long lived profiles can produce these kind of intermittent issues occasionally. If you happen to be using a long lived profile, you could refresh Firefox and see if that prevents the issue in the future but since it's intermittent, there's always the chance it never reproduces. If you happen to remember how often this happens, that would be good to know as well.
Comment 7•4 years ago
|
||
The severity field is not set for this bug.
:tgiles, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
So the problem is back for me after not changing anything and just updating firefox. Let me try refreshing this profile.
Refreshing has no resolved the issue. Reentering my card has resolved it for today. I'll try to remember to check again before and after updating the browser.
| Reporter | ||
Comment 10•4 years ago
|
||
This broke again, I don't believe a browser update occurred.
Updated•4 years ago
|
Comment 11•2 years ago
|
||
This is still present in 115.0.2 on Windows for me, testing with https://mozilla.github.io/form-fill-examples/basic_cc.html . Nothing appears in the console when I check. I've tested with two credit cards. If I edit the credit card it shows me the mostly correct information (name, expiry) but the card number is missing, so it's getting some data back. If I enter the card number and save, then it works (but the other one still doesn't).
Comment 12•2 years ago
|
||
I'm experiencing this as well with Firefox 116 on Linux, I'm going to do the remove & re-add to fix it for now.
Here's the error with this release's line numbers:
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAutoCompleteController.getStyleAt] LoginManagerChild.sys.mjs:183
observe resource://gre/modules/LoginManagerChild.sys.mjs:183
receiveMessage resource://gre/actors/AutoCompleteChild.sys.mjs:42
(In reply to Mike Shaver (:shaver -- probably not reading bugmail closely) from comment #11)
Nothing appears in the console when I check.
Are you checking the Web console (Ctrl + Shift + K) or the Browser console (Ctrl + Shift + J)?
Comment 13•2 years ago
|
||
(In reply to Seth from comment #12)
Here's the error with this release's line numbers:
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAutoCompleteController.getStyleAt] LoginManagerChild.sys.mjs:183 observe resource://gre/modules/LoginManagerChild.sys.mjs:183 receiveMessage resource://gre/actors/AutoCompleteChild.sys.mjs:42
FYI this particular error is addressed in this patch, but most likely it's not related to this bug.
Updated•2 years ago
|
Description
•