Closed
Bug 1477117
Opened 6 years ago
Closed 6 years ago
Adding requestBillingAddress in PaymentOptions
Categories
(Core :: DOM: Web Payments, defect, P2)
Core
DOM: Web Payments
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: marcosc, Assigned: edenchuang)
References
()
Details
(Whiteboard: [webpayments-reserve][wptsync upstream])
Attachments
(4 files, 6 obsolete files)
14.03 KB,
patch
|
edenchuang
:
review+
|
Details | Diff | Splinter Review |
20.74 KB,
patch
|
edenchuang
:
review+
|
Details | Diff | Splinter Review |
8.94 KB,
patch
|
edenchuang
:
review+
|
Details | Diff | Splinter Review |
31.45 KB,
patch
|
edenchuang
:
review+
|
Details | Diff | Splinter Review |
Add ability to request payer's address, so tax can be computed by merchants.
Reporter | ||
Updated•6 years ago
|
Priority: -- → P3
Reporter | ||
Comment 1•6 years ago
|
||
Still sorting this out at the w3c :/ I think we are getting closer to a solution.
Reporter | ||
Updated•6 years ago
|
Summary: Payment Request: Add ability to request payer's address → Add ability to request billing address
Reporter | ||
Updated•6 years ago
|
Whiteboard: [webpayments][triage]
Reporter | ||
Updated•6 years ago
|
Summary: Add ability to request billing address → Add ability to explicitly request billing address from basic card
Reporter | ||
Updated•6 years ago
|
Summary: Add ability to explicitly request billing address from basic card → User changes payment method
Reporter | ||
Comment 2•6 years ago
|
||
The logic moved tho here: https://github.com/w3c/payment-method-basic-card/pull/53 But: https://github.com/w3c/payment-request/pull/749 Is still relevant.
Updated•6 years ago
|
Flags: qe-verify-
Whiteboard: [webpayments][triage] → [webpayments-reserve]
Comment 3•6 years ago
|
||
Marcos, During our triage today. MattN has indicated that he doesn't think that this bug is needed for M3.
Reporter | ||
Comment 4•6 years ago
|
||
No problem. Thanks for the info. After today's call with various standards folks, it looks like more things are getting moved around in the spec anyway... so will probably be another week or so before we reach consensus on a solution.
Updated•6 years ago
|
Priority: P3 → P2
Assignee | ||
Comment 5•6 years ago
|
||
The spec https://w3c.github.io/payment-method-basic-card/#steps-for-when-a-user-changes-payment-method
Summary: User changes payment method → Adding requestBillingAddress in PaymentOptions
Assignee | ||
Comment 8•6 years ago
|
||
1. Add a new attribute nsIPaymentOptions.requestBillingAddress. 2. Add new XPCOM interfaces MethodChangeDetails, GeneralChangeDetails and BasicCardMethodChangeDetails for passing the method change details from UI code.
Assignee: nobody → echuang
Flags: needinfo?(echuang)
Attachment #9027808 -
Flags: review?(amarchesini)
Assignee | ||
Comment 9•6 years ago
|
||
1. Add a new method nsIPaymentRequestService::ChangePaymentMethod for UI to inform merchant the payment method is changed by users. 2. Add a new method in PPaymentRequest.ipdl to passing the changing method information from the chrome process to the content process. 3. Add BasicCardChangeDetails dictionary in BasicCardPayment.webidl 4. Create ChangeDetails, GeneralDetails and BasicCardDetails for saving the method information in the content process.
Attachment #9027809 -
Flags: review?(amarchesini)
Assignee | ||
Comment 10•6 years ago
|
||
Save the changing method information in PaymentMethodChangeEvent and dispatch it.
Attachment #9027810 -
Flags: review?(amarchesini)
Assignee | ||
Comment 11•6 years ago
|
||
Attachment #9027811 -
Flags: review?(amarchesini)
Updated•6 years ago
|
Attachment #9027808 -
Flags: review?(amarchesini) → review+
Comment 12•6 years ago
|
||
Comment on attachment 9027809 [details] [diff] [review] Part 2 - Add new IPC method for passing the changing method information. Review of attachment 9027809 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/payments/PaymentRequest.h @@ +45,5 @@ > + nsString postalCode; > + nsString sortingCode; > + nsString organization; > + nsString recipient; > + nsString phone; These should all be mName, right?
Attachment #9027809 -
Flags: review?(amarchesini) → review+
Updated•6 years ago
|
Attachment #9027810 -
Flags: review?(amarchesini) → review+
Updated•6 years ago
|
Attachment #9027811 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 13•6 years ago
|
||
Attachment #9027808 -
Attachment is obsolete: true
Attachment #9027957 -
Flags: review+
Assignee | ||
Comment 14•6 years ago
|
||
Attachment #9027809 -
Attachment is obsolete: true
Attachment #9027958 -
Flags: review+
Assignee | ||
Comment 15•6 years ago
|
||
Attachment #9027810 -
Attachment is obsolete: true
Attachment #9027959 -
Flags: review+
Assignee | ||
Comment 16•6 years ago
|
||
Attachment #9027811 -
Attachment is obsolete: true
Attachment #9027960 -
Flags: review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 17•6 years ago
|
||
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/1809212f5f29 Part 1 - Create new XPCOM interface for changing the payment method. r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/ddaac3335514 Part 2 - Add new IPC method for passing the changing method information. r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/8ffc94b44c3e Part 3 - dispatch the PaymentMethodChangeEvent. r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/3b473ca68a57 Part 4 - mochitest for PaymentMethodChangeEvent. r=baku
Keywords: checkin-needed
Comment 18•6 years ago
|
||
Backed out 4 changesets (bug 1477117) for causing hazard build bustage on payments/PaymentRequest.cpp:1066 CLOSED TREE Backout revision https://hg.mozilla.org/integration/mozilla-inbound/rev/77c14850b8c700541cc1273f5b7f7f14fa60e713 Failed push https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&selectedJob=214234649&revision=3b473ca68a5777d754b2a9f79275497309eee9fb Failure log:https://treeherder.mozilla.org/logviewer.html#?job_id=214229503&repo=mozilla-inbound :edenchuang Could you please take a look?
Flags: needinfo?(echuang)
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/14272 for changes under testing/web-platform/tests
Whiteboard: [webpayments-reserve] → [webpayments-reserve][wptsync upstream]
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Upstream PR merged
Assignee | ||
Comment 22•6 years ago
|
||
Fix the rooting hazard issue.
Attachment #9027959 -
Attachment is obsolete: true
Flags: needinfo?(echuang)
Attachment #9028342 -
Flags: review+
Assignee | ||
Comment 23•6 years ago
|
||
Update the testcase
Attachment #9027960 -
Attachment is obsolete: true
Attachment #9028344 -
Flags: review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 24•6 years ago
|
||
Pushed by ccoroiu@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4a5132e165d8 Part 1 - Create new XPCOM interface for changing the payment method. r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/b3aea4b20b53 Part 2 - Add new IPC method for passing the changing method information. r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/ae31de05b602 Part 3 - dispatch the PaymentMethodChangeEvent. r=baku https://hg.mozilla.org/integration/mozilla-inbound/rev/ab5b1091c88e Part 4 - mochitest for PaymentMethodChangeEvent. r=baku
Keywords: checkin-needed
Comment 25•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4a5132e165d8 https://hg.mozilla.org/mozilla-central/rev/b3aea4b20b53 https://hg.mozilla.org/mozilla-central/rev/ae31de05b602 https://hg.mozilla.org/mozilla-central/rev/ab5b1091c88e
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•