Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IAB signed data with no orders in it

I've been using IAB in my app for several months now and I've noticed some of the signed data coming from IAB looks like this. (Note I removed the signature for brevity).

{"signedData":"{\"nonce\":-5355169768522252731,\"orders\":[]}","signature":"xxx...."}

Notice there are no orders in this signed data response. Does anyone know what would cause this message to get sent back from the IAB service? It seems to have no value at all.

like image 651
Bryant Harris Avatar asked Jan 16 '13 06:01

Bryant Harris


1 Answers

Calling restoreTransactions() will result in a message with empty orders if the users has not purchased anything.

like image 171
Nikolay Elenkov Avatar answered Oct 31 '22 19:10

Nikolay Elenkov