Closed shurikb1 closed 9 years ago
Are you sure you've supplied true
as querySkuDetails
parameter for queryInventory()
method?
Documentation states:
@param querySkuDetails if true, SKU details (price, description, etc) will be queried as well as purchase information.
Yes, i use queryInventoryAsync(true, skuList, mListener).
Also i use the code with google play and everything works fine - from queryng to purchasing.
I'm currently going through logs and here are some that have cought my attention:
"Cannot find amazon authenticator. If this is 1P device, this is a bug!"
"IAP Event:
How are you testing you purchases? I've just tried it with Amazon SDK tester and it seems to be working fine... Did you check out this tutorial?
I'm testing with Live App Testing. So i have to use Amazon SDK Tester to get it to work?
I haven't tried it with live, but we have users who claim it work fine with their apps. Please try it with SDK Tester, it shouldn't be too hard, and it'll help to localize your problem.
Alright, it was my bad. My in-app items were not submitted. Just creating them is not enough as it seems, you have to fill in a lot of redundant information and finally submit every in-app item separately. Sorry to have wasted your time, i guess the issue can be closed.
Grad it worked out.
Hi! Like the title already says, getting the price in onQueryInventoryFinished returns null. inventory.getSkuDetails("sku_name").getPurchase() returns false. Also i checked if getSkuDetails() == null and it returns true. So how can getPurchase() return not null and what could be the cause for skuDetails being null?