Posting requesting multiple products with inAppPurchaseManager
Documentation for inAppPurchaseManager is poor at best. Here’s how to initialize with multiple products:
window.plugins.inAppPurchaseManager.requestProductsData([“myproduct1”, “myproduct2”, “myproduct3”], function(feedback)
{
for (var c=0; c<feedback[0].length; c++)
console.log(“Succeded: “+feedback[0][c][‘id’]);
for (var c=0; c<feedback[1].length; c++)
console.log(“Failed: “+feedback[1][c]);
});