I've noticed that a few other people have had this problem, but haven't yet seen a solution.
So...I've got my game to successfully connect the IAP and retrieve the UUID and product list.
I can purchase my "entitlement" product, and I recieve an email telling me that I've purchased it. It also appears on my dev account as a purchased item.
However, when I call the requestReceiptList() function I get nothing returned!
I've tried it on the basic ShowProducts example, and the same thing happens.
I've got the correct deveoper ID entered on the OuyaGameObject, I'm using the downloaded key for my game, the manifest has the correct info in it, and I'm using a keystore that I generated in Unity.
Any ideas as to what the problem might be here?
One thing I should point out is that I'm using the Android SDK r22 instead of r21. I assumed that if I made it this far that r22 is fine. Or could that be the cause of the problem?
Comments
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
1 - Using the showproducts test scene, I first wait for it to say AIP initialized, which is pretty much instantly.
2 - I click "Get Gamer UUID", which works fine.
3 - I click "Get Products", and it successfully brings up my single entitlement product. I click purchase and then confirm the purchase. I recieve an email telling me the purchase was successful and the purchase appears on my account.
4 - I click "Get Receipts". Nothing happens.
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
I've updated to the latest ouya-unity-plugin and it's working now!
Clicking on "Get Receipts" doesn't actually display anything, but the Adb Logcat shows that the receipts have been found.
In the "OuyaShowProducts" script, on the "OuyaGetReceiptsOnSuccess" function I added an event to trigger when the m_receipts list size is found to be greater than 0. It works, so it's definitely returning the list of receipts correctly.
Thanks for all the help!