Share validation between the form pages and the summary page and surface the errors on both views
Categories
(Firefox :: WebPayments UI, enhancement, P5)
Tracking
()
People
(Reporter: jaws, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webpayments])
User Story
Errors to handle * field-specific merchant errors * missing required fields * custom Fx field validation (Luhn, postal/zip code, etc.)
Attachments
(1 file, 6 obsolete files)
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Updated•7 years ago
|
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Updated•7 years ago
|
Comment 12•7 years ago
|
||
| bugherder | ||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Updated•7 years ago
|
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
- Dispatch the same messages when add/updating temporary collections
- Wait for both the response message and updateState message when saving records from card and address forms
Depends on D13326
Updated•7 years ago
|
Comment 19•7 years ago
|
||
I've added another patch to the series which defers resolving paymentRequest.updateAutofillRecord until after the updateState event has been received.
The selectedStateKey / .guid patch is unchanged bar restoring the test skippage.
The form validation patch is now ready for review also. I'll update the commit message in phabricator, but basically the only thing that I'm aware of that is outstanding is a test failure: test_address_edit in browser_change_shipping.js is failing locally; the expected selected option index is wrong after updating the record in the formautofill store. I'm not sure this patch caused that but I'll look some more before trying to land anything.
This is a large patch, apologies for that. Let me know if you want me to walk through it, break it up some more or whatever will help.
Updated•7 years ago
|
Comment 20•7 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 21•6 years ago
|
||
Last time I checked, it was becoming increasingly difficult to get the (disabled) test suite to run. I don't anticipate updating these patches. If that changes I'll re-open.
Comment 22•6 years ago
|
||
We haven't closed the other Web Payments bugs so I think this should stay open for when work on this component resumes.
Comment 23•5 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:jimm, maybe it's time to close this bug?
Updated•5 years ago
|
Comment 24•5 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:jimm, maybe it's time to close this bug?
Updated•4 years ago
|
Comment 25•4 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:jimm, maybe it's time to close this bug?
Comment 26•4 years ago
|
||
This code is getting removed in bug 1721229 but clearing leave-open in the meantime.
Updated•3 years ago
|
Description
•