RandeeCao / marketbilling

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

IAB v3 improper error codes #115

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
STEPS TO REPRODUCE:
1. Clear Google Play store's application data.
2. Launch Trivial Drive/ your App implementing IAB v3.
3. Attempt purchase. Service Connection is established. Google Play UI Activity 
shows up.
4. Click 'Accept&Buy' to buy the listed Item.
5. Purchase appears to get Completed.
6. GP UI activity Delivers the result to the parent activity that initiated the 
purchase.
7. The RESULT CODE IS RESULT_OK, RESPONSE CODE in the IABResult returned is 
6(ERROR), invariably.

EXPECTED OUTPUT:
An appropriate response code should be returned

ACTUAL OUTPUT:
Reponse Code: 6 (ERROR) is returned, which is being converted into -1005 (User 
cancelled) by IABHelper.

Note: 
1. This issue exists only on 2.3.x devices and not on 4.0 or above.

2. The same error code 6 gets returned in different scenarios. 
Try to Purchase using TrivialDrive or your app implementing V3 IAB.
If you experience any of the following errors
a. Connection Timeout/ No Network
b. User already Purchased the item.
c. Purchase cancelled by the user by pressing back.
d. Version not configured for purchase.

The following  response codes should be 3(Billing Unavailable), 7 (Item already 
owned),1 (User cancelled) and 4/5 (Item/Developer error) respectively.

All that is being received is Response Code: 6. 

AFFECTED ORDER IDS (IF RELEVANT):

OS VERSION:2.3.x

MARKET/MYAPPS VERSION: Google Play store 3.10.14

DEVICE:Motorola Defy 2.3.7, Sony Xperia S 2.3.6, Samsung Galaxy Ace Duos 2.3.6 

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 nsiddhar...@gmail.com on 9 Apr 2013 at 8:48