Receipts fail to get parsed: "OuyaSDK+Receipt doesn't have the property 'gamer'"

mnemmnem Posts: 5Member
I've purchased a consumable in my game, but when I fetch the list of receipts on start, the list is empty and I can see this error in the logs:

(Filename: /Users/mnem/Development/gridlock/Assets/Ouya/SDK/Scripts/OuyaGameObject.cs Line: 250)
JsonException: The type OuyaSDK+Receipt doesn't have the property 'gamer'

Looking farther back in the log, the actual receipt data does appear to have that field:

I/Unity   ( 8421): OuyaSDK.ReceiptListListener: jsonData={"gamer":"the-gamer-id-hexadecimal-string","generatedDate":"Jan 1, 1970 12:00:00 AM","identifier":"gridlock-unlock","uuid":"anotherhexstring","purchaseDate":"Aug 8, 2013 9:31:05 AM","priceInCents":199}
I/Unity   ( 8421): UnityEngine.Debug:Internal_Log(Int32, String, Object)
I/Unity   ( 8421): UnityEngine.Debug:Log(Object)

Is this an odd bug in the SDK, or am I doing something wrong? I don't fetch the receipts until "OuyaSDK.isIAPInitComplete()" returns true.

Comments

Sign In or Register to comment.