Closed Bug 1480717 Opened 6 years ago Closed 6 years ago

Credit card form billing address validation and layout

Categories

(Firefox :: WebPayments UI, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 64
Tracking Status
firefox64 --- verified

People

(Reporter: tbabos, Assigned: MattN)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [webpayments])

Attachments

(1 file)

[Affected versions]:
Nightly 63.0a1

[Affected platforms]:
Windows 10 x64, Ubuntu 16.04, Mac OS 10.13

[Prerequisites]:
- set the pref dom.payments.request.enabled to "true"
- have a profile with saved cards

[Steps to reproduce]:
1. Go to “https://rsolomakhin.github.io/pr/single/” and click on “Buy” button
2. Select a saved shipping address
3. Click on “Add” link for a new Credit Card
4. Fill all the field with valid data, except billing address – select the blank option for it
5. Click on “Add” button
6. Type in the CVV code and click on “Pay”

[Expected Result]:
The “Add” button from the Add Credit Card screen should be grayed out if the billing address is missing.
The Payment should be processed only when all the fields from Credit Card are filled.

[Actual Result]:
The payment will be processed without the billing address for the selected card.
Flags: qe-verify+
Priority: -- → P2
Whiteboard: [webpayments] [triage] → [webpayments-reserve]
Reminder to add the asterisk to the field(s) when making it required.
Whiteboard: [webpayments-reserve] → [webpayments]
I'll take this bug and also use it to make the billing address and persist checkbox position match the specs.
Assignee: nobody → MattN+bmo
Status: NEW → ASSIGNED
Priority: P2 → P1
Depends on: 1491815
Depends on: 1490805
Attachment #9003660 - Attachment description: Bug 1480717 - Fix credit card form billing address and persist checkbox layout. → Bug 1480717 - Fix credit card form billing address and persist checkbox layout. r=sfoster
If there are no review issues, feel free to autoland this.
Comment on attachment 9003660 [details]
Bug 1480717 - Fix credit card form billing address and persist checkbox layout. r=sfoster

Sam Foster [:sfoster] has approved the revision.
Attachment #9003660 - Flags: review+
Pushed by mozilla@noorenberghe.ca:
https://hg.mozilla.org/integration/autoland/rev/32d9dbdfae6b
Fix credit card form billing address and persist checkbox layout. r=sfoster
Summary: Credit card form can be saved without a billing address → Credit card form billing address validation and layout
https://hg.mozilla.org/mozilla-central/rev/32d9dbdfae6b
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Verified as fixed on Firefox Nightly 64.0a1 on Windows 10 x 64, Windows 7 x32, Mac OS X 10.13 and Ubuntu 18.04 x64.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Regressions: 1619320
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: