google play - Android IAB: "Error refreshing inventory (querying prices of items)" Developer Error -


i've been setting android in app billing v3, using iabhelper class, , following example code provided google. have working way through purchase (with signed apk , real credit card charge).

however, in course of testing today started new error in queryinventoryfinishedlistener queryinventoryasync() method:

iabresult message: "error refreshing inventory (querying prices of items)" iabresult response: 5:developer error 

weird thing #1 occurs after oniabsetupfinished() callback returns (with customary "hooray" message). weird thing #2 can subsequently & process in app purchase (using launchpurchaseflow() method).

i found patch here addresses same symptoms i'm experiencing, didn't work me.

i've tried using different devices, using different gmail accounts, , building new product scratch. getting error on earlier versions of app ran correctly (what?!).

my question is: why can't query product inventory, after iabhelper has confirmed set successful? causing error, , how can fix it?

thank insight.

update

i able inventory query transactions work again ditching account testing with, , switching new account. no code change.

my tentative conclusion got corrupted in user account using (?). during testing, had hit pretty hard lot of purchases of different in-app products -- still need find out happened, , make sure doesn't happen of users.

please let me know if have experience this. thanks!

i had same problem in 1 of our app under test mode. later, developer figured out that, had clear cache of google play store app.

so can try -

  1. go device's settings menu.
  2. go applications (may labeled application manager).
  3. tab on applications.
  4. search , open google play store app. tap on it, application settings show
  5. tap on clear data , clear cache.

now go app , try load inventory. solved problem.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -