This question is locked. New answers and comments are not allowed.
Hi All,
I have added in app purchase plugin in my icenium project. But problem is that when i am requesting product data it always executing unsuccessfull callback and returns "unemplemented service".
My code is like below -
I followed https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/13_ManagingIn-AppPurchases/ManagingIn-AppPurchases.html#//apple_ref/doc/uid/TP40011225-CH4-SW1
For creating product in itunes. Actually where is the problem? am i wrong with product creation. Any help appreciated.
Thanks
Nazmul
I have added in app purchase plugin in my icenium project. But problem is that when i am requesting product data it always executing unsuccessfull callback and returns "unemplemented service".
My code is like below -
1.
var InAppPurchase = window.plugins.inAppPurchaseManager;
2.
InAppPurchase.requestProductData("dinnerIdeaItem1", function(result) {
3.
InAppPurchase.makePurchase(result.id, 1 /* quantity */);
4.
}, function(id) { // always executing this fuction.
5.
alert(id);//
6.
console.log("[In JS] Invalid product id: " + id);
7.
}
8.
);
I followed https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/13_ManagingIn-AppPurchases/ManagingIn-AppPurchases.html#//apple_ref/doc/uid/TP40011225-CH4-SW1
For creating product in itunes. Actually where is the problem? am i wrong with product creation. Any help appreciated.
Thanks
Nazmul