I implement In-app billing in my application. but sometimes(5%), when user
purchase, can not get the purchase information after receive notify ID.
STEPS TO REPRODUCE:
1.receive notify ID
2.send Get Purchase Information request
3.in receiver, receive RESULT_ERROR
EXPECTED OUTPUT:
receive PURCHASE_STATE_CHANGED response
ACTUAL OUTPUT:
always receive RESULT_ERROR even if reboot phone! market seem to be in dead
loop.
AFFECTED ORDER IDS (IF RELEVANT):
OS VERSION:
2.2.1
MARKET/MYAPPS VERSION:
2.3.6
DEVICE:
Galaxy S 4G
OUTPUT FROM ADB BUGREPORT ATTACHED:
(Note: The output from "adb bugreport" is required for all bug reports.)
08-11 15:37:03.533: DEBUG/BillingReceiver(2797): onReceive(): ......
08-11 15:37:03.533: DEBUG/BillingReceiver(2797): notify ID = 6526439319609430626
08-11 15:37:03.533: DEBUG/BillingSender(2797): GetPurchaseInformation()...
08-11 15:37:03.541: DEBUG/BillingSender(2797): GetPurchaseInformation received
: RESULT_OK
08-11 15:37:03.584: DEBUG/BillingReceiver(2797): onReceive(): ......
08-11 15:37:03.584: DEBUG/BillingReceiver(2797): onReceive():
checkResponseCode()......
08-11 15:37:03.584: DEBUG/BillingReceiver(2797): RequestType =
GET_PURCHASE_INFORMATION; ResponseCode = RESULT_ERROR
NOTES:
only after reinstall market and reboot phone, receive PURCHASE_STATE_CHANGED,
complete the purchase.
another issue:
sometimes(5%), when I receive Several refund and cancelled orders in one
PURCHASE_STATE_CHANGED intent, I need send all the order's notify Id in one
ConfirmNotifications request, but ConfirmNotifications always RESULT_ERROR even
if I reboot phone, market seem to be in dead loop too. only after reinstall
market and reboot phone, I can complete the transactions.
Original issue reported on code.google.com by likai.an...@gmail.com on 11 Aug 2011 at 8:51
Original issue reported on code.google.com by
likai.an...@gmail.com
on 11 Aug 2011 at 8:51