{
"name": "My App",
"description": "My elevator pitch goes here",
"launch_path": "/index.html",
"icons": {
"16": "/img/icon-16.png",
…
},
"developer": {
"name": "Your name or organization",
"url": "http://your-homepage-here.org"
},
"default_locale": "ja"
}














https://developer.mozilla.org/Apps/Marketplace_review_criteria










https://wiki.mozilla.org/Marketplace/Reviewers/Apps/Guide/SecReviewTraining






https://developer.mozilla.org/Marketplace/Monetization/
mozmarket.receipts.verify(function (verifier) {
if (verifier.state instanceof verifier.states.NeedsInstall) {
forcePurchase("You must install this app");
return;
} else if (verifier.state instanceof verifier.states.OK) {
// Everything is cool
} else {
// Some other error occurred; maybe it was never a valid receipt, maybe
// the receipt is corrupted, or someone is trying to mess around.
// It would not be a bad idea to log this.
logToServer(verifier.app, verifier.receiptErrors);
forcePurchase("Your purchase is invalid; please purchase again, or
reinstall from the Marketplace");
}
});
https://developer.mozilla.org/Apps/Validating_a_receipt


fxpay.init({
oninit: function() {
fxpay.getProducts(function(error, products) {
if (error) {
return console.error('Error getting products:', error);
}
console.log('first product ID:', products[0].productId);
console.log('first product name:', products[0].name);
});
}
});
fxpay.init(
onrestore: function(error, product) {
if (error) {
console.error('Error', error, 'while restoring',
product.productId);
} else {
console.log(product.productId, 

'restored from receipt');
}
}
});
var productId = 'a1bcdeffe3'; // from getProducts().
fxpay.purchase(productId, function(error, product) {
if (error) {
return console.error(error);
}
console.log(product.productId, 'purchased and verified!');
// ***************************************************
// It is now safe to deliver the product to your user.
// ***************************************************
});
Application submission, management and manetization in Firefox Marketplace
Application submission, management and manetization in Firefox Marketplace
Application submission, management and manetization in Firefox Marketplace
Application submission, management and manetization in Firefox Marketplace
Application submission, management and manetization in Firefox Marketplace

Application submission, management and manetization in Firefox Marketplace