Reputation: 256
I'm trying to test actual purchases in my application before publishing it and using Billing Library v3. And I have a problem with the purchase of the item that has previously purchased on other device.
Here are my actions:
Is this a problem with unpublished app or test accounts? I'm sure that sent "developer payload" string is the same on both devices but I think it's not the case because on second device it doesn't event check the payload, it just returns null on inventory.getPurchase(SKU_OF_THE_ITEM) in response for queryInventoryAsync().
Does anybody had the same problem?
Upvotes: 0
Views: 879
Reputation: 256
It seems like the problem resolved. I have 2 accounts on my second device and I switched to the primary account from secondary acc without launching Google Play app. It has to be launched at least once - it shows some sort of "Accept Agreement" box and after accepting it the purchases in the application are processed correctly. Hope this helps to someone.
Upvotes: 2