Google Play IAP V3 - load inventory ?

If it is possile to load user’s owned in-app products, I think that Google Play IAP V3 is more useful and powerful.

Or, it is good that callback is called when store.consumePurchase( { … } ) is called and the process of consume is completed.

Now the latter is possible.

That is, when store.consumePurchase() is called, transaction callback is called which is defined store.init().

However, there are situations such as the following:

When it is not possible to know which in-app products is purchased and but not consumed,

( network error, crash, discharge of the battery, forced termination by OS and so on  )

there is no choice but to pass all of the in-app product identifiers to store.consumePurchase().

In this case, it is impossible to count the “consumed” state in transaction callback (the 2nd parameter of store.init())

So, I hope it will be supported to query the owned in-app products for the user.

With Google Play In-app Billing, there is something like this:

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

* Managing consumable purchases in your application

  1. Send a getPurchases request to query the owned in-app products for the user.

  2. If there are any consumable in-app products, consume the items by calling consumePurchase. This step is necessary because the application might have completed the purchase order for the consumable item, but stopped or got disconnected before the application had the chance to send a consumption request.

  3. Get a response code from Google Play indicating if the consumption completed successfully.

  4. If the consumption was successful, provision the product in your application.

Did anybody find a solution for this problem?this is major problem!  :frowning:

There is no way to find out about products that the user has consumed on Google Play.

You can initiate a restore, and Google Play will tell you what products are owned by the user; however, items that have been ‘consumed’ are not included in this information.

This means that for consumable products (coins etc.), it’s your app’s responsibility to maintain an inventory of which products the user has bought.

Did anybody find a solution for this problem?this is major problem!  :frowning:

There is no way to find out about products that the user has consumed on Google Play.

You can initiate a restore, and Google Play will tell you what products are owned by the user; however, items that have been ‘consumed’ are not included in this information.

This means that for consumable products (coins etc.), it’s your app’s responsibility to maintain an inventory of which products the user has bought.