언어 설정

Menu
Sites
Language
IAP Question

If I perform an iap  "getpurchaseditemslist" operation when the user is not signed in to a tizen account, it fails with a result code of 9000 (ProcessError); but there is no prompt for the user to sign in ( as is the case when you perform a purchase operation ). Clearly the end-user needs to be informed or they will have no access to purchased items - is there a recommended procedure to follow in this case? Is it possibly to query from within the app if a user is signed in to a tizen account, or to launch the tizen account sign in?

Thanks,

Alan

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

7 댓글
john Smith
Hi, even i have also tried, i am also getting that error. First check internet connection on your device/emulator. Next in manageappplicatio chech IapClient has installed or not, if not then download from https://developer.tizen.org/downloads/in-app-purchase and install that client, after that run the application. I think this is demo application.
Alan Savage
I have both Tizen Account and IapClient applications installed, network connection is fine; indeed once the user is signed into a tizen account, it all works fine. The issue is simply that I would expect a tizen account log-in prompt when requesting the purchased items list, or at least a "not signed in" error code, when the user is not signed in to a tizen account - otherwise it appears to the user that they have no purchased items.
john Smith
Hi, Are you able to view the list of item, if you want to purchse that then you need tizen seller account.
Alan Savage
Yes I am able to list available items and have a tizen account. The issue occurs when I am not signed in to that account - if I attempt to purchase an item, a sign in prompt is launched by the IAP, which is fine; if I try to retrieve the purchased items list while not signed in, it simply fails. I think the IAP should launch the account sign-in when you attempt to get the purchased items list while not signed in, but it does not. Otherwise I need to i) check if the user is signed in ii) launch the sign in flow from within my app, before requesting purchased items list. I do not know how to do either of these things. If anyone else does, that would be very useful to know! Thanks, Alan
wil smith
AFAIK authentication is taken care by IapClient. IapClient's current implementation retrives the purchased list items for currently signed user(with Tizen Account credential). So if you have signed out it doesn't go for authentication. However if you purchase an item from the available list, it makes authentication manadatory and credentials are being asked. It looks the whole setup provided is dummy one, provided for dvelopement purpose.
john Smith
hi, The sample app https://developer.tizen.org/downloads/in-app-purchase attached in the given link is demo one. It's only showing how in app purchase module going to be work. You download Tizen Account TPK and install it on device. After that try to purchase the item. It will work. But this is demo application.
Unseon Ryu
IAP does not work on emulator but real device?