Question

I have implemented the inapp billing which is working perfectly to my application and now I want to validate the correct order ids. Is there any method to check that I have received the correct order id and a valid order ids. Kindly tell me how to do that.

Was it helpful?

Solution

According to what I have understood from your question check my below answer, You have to store your order id either in your local database or server side database.

you can retrieve the information after user purchased the item, you can get response. you can store order id from that response in your database.

check this link for more information:

http://developer.android.com/google/play/billing/billing_integrate.html

you can verify that you can purchased correct product or not by using developer payload, check this links link1 and link2. After purchasing the product you can verify either user has purchased the same product or not.

Hope it will solve your query.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top