AndroidInAppBilling icon indicating copy to clipboard operation
AndroidInAppBilling copied to clipboard

Error refreshing inventory (querying owned items). (response: -1003: Purchase signature verification failed)

Open marcsyp opened this issue 11 years ago • 7 comments

Everything was working fine until a few weeks ago, when I started getting this error. The init() is successful, but trying to query the purchases fails. I am using an account that is listed under the test accounts in my Developer console (not the developer account).

I am hearing from my beta testers that they are getting the same error.

Using Cordova 3.6.3 (but was happening in Cordova 3.3 as well), v3 of the plugin. Did the Google Play API change recently?

Thanks, Marc

marcsyp avatar Oct 02 '14 17:10 marcsyp

Also, I have tried the following: . canceled my test purchase and received confirmation of that test purchase cancellation . uninstalled and reinstalled the app . Triple checked the public key in the java file . The readme has changed since I installed this plugin, so I created a billing_key.xml file in /values . Made sure the APK installed is the same as the APK on Google Play

I have not uninstalled and reinstalled the inAppBiling plugin. Should I try that?

marcsyp avatar Oct 02 '14 17:10 marcsyp

One more note. This is occurring for an actual purchase as well as test purchases.

marcsyp avatar Oct 02 '14 17:10 marcsyp

I'm experiencing the same... Did you get anywhere with this?

mattgrande avatar Oct 23 '14 20:10 mattgrande

I have discovered that, at least in my case, it's not possible to use a debug build even if signed with the same key as the release build. Once I install the release version, I usually get no response (no error message, nothing, but of course I can't check the console to see anything since it's not debuggable). Then, after waiting 8-24 hours, the billing system starts to work.

A really annoying situation, to be sure...

marcsyp avatar Oct 23 '14 20:10 marcsyp

I'm in de same boat, currently testing with a test purchase: android.test.purchased

arenddeboer avatar Oct 27 '14 12:10 arenddeboer

Here's a recommendation: Make sure that your Billing Key is properly saved. That was my problem, after all that...

mattgrande avatar Oct 27 '14 13:10 mattgrande

i am getting the same error and my base64 publickey is correct

cordova plugin add https://github.com/poiuytrez/AndroidInAppBilling.git --variable BILLING_KEY="MIIBIjANBgk.......Hb3KtJI39jopGfcAWCO8m1gKrS9o4yaYV6vnZBN1ksRwIDAQAB"

This is how am installing the plugin. is there something else i need to configure:(

ravikumara avatar Nov 13 '14 15:11 ravikumara