ssawchenko / marketbilling

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

consume product failing 60% of the time with error BILLING_RESPONSE_RESULT_DEVELOPER_ERROR, but 40% succeed #109

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
STEPS TO REPRODUCE:
1. perform purchase
2. on receiving purchase successful, consume purchase
3. ~60% of consume purchases fail with BILLING_RESPONSE_RESULT_DEVELOPER_ERROR 
for our app, com.fgol.HungrySharkEvolution

Also occurs if queryInventory is used, and we then attempt to consume the 
purchases returned.

We have ruled out the BILLING_RESPONSE_RESULT_DEVELOPER_ERROR cases listed in 
the docs, namely missing permissions, unsigned app. What are the other 
possibilities? We know for a fact that the preceding purchase has been 
successful, therefore there can be nothing wrong with the app signing, 
permission or the IAP itself.

EXPECTED OUTPUT:
Consume should succeed most of the time.

ACTUAL OUTPUT:
"my.iap.name: Error consuming sku my.iap.name (response: 5: Developer Error)"

AFFECTED ORDER IDS (IF RELEVANT):
N/A - purchase completes normally, we just cannot consume the product 
afterwards reliably.

OS VERSION:
Collecting affected OS versions now. Should have extensive data in 24-48hrs.

MARKET/MYAPPS VERSION:
Collecting affected PlayStore app versions now. Should have extensive data in 
24-48hrs.

DEVICE:
Collecting affected device data now. Should have extensive data in 24-48hrs.

OUTPUT FROM ADB BUGREPORT ATTACHED:
(Note: The output from "adb bugreport" is required for all bug reports.)
Cannot reproduce on our test devices. All consumes are working for us.

NOTES:
Here is the distribution of results from Consume, from our analytics. We do not 
expect to see "response: 5:Developer Error", other errors are nominal and would 
be expected.

Response, Count, % of Results
AttemptingConsume, 505,   46.8%
Succeeded, 195,   18.1%
Error consuming sku new.com.fgol.hungrysharkevolution.gems5 (response: 
5:Developer Error), 78,   7.2%
Error consuming sku new.com.fgol.hungrysharkevolution.coins5 (response: 
5:Developer Error), 60,   5.6%
Error consuming sku new.com.fgol.hungrysharkevolution.gems4 (response: 
5:Developer Error), 27,   2.5%
Error consuming sku new.com.fgol.hungrysharkevolution.gems3 (response: 
5:Developer Error), 24,   2.2%
Error consuming sku new.com.fgol.hungrysharkevolution.coins2 (response: 
5:Developer Error), 21,   1.9%
Error consuming sku new.com.fgol.hungrysharkevolution.coins4 (response: 
5:Developer Error), 20,   1.9%
Error consuming sku new.com.fgol.hungrysharkevolution.gems2 (response: 
5:Developer Error), 19,   1.8%
Error consuming sku new.com.fgol.hungrysharkevolution.coins3 (response: 
5:Developer Error), 16,   1.5%
Error consuming sku new.com.fgol.hungrysharkevolution.gems1 (response: 
5:Developer Error), 15,   1.4%
Error consuming sku new.com.fgol.hungrysharkevolution.coins1 (response: 
5:Developer Error), 9,   0.8%
Error consuming sku new.com.fgol.hungrysharkevolution.coins5 (response: 
6:Error), 3,   0.3%
Error consuming sku new.com.fgol.hungrysharkevolution.gems5 (response: 
6:Error), 3,   0.3%
Error consuming sku new.com.fgol.hungrysharkevolution.gems4 (response: 
6:Error), 2,   0.2%
Error consuming sku new.com.fgol.hungrysharkevolution.coins5 (response: 
3:Billing Unavailable), 1,   <0.1%
Error consuming sku new.com.fgol.hungrysharkevolution.coins2 (response: 
6:Error), 1,   <0.1%
Error consuming sku new.com.fgol.hungrysharkevolution.gems3 (response: 
6:Error), 1,   <0.1%
Error consuming sku new.com.fgol.hungrysharkevolution.coins1 (response: 
6:Error), 1,   <0.1%
Error consuming sku new.com.fgol.hungrysharkevolution.gems1 (response: 
6:Error), 1,   <0.1%
Error consuming sku new.com.fgol.hungrysharkevolution.coins4 (response: 
6:Error), 1,   <0.1%

Original issue reported on code.google.com by ianh3...@gmail.com on 8 Mar 2013 at 4:19

GoogleCodeExporter commented 8 years ago
OS VERSION:
4.1.2, 327,   30.8%
4.0.4, 280,   26.4%
4.2.2, 166,   15.6%
4.1.1, 145,   13.7%
4.0.3, 59,   5.6%
4.2.1, 43,   4.1%
2.3.6, 9,   0.8%
2.3.4, 9,   0.8%
2.3.7, 8,   0.8%
3.2, 6,   0.6%
2.3.3, 3,   0.3%
2.3.5, 2,   0.2%
3.2.1, 2,   0.2%
4.0.9, 1,   <0.1%
3.1, 1, <0.1%

MARKET/MYAPPS VERSION:
3.10.14, 1014,   95.6%
3.10.10, 47,   4.4%

DEVICE: (Top 10, appears to be all devices)
SAMSUNG GT-I9300, 212,   20.0%
SAMSUNG GT-I9100, 117,   11.0%
SAMSUNG GT-N7100, 100,   9.4%
ASUS NEXUS 7, 55,   5.2%
SAMSUNG GT-N7000, 36,   3.4%
SAMSUNG GALAXY NEXUS, 36,   3.4%
SAMSUNG GT-P3110, 21,   2.0%
SAMSUNG GT-P7500, 17,   1.6%
SAMSUNG GT-P5100, 16,   1.5%
SAMSUNG GT-P3100, 16,   1.5%

AFFECTED ORDER IDS (IF RELEVANT):
Purchase completes normally, we just cannot consume the product afterwards 
reliably. Logged order Ids that failed to consume with error 
BILLING_RESPONSE_RESULT_DEVELOPER_ERROR -
86930026180006831744.1362790318663787
20372787853372145833.1362790392926466
73536762406762481040.1362804650180541
76987168053979964684.1362789358628218
63836450273001305195.1362773880323998
59451618972328185023.1362785107757282
25872939271465594042.1362807776687458
68088254958345489333.1362806184656579
39386664693587184171.1362813985556093
52688054264322637273.1362807737654691
77941899830662259590.1362793910559132
63768881767687868674.1362782893584717
82506836492733117797.1362769041028393
11083037308127508190.1362811032016601
15267375106621956060.1362815277871030
98349942083932019711.1362776760441253
41431605632734526415.1362806099013616
82930643623669691296.1362790299588366
43066045106222914945.1362815228117147
54422206183553477831.1362795989785430
52349513771680805079.1362811154788361
20999212339435617095.1362792136323298
26033419495256635243.1362792190296068
49645744716169816087.1362786196074700
71909833957540301198.1362807756690114
98043413790880550592.1362808176235877
89151360727154439274.1362844295793215
31566357970012562808.1362808626577139
31011808400490498724.1362780941264806
81628261728892069014.1362804686004849
15177337843381247650.1362774511753048
48923840510400962493.1362813862121283
62494870740720014299.1362814013290776
81353012094291248099.1362790323326766
86590233175038700975.1362773900622919
44372176364102491025.1362786170457312
46769786271859338035.1362814370700654
81594218025774602185.1362808644087437
48359056160931510670.1362782428111218
62715688421113192034.1362773855068826
36112056178702342901.1362802416872120
55652087453736502750.1362803649093366
10091971657990434369.1362814340706326
29892707053547563620.1362785098068900
53247021669917080484.1362800718646422
92599488754284366282.1362790615970185
92935195494697223104.1362811129534703
54100315256382493571.1362844249897820
79702558966684470551.1362807766398189
90586913607517742276.1362787086655042
14378569519152167766.1362780994283768
66147486915131439996.1362782933345043
76668854537547026250.1362804720129881
90258630343202219719.1362773838004951
31069150724947982315.1362773891823436
37214920515283503821.1362800783770293
90788485322695845212.1362781005556978
26738735394332950019.1362802366527267
93276115732302633722.1362802395337559
71536570413352477243.1362790521828276
56308896127374891870.1362786185951968
24141321485465727441.1362844311072567
66501763291312220127.1362774533133324
61588899149205444723.1362782408572178
36021412822711457681.1362804665049967
70062527873233348644.1362783606489331
76452824151565702969.1362795973594372
72557895170359811405.1362844239172333
61565892253007232335.1362808472477120
63947117418585509994.1362789009280434
93948582501075606958.1362815367311023
52185025059975096490.1362789347768113
59996949139272626762.1362785154015503
86323094033107234313.1362785095793153
12955675509733139712.1362808198617078
71289285357031050201.1362783489735339
38271133195927794087.1362786997882094
47607382927180311424.1362786146394233
70234006506968042725.1362844211778732
79713756423228045390.1362813999369300
98504776574696408092.1362800578822496
36715529952345412187.1362777136838632
52665988467631233365.1362783472537752
93587761869917272067.1362790307378244
24226380021316224640.1362808672344396
83265411111127017069.1362800555718980
80561917101408860198.1362781028261978
31725614205432490135.1362783617225830
54745495954077675248.1362808482524918
98183086740167023632.1362807723569115
46533223537316559902.1362790566058501
76461241693137574354.1362780972751828
40360567825705320716.1362787011142203
99280863071683452883.1362792149823876
42905101887179027838.1362802381478716
75607436338161984202.1362813126987592
78815668696109270518.1362803658320924
42461037281477847067.1362813147941276
29907344182634454705.1362808732512953
27257851951075634943.1362785086734330
80858355780178676268.1362786255192420
25500725774129130728.1362773871896992
25934933993538162662.1362808660231262
17310192385762222836.1362814396796604
98414553511715972705.1362811235691086
20180424903132731962.1362803635771947
22304214058201360230.1362813776973820
39044211723191021850.1362780985186253
65443483526423779671.1362781017470254
64622925040062344704.1362783502268763

Merchant ID: 413084485400065

Original comment by ianh3...@gmail.com on 10 Mar 2013 at 2:38

GoogleCodeExporter commented 8 years ago
This appears to be related to / a superset of this:
https://code.google.com/p/android/issues/detail?id=53077

Original comment by ashleymc...@gmail.com on 12 Mar 2013 at 3:27

GoogleCodeExporter commented 8 years ago
Issue resolved. The unconsumed purchases returning 
BILLING_RESPONSE_RESULT_DEVELOPER_ERROR were due to pirate users.

ISSUE CLOSED.

Original comment by ianh3...@gmail.com on 22 Mar 2013 at 6:35

GoogleCodeExporter commented 8 years ago
Hi, 
I am also facing same problem "Error While consuming(response:6: Error) ".
Can you please explain me what do you mean by pirate users in inapp purchase

Original comment by darshana...@gmail.com on 23 Jun 2014 at 7:16