Hi
The JSON string that is returned with the PURCHASE_STATE_CHANGED
intent provides my application with the details of one or more billing
transactions. Why it does not give details of single transaction. How
i know which is the current transaction. Is it possible to get only
one transaction details, that i initiates currently.

For example it gives JSON String as:

{"nonce":-2288124670250699236,"orders":[
{"notificationId":"-4213366793897093248","orderId":"534433102778955","packageName":"com.me.android.myapp","productId":"com.me.item1","purchaseTime":
1303481007000,"purchaseState":0},
{"notificationId":"6920202016819407210","orderId":"246689679070374","packageName":"com.me.android.myapp","productId":"com.me.item1","purchaseTime":
1304172010000,"purchaseState":0},
{"notificationId":"-8201707185977896024","orderId":"605726026064089","packageName":"com.me.android.myapp","productId":"com.me.item2","purchaseTime":
1304192128000,"purchaseState":1},
{"notificationId":"3830350240722094129","orderId":"100241868570319","packageName":"com.me.android.myapp","productId":"com.me.item1","purchaseTime":
1304177648000,"purchaseState":0},
{"notificationId":"7246517736175753131","orderId":"973201368407407","packageName":"com.me.android.myapp","productId":"ccom.me.item1","purchaseTime":
1304189775000,"purchaseState":0},
{"notificationId":"9723873096464638135","orderId":"702630174276976","packageName":"com.me.android.myapp","productId":"com.me.item1","purchaseTime":
1304184121000,"purchaseState":0}
]}

But i was expecting as:
{"nonce":-2288124670250699236,"orders":[
{"notificationId":"9723873096464638135","orderId":"702630174276976","packageName":"com.me.android.myapp","productId":"com.me.item1","purchaseTime":
1304184121000,"purchaseState":0}
]}

As for getting JSON String, i do not know which is my current
transaction, because it gives more than one transactions result.

Kind Regards
Muhammad Rashid

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to