Closed
Bug 1027710
Opened 12 years ago
Closed 12 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•12 years ago
|
Priority: -- → P4
| Assignee | ||
Updated•12 years ago
|
Priority: P4 → P2
Comment 1•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → kumar.mcmillan
| Assignee | ||
Comment 2•12 years ago
|
||
API patch: https://github.com/mozilla/zamboni/pull/2337
Whiteboard: [qa-]
| Assignee | ||
Comment 3•12 years ago
|
||
fxpay patch: https://github.com/mozilla/fxpay/pull/21
Status: NEW → RESOLVED
Closed: 12 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
•