0
votes

Another Android InApp Billing question...

I got the following error:

This version of application is not configured for billing.

, while trying to purchase a real configured managed item. I have already multiple versions released for production. They do not contain any billing code, but I thought signing a release build from my current dev branch with the same version number and name as the last apk in store, would suit - but it don't.

What have I done on my dev branch apk:

  1. added permission to manifest

  2. added billing code to do a purchase with my sku

  3. changed version name and number to be same as last store version

  4. added managed product with same sku to dev console and activated it

  5. waited 24h+

  6. added my google accounts from device to alpha testers

  7. added my google accounts to Gmail accounts with testing access in devC>settings>Account Details

  8. build apk for release and signed it as usual with release key

What am I might be missing here? Thank you in advance!

1
Are you upload changed version apk on your google play storeChirag Arora
Changed version? I did not upload the apk which I've built from my dev branch. But it uses the same version number and code as the one, that is already uploaded and published via the store.JacksOnF1re
Did you read my question properly? :)JacksOnF1re
while trying to purchase a real configured managed item. I have already multiple versions released for production. They do not contain any billing code, but I thought signing a release build from my current dev branch with the same version number and name as the last apk in store, would suit - but it don't. You said that you want to use a configured product in your another application with same name or version right?Chirag Arora
Yes, I want to purchase my product (which I have configured and activated through dev console), using my app which is build for release and has the same version and number as the one that is already uploaded to store. The both apks are exactly the same, besides the billing code.JacksOnF1re

1 Answers

1
votes

Follow these steps from android developer site :

To implement In-app Billing in your application, you need to do the following:

Add the In-app Billing library to your project.
Update your AndroidManifest.xml file.
Create a ServiceConnection and bind it to IInAppBillingService.
Send In-app Billing requests from your application to IInAppBillingService.
Handle In-app Billing responses from Google Play

Check Inapp Billing Link

Publish your app in alpha for testing and then check it will works.