I am having trouble to understand a thing about consumable products.
When I buy a renewable-subscription, restart the app, and ask for the products, which
I have purchased on the device, I get the Product with all the transaction data and receipt.
(since product is owned=true and it has the transaction data)
After approving a Consumable product (basically our 1-Year-Pass), the product's transaction field is NOT empty.
However, as soon as I query my products (store.products), right after calling finish, the Consumable product doesn't have any of the transaction data (= null) anymore. Same if I just restart the app and do the whole refresh call etc again.
Is there any way to load all purchased items from that device? Like a purchase history and get the transaction data, so we can send it to Google and verify it?
Or maybe in other words: how should something like a year-pass be implemented?
Hi there,
I am having trouble to understand a thing about consumable products.
When I buy a renewable-subscription, restart the app, and ask for the products, which I have purchased on the device, I get the Product with all the transaction data and receipt. (since product is owned=true and it has the transaction data)
After approving a Consumable product (basically our 1-Year-Pass), the product's
transaction
field is NOT empty.However, as soon as I query my products (
store.products
), right after calling finish, the Consumable product doesn't have any of the transaction data (= null) anymore. Same if I just restart the app and do the whole refresh call etc again.Is there any way to load all purchased items from that device? Like a purchase history and get the transaction data, so we can send it to Google and verify it?
Or maybe in other words: how should something like a year-pass be implemented?
Maybe I am just missing a simple call?
Thanks a lot for any help!
My code looks (simplified) like this:
NOTE: I always buy with registered sandbox-account