I use the code below. I can't reach any of these nasted logs. Console says:
Create InAppPurchaseManager constructor
VM47:1 getItemList() entered
VM47:1 startNumber : 1
VM47:1 mode : IAP_SUCCESS_TEST_MODE
VM47:1 type : ALL
That's all. I figure that may cause that I don't have IAP Library, but I couldn't find any. Only IAP5Helper for Android in the samsples! The sample for Tizen doesn't contain the library!
What the hell? How to manage it?
function successCallback(result) { if (result._items.length === 0){ console.log("No item"); } else { for (var i = 0; i < result._items.length; i++) { console.log("Item ID: " + result._items[i].mItemId); console.log("Item Name: " + result._items[i].mItemName); console.log("Item Price: " + result._items[i].mItemPrice); } } } function errorCallback(error) { console.log(error.name + " : " + error.message); } webapis.inapppurchase.getItemList(1, 15, "ALL", "IAP_SUCCESS_TEST_MODE", successCallback, errorCallback);