Android developer error in application billing v3

I implemented iab v3 in my application a few months ago. It worked perfectly, now, starting from last week, requesting sku details causes a “developer error” on most of our test devices.

So far this has failed: the version for Android is greater than 4. (for example, 4.1.2, 4.2.2, 4.3)

Works great on 2.3.6

Everyone has the latest available updates from google play / services.

The application is not published, it is under development. Beta apk is loading in a Google game.

Does anyone else have this problem? Anyone have any suggestions?

edit: problems with downloading Google Play services started on the same day.

+1
android in-app-billing in-app-purchase
source share
1 answer

https://code.google.com/p/marketbilling/issues/detail?id=123&sort=-id&colspec=ID%20Type%20Status%20Google%20Priority%20Milestone%20Owner%20Summary

I just wasted a couple of days because there was an error in the sample code. Someone already posted the problem, and it was accepted. To quote: “It seems that the version of IabHelper.java distributed with ADT 22 has a problem in requesting SKU details, since it does not check the number of skus. If this number is more than 20, the billing service returns a developer error (5). Separation of the request in sets is not over 20 elements to avoid this. "

I have only 15 pieces in the billing applications, but I already had more than 5, so I switched to the 20th limit (the sample code simply adds a list of owned goods to the list of all elements), for which the code worked, so it does not have nothing to do with the api levels, it's just that my test devices have different accords for them, which have a different number of items belonging to them.

+3
source share

All Articles