Thursday, July 19, 2012

[android-developers] inAppBilling: onRequestPurchaseResponse vs onPurchaseStateChange

Hi, all.
I have implemented InAppBilling in my application and after publication I have found that sometimes my application did not received PURCHASE_STATE_CHANGED message and onPurchaseStateChange is never called.
On the other hand it always received REQUEST_PURCHASE message with correct information about purchace state (if user card is invalid)
The question is: could I use REQUEST_PURCHASE message as final information about purchace transaction and perform all operation in onRequestPurchaseResponse callback?
If it is incorrect please tell me - what is the best way to act in such situation?

Thank you in advance,
Tina

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

No comments:

Post a Comment