Questions tagged [android-billing]

Android In-app Billing is a Google Play service that lets you sell digital content from inside your applications.

You can use the service to sell a wide range of content, including downloadable content such as media files or photos, virtual content such as game levels or potions, premium services and features, and more. You can use In-app Billing to sell products as:

Standard in-app products (one-time billing), or

Subscriptions, (recurring, automated billing)

Useful links

475 questions
1
vote
2 answers

Make the whole app as subscription

I have read about subscription but all of them is about in app items. Are there apis or methods to make the full app as a subscription? I have also tried in Google console making a new app but there is only FREE and PAID option. I want my app to be…
wtsang02
  • 18,603
  • 10
  • 49
  • 67
1
vote
1 answer

Android billing - error you own this item

I have a ndroid application with in-app billing. I want a have a subscription. i see a google sample. i introduced billing in my application. i purchase one item. but i have problem. i click a button 'purchase' start intent ... .after closing this…
1
vote
1 answer

Arbitrary donation value using in-app purchases?

My users are asking for a way to donate to me via in-app purchases. I could offer different tiers, like $1/$5/$10 managed items. It would be nicer if the user could just input whatever amount they want. Is there a way to do this? I suppose I could…
user2294293
  • 49
  • 1
  • 7
1
vote
1 answer

Android billing - item not found

I created a subscription product and when people try to buy it, they click from my app to the app store, and they get an error "item not found" But the items shows up as live in my developer console. Here is how I call it: Here is the…
Genadinik
  • 18,153
  • 63
  • 185
  • 284
1
vote
2 answers

Get in-app product price from google play

I refer to this link http://developer.android.com/training/in-app-billing/list-iab-products.html Dear All, I have to show the price of in-app products of my app from google play. Although I tried to get prices from google play as shown in link…
John Nash
  • 192
  • 2
  • 10
1
vote
2 answers

Online documentation for IabHelper class from the Android billing samples?

The Android's developer guide for In-app billing V3 comes with a sample app called TrivialDrive. In it, there's an utility class called IabHelper, which the guide advise us to import on our own apps. I would like to know if there is an online…
VIBrunazo
  • 1,340
  • 14
  • 21
1
vote
2 answers

Getting order ID when querying for purchased items

I'm looking at querying owned items, and it doesn't include getting Checkout order IDs that are available when user actually makes a purchase. Is there no way to query the order ID for a purchase that have already been made?
Violet Giraffe
  • 32,368
  • 48
  • 194
  • 335
1
vote
0 answers

How to find account information relevant to in app billing transaction

Google documentation specifies that an in application billing transaction is linked to the account that is set as primary on a device. How can we find with which account the transaction was made if the user has more than one google account…
Oagar
  • 161
  • 1
  • 5
1
vote
1 answer

In-app billing implementing: confirmed purchase

This is part of the code to implement in-app billing. I have two doubts. @Override public void onPurchaseStateChange(PurchaseState purchaseState, String itemId, int quantity, long purchaseTime, String developerPayload) { if…
1
vote
1 answer

Requesting transaction with SOOMLA Android Store billing wrapper

I'm trying to setup in-app billing for my Android game. Google Play is not making it easy (sigh). I came across a few open source libraries and it seems like The SOOMLA Project is the one more suited for games. Their readme file explains how to…
1
vote
0 answers

Extend application by download of another application

I got an android application which is not yet released but I want it to be extendable. So what I want to do is: You download application "XYZ" from the market which is for example an audio player. The user could now either play his own audio files…
androidavid
  • 1,258
  • 1
  • 11
  • 20
1
vote
1 answer

Android billing - should I implement the ServiceConnection or the IMarketBillingService

I am looking at the Android in-app billing tutorial here: http://developer.android.com/guide/google/play/billing/billing_integrate.html and they have an instruction to implement the iMarketBillingService. But I saw in another example that the…
Genadinik
  • 18,153
  • 63
  • 185
  • 284
1
vote
1 answer

Android billing - it says checkBillingSupported() is deprecated. What should I use instead?

Android documentation says that this method is deprecated, but I do not see what else I can use instead. Basically, I am trying to do something like this: if (mBillingService.requestPurchase(issueProductIdPsych, Consts.ITEM_TYPE_INAPP , null)) { …
Genadinik
  • 18,153
  • 63
  • 185
  • 284
0
votes
0 answers

Android Kotlin - Billing subscriptions - purpose of consumeAsync?

I've followed a tutorial about implementing subscriptions with Google Billing, but I've left out some methods but it seems to work just fine. This is one of the methods I left out: private fun handelPurchase(purchase: Purchase){ val…
Eduard Unruh
  • 985
  • 1
  • 14
  • 35
0
votes
0 answers

Android kotlin Billing - ITEM_ALREADY_OWNED condition not executed

I have the latest billing version 6.0.1 This is the function to get the item prices: private fun getPriceSingle(productId: String, priceText: TextView){ val queryProductDetailsParams = QueryProductDetailsParams.newBuilder() …
Eduard Unruh
  • 985
  • 1
  • 14
  • 35