RandeeCao / marketbilling

Automatically exported from code.google.com/p/marketbilling
1 stars 0 forks source link

In app Purchase appears to succeed, but is actually cancelled #110

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
STEPS TO REPRODUCE:
1. query the inventory for in app purchases on device
2. select an item to purchase, call GoogleIAB.purchaseProduct()
3. Go through the process of making a purchase
4. notice that the output is: purchaseFailedEvent: User canceled. (response: 
-1005:User cancelled)
5. cannot purchase the item again, user will get an purchaseFailedEvent: Unable 
to buy item (response: 7:Item Already Owned)
6. item will show up in the list of List<GooglePurchase> on future requests

EXPECTED OUTPUT:
a call to purchaseSucceededEvent with the proper receipt data

ACTUAL OUTPUT:

03-08 15:57:23.140: W/Unity(870): queryInventorySucceededEvent
03-08 15:59:12.660: E/Unity(870): purchaseFailedEvent: User canceled. 
(response: -1005:User cancelled)

AFFECTED ORDER IDS (IF RELEVANT):

OS VERSION: 2.3.7

MARKET/MYAPPS VERSION: Google Play Store version 3.10.14, Prime31 version 
IABAndroid_2013_03_05

DEVICE: Nexus S 4G

OUTPUT FROM ADB BUGREPORT ATTACHED:
(Note: The output from "adb bugreport" is required for all bug reports.)

NOTES:

Original issue reported on code.google.com by robhow...@gmail.com on 9 Mar 2013 at 12:14