Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android In-app billing : "RESULT_DEVELOPER_ERROR"

I am unable to understand why i get a "RESULT_DEVELOPER_ERROR" in my implementation of "in-app billing".

What i've done :

  • copy code from the sample application to my app
  • android manifest contains the ""
  • a test account declared in the Google Play console on a Xoom device under Android 4.0.4 with Google Play app version 3.5.19
  • I am able tu use successfully the four reserved product ids : "android.test.purchased", "android.test.canceled", "android.test.refunded", "android.test.item_unavailable"
  • declare my own product id
  • my app is published on Google Play

The begining of exchanges with Google Play is :

  • call "checkBillingSupported" from the service
  • get a "onBillingSupported(true)" answer
  • call "restoreTransactions" from the service
  • get a "onRestoreTransactionsResponse" with "responseCode" equas to 5 (RESULT_DEVELOPER_ERROR)
  • the UI says "This version of application is not configured for billing"

Then I am able to use the 4 reserved product id ?

Is there something i missed ?

like image 985
bobygerm Avatar asked Oct 31 '25 20:10

bobygerm


1 Answers

The app needs to be signed with your production key and the one uploaded to Google Play should be the same version as the one you are testing with.

like image 199
Nikolay Elenkov Avatar answered Nov 02 '25 10:11

Nikolay Elenkov