Closed
Bug 703117
Opened 13 years ago
Closed 13 years ago
Implement frontend for consumer in-app payment
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
6.5.1
People
(Reporter: kumar, Assigned: potch)
References
Details
The Firefox Market should serve a JavaScript file that externally hosted apps can include to make in-app purchases, something like this: <script src="https://static-cdn.market.mozilla.net/en-US/media/js/fxmarket-min.js"></script> <script type="text/javascript"> // when user clicks a Buy button: fxmarket.buy(...) </script> Spec: https://github.com/mozilla/apps-payment-server/blob/master/DESIGN.md Prototype: https://github.com/mozilla/apps-payment-server/blob/master/paymentserver/pay/static/js/fxmarket.js As a first iteration this should spawn a buy flow process similar to buying an app or addon from AMO. This should negotiate the browser ID login.
Reporter | ||
Updated•13 years ago
|
Priority: -- → P1
Reporter | ||
Updated•13 years ago
|
Summary: Serve frontend JS for apps to make in-app purchases with: fxmarket.buy() → Implement frontend for consumer in-app payment
Reporter | ||
Comment 1•13 years ago
|
||
Problems to solve: - JS needs to be robust enough to work in all WebRTs - The JS will be invoked from the app domain but needs to talk to the marketplace domain (jsonp? etc?) - We need to protect the display of "product Foobar at price $1.99" so that it cannot be tampered with when shown to the consumer
Reporter | ||
Comment 2•13 years ago
|
||
UI flow will be designed in bug 734512
Updated•13 years ago
|
Assignee: nobody → thepotch
Updated•13 years ago
|
Target Milestone: --- → 6.5.0
Reporter | ||
Comment 3•13 years ago
|
||
mocks are in bug 742056
Updated•13 years ago
|
Target Milestone: 6.5.0 → 6.5.1
Assignee | ||
Comment 4•13 years ago
|
||
This is all done-like.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•