anychen / marketbilling

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

getSkuDetails return response code 5 when querying more than 20 items #137

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
STEPS TO REPRODUCE:
1. Go to google play developer console and setup 30 items
2. Query for all 30 items 
ArrayList skuList = new ArrayList();
for (int i = 0; i < 30; i++)
{
skuList.add("testItems." + 1);
}
Bundle querySkus = new Bundle();
querySkus.putStringArrayList(“ITEM_ID_LIST”, skuList);
int response = skuDetails.getInt("RESPONSE_CODE");
3.

EXPECTED OUTPUT:
Return all 30 items

ACTUAL OUTPUT:
Return response code 5 (BILLING_RESPONSE_RESULT_DEVELOPER_ERROR)

AFFECTED ORDER IDS (IF RELEVANT):

OS VERSION:

MARKET/MYAPPS VERSION:

DEVICE:

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 milky...@gmail.com on 2 Aug 2013 at 12:16

GoogleCodeExporter commented 9 years ago
Just had the same issue. I have about 28 in-app purchase items. Please fix.

Original comment by fida...@gmail.com on 20 Nov 2013 at 7:11

GoogleCodeExporter commented 9 years ago
Is there a workaround for this? Having the same problem.

Original comment by realworl...@gmail.com on 20 Jun 2014 at 11:21

GoogleCodeExporter commented 9 years ago
Breaking up the requests to query only 20 items at a time works for me.

Original comment by krabien on 20 Jun 2014 at 11:24