i need to check when app start then the In-App product is already purchase by user or not.
how to check user is already purchase specify app product ?
its also working when app uninstall and re-install app , this functionality provide by android api or not ?
can anyone suggest me which step follow for this so user not again purchased product and we check in app side its purchased then we give some features to users in app..
Thanks
On selecting the device, the uploaded/selected app will automatically open in the device in question. Alternatively, you can sign in to Google Play Store, download and install a published app and test its in-app purchase feature. Just pick the Install via Google Play Store option.
To test your Google Play Billing Library integration using test tracks, do the following: Publish your app to a test track. Note that after you publish an app to a testing track, it can take a few hours for the app to be available for testers. Ensure each tester opts-in to your app's test.
With some apps, you can buy additional content or services within the app. We call these "in-app purchases." Here are some examples of in-app purchases: A sword that gives you more power in a game. A key that unlocks more features of an app.
Even if people download an app for free, chances are it can still cost them something through in-app purchases. This is true for both App Store and Google Play users, prompting users to spend, whether it's for additional features, game add-ons, or subscriptions.
First of all, you need a database to persist the orders. Second of all, when the user install the your app. You have to issue a RESTORE_TRANSACTIONS what the user has bought and insert the result into the local database. you can read more in this link. http://developer.android.com/guide/market/billing/billing_overview.html
search for the keyword RESTORE_TRANSACTIONS
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With