question

C. Bireley avatar image
C. Bireley asked

purchaseUpdatesRequestSuccessful returns empty lists

I have the following function, which is being called, however, the two lists (revokedSkus and receipts) are always empty: public void purchaseUpdatesRequestSuccessful( string json ) { if( purchaseUpdatesRequestSuccessfulEvent != null ) { var ht = json.hashtableFromJson(); var revokedSkus = ht["revokedSkus"] as ArrayList; var receipts = ht["receipts"] as ArrayList; purchaseUpdatesRequestSuccessfulEvent( revokedSkus.ToList (), AmazonReceipt.fromArrayList( receipts ) ); } } What I am trying to test is restoring some new entitlements we are adding if the user deletes the game. The issue right now is that I can't seem to correctly get back that list of receipts, and if I try on my test device to re-purchase the IAP, I am told I already own it.
iap
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

C. Bireley avatar image
C. Bireley answered
It wasn't working last Thursday... but now it seems to be. Strange.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

td0239 avatar image
td0239 answered
Hey, did you ever find out what made it work? I'm experiencing a similar issue. Thanks
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Td0239, Are you still facing the issue? Is that with the SDK tester? This would be a case that SDK tester is not designed to handle.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.