Questions tagged [in-app-billing]

In-app Billing, a service provided by Android operating system.

In-app Billing is a service allowing developers to sell digital goods from inside the application.

Similar technology for is called In-app Purchase.

2468 questions
297
votes
18 answers

This version of the application is not configured for billing through Google Play

When I try to run my application with in-app billing I am getting the error: "This version of the application is not configured for billing through Google Play. Check the help center for more information". I have the billing permission already in…
Gatekeeper
  • 6,060
  • 6
  • 25
  • 37
126
votes
16 answers

In-App Billing test: android.test.purchased already owned

I am currently testing In-App Billing for a future app, and after I successfully "bought" the test item "android.test.purchased" the first time, I now receive the response code 7 every time I try to buy it again, which means that I already own this…
psykhi
  • 2,921
  • 2
  • 14
  • 22
120
votes
7 answers

How to verify purchase for android app in server side (google play in app billing v3)

I have a simple app (needs user login with account). I provide some premium features for paid users, like more news content. I need to record if the user has bought this item in my server database. When I provide data content to user's device, I can…
virsir
  • 14,359
  • 23
  • 71
  • 108
112
votes
5 answers

onIabPurchaseFinished never called.

I've been trying to set up in-app billing for my first app, and have been using the android.test.purchased sku. The purchase come through, and I manage to get the SKU into my inventory, but, as the title says, onIabPurchaseFinished, is never…
AAAton
  • 1,363
  • 2
  • 10
  • 11
102
votes
18 answers

the item you requested is not available for purchase

I'm trying to integrate Android Market in-app purchases into my app, but unfortunately coming across an annoying error every time I try to purchase a real inapp product. I've taken the sample application (Dungeons) and added it to my app. I've…
laxman
  • 1,608
  • 4
  • 14
  • 22
74
votes
7 answers

How to implement In-App Billing in an Android application?

It seems that it is quite complicated to implement In-App Billing in an Android app. How could I do this? The sample app from the SDK only has one Activity, which kind of over-simplifies it for an application like mine that has multiple Activities.
SZH
  • 3,738
  • 7
  • 38
  • 69
71
votes
14 answers

Android in app purchase: Signature verification failed

I have tried for several days to solve this problem, using the Dungeons demo code that comes with the SDK. I've tried to Google for an answer but can't find one. In the Dungeons demo, I passed my public key from the dev console. Signed the apk and…
user1926092
  • 711
  • 1
  • 6
  • 4
68
votes
7 answers

In-app purchases with multiple accounts

I am facing a problem with in app purchases/subscriptions: If there are multiple accounts on the device, I can't get the purchases, which were made with the second account. This can sometimes be temporarily fixed, by installing the app from the…
66
votes
12 answers

Google Play error "Error while retrieving information from server [DF-DFERH-01]"

I'm just finishing a game for android and I'm testing out the in app purchase functions. I'm sending testing using android.test.purchased It was working fine until a few hours ago. But now when I click the "accept and buy" in google play, the store…
user922220
  • 891
  • 2
  • 7
  • 7
64
votes
13 answers

Testing in-app billing: "The publisher cannot purchase this item"

My app seems ready to get a 'real life' test for an in-app purchase procedure on my device. However, I receive an "The publisher cannot purchase this item" error message in Play Store. Now, how am I supposed to test this? I don't want to lose my…
richey
  • 3,750
  • 7
  • 31
  • 44
61
votes
7 answers

Android In App Billing: securing application public key

From Android In App Billing version 3 (TrivialDrive)sample application coming with sdk MainActivity.java /* base64EncodedPublicKey should be YOUR APPLICATION'S PUBLIC KEY * (that you got from the Google Play developer console). This is not your *…
Krishnabhadra
  • 33,632
  • 30
  • 110
  • 164
60
votes
1 answer

In-app purchases made via promo codes return empty developer payload string

I have an app published to the alpha channel, with an in-app (un)managed item that costs $1. When I purchase normally, i.e, use a credit/debit card Google returns the correct developer payload string, but if I choose to "redeem" a promo code and…
KDB223
  • 643
  • 5
  • 8
57
votes
10 answers

Google In-App billing, IllegalArgumentException: Service Intent must be explicit, after upgrading to Android L Dev Preview

My in-app billing code was working fine until I upgraded to the Android L Dev Preview. Now I get this error when my app starts. Does anyone know what's changed about L that causes this or how I should change my code to fix this? android…
53
votes
9 answers

Implementing In App purchases in Android?

Edit: Android now supports in-app billing! Original question: It looks like Android won't natively support in-app purchases for a while, and when it does there might be a huge user base with devices that don't support them. What's the best way to…
hpique
  • 112,774
  • 126
  • 328
  • 461
53
votes
6 answers

Billing API v3 IabHelper NullPointerException

edit 4/15: Catching nullpointer in IabHelper appears to have stopped this problem. I am no longer seeing the exceptions being thrown, I'm going to accept this as an answer. edit 4/04: A little bit of a deeper dive. There are try catch blocks that…
logray
  • 2,312
  • 1
  • 25
  • 30
1
2 3
99 100