hello
I constantly get this error when I try to implement iap and call GetItemList:
WebAPIExceptioncode: 23message: "Timeout Exception"name: "TimeoutError"stack: "TimeoutError: Timeout Exception↵ at NativeManager.getErrorObject (:1:21874)↵ at callback (:1:2666)↵ at :1:19398"proto: Error
I’m a commercial seller, registered a new app, registered items for in app purchase, I’m using this code:
webapis.inapppurchase.getItemList(1, 15, "ALL", "IAP_SUCCESS_TEST_MODE", successCallback, errorCallback); /* Success callback */ function successCallback(result) { console.log("success"); 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); } } } /* Error callback */ function errorCallback(error) { /* Error handling */ console.log(error); }
which I’ve found here: Web IAP for Galaxy Watch | Samsung Developers.
<tizen:privilege name=“Tizen Privilege | Tizen”/> privilege is added. The watch is connected to the internet.
Does anybody know what is the problem here?
I’ve added log too.
iapbug.txt (59.3 KB)