Closed
Bug 1027710
Opened 10 years ago
Closed 10 years ago
fxpay: list all developer in-app products
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
2014-07-29
People
(Reporter: kumar, Assigned: kumar)
References
Details
(Whiteboard: [qa-])
Instead of hard coding product IDs into code, it would be a nice enhancement if you could use fxpay.js to list all active products. Pseudo code: fxpay.init({ appId: myAppId, ... }); fxpay.fetchProducts(function(error, info) { if (error) { throw error; } // Set up the UI so the product can be purchased... // var $newProduct = ... $newProduct.click(function() { fxpay.purchase(info.productId, ...); }); }); I think the API already supports this but might need some tweaks.
Updated•10 years ago
|
Priority: -- → P4
Assignee | ||
Updated•10 years ago
|
Priority: P4 → P2
Comment 1•10 years ago
|
||
API for this is here: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/payment.html#in-app-products
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → kumar.mcmillan
Assignee | ||
Comment 2•10 years ago
|
||
API patch: https://github.com/mozilla/zamboni/pull/2337
Whiteboard: [qa-]
Assignee | ||
Comment 3•10 years ago
|
||
fxpay patch: https://github.com/mozilla/fxpay/pull/21
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2014-07-29
You need to log in
before you can comment on or make changes to this bug.
Description
•