Questions tagged [in-app-billing]

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

Filter by
Sorted by
Tagged with
309votes
21answers
134kviews

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 ...
user avatar
  • 6,218
58votes
10answers
26kviews

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 ...
user avatar
  • 1,464
135votes
8answers
113kviews

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. ...
user avatar
  • 14.7k
71votes
14answers
54kviews

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 ...
user avatar
117votes
19answers
109kviews

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 ...
user avatar
  • 1,804
112votes
5answers
13kviews

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 ...
user avatar
  • 1,423
40votes
5answers
39kviews

Server-side verification of Google Play In-app billing version 3 purchase

I'm unable to find a straight answer as to how I verify an in-app billing purchase on the server before making downloadable content available to the user. I use in app-billing version 3. I purchase ...
user avatar
  • 9,962
6votes
3answers
6kviews

In-App billing connect to Firebase and get Products

I'm starting to create an APP where I can buy items from it. Could be like this: where you can see an Image, Name of product, and Price. Well, I allready have a Sign-in with Google made with ...
user avatar
9votes
2answers
3kviews

Android - protecting in app purchases with server side verification

I'm new to android development but created an app and I implemented in-app purchase to remove ads from the app. I just did a very basic implementation and I basically check if the user has purchased ...
user avatar
  • 1,943
6votes
1answer
7kviews

Android: Which response code does in-app billing V3 return upon timeout?

Which response status code(s) will the Google Play In-App Billing Serv{ice,er} V3 return upon a network timeout condition? Is this uniform amongst all of its functions?
user avatar
74votes
7answers
52kviews

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 ...
user avatar
  • 3,798
35votes
5answers
24kviews

Is it possible to debug locally Google Play's in-app billing in Android Studio?

I am getting this error testing in-app subscription products locally. authentication is required. you need to sign in to your google account I was able to check the the inventory for the product ...
user avatar
6votes
3answers
8kviews

Why is the Google Play Billing Library not shown up in the SDK Manager?

I'd like to make an android application with in app purchases, I read often that I have to download the Google Play Billing Library from SDK Manager (e.g. http://www.techotopia.com/index.php/...
user avatar
53votes
9answers
52kviews

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 ...
user avatar
  • 116k
61votes
7answers
22kviews

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 ...
user avatar
34votes
3answers
12kviews

Google IAP returns short purchase token for verification

I have implemented server-side verification Google IAP purchase tokens. My mobile app send me this token as get it from Google. A regular token looks like minodojglppganfbiedlabed.AO-...
user avatar
  • 455
42votes
5answers
29kviews

“The item you were attempting to purchase could not be found” Android in-app billing

I am receiving this error while testing my app. The app is signed and uploaded to the alpha testing portion of the developer console. The in-app item has the status "Active". I have entered an ...
user avatar
15votes
2answers
11kviews

In App billing not working after update - Google Store

I have implemented In-App billing in my app - and very recently google has updated it,previously i was testing the in-app billing with "android.test.purchased" and it was working fine (Buy full ...
user avatar
  • 6,030
3votes
2answers
4kviews

Android: In app-billing VAT tax

I have implemented In-app billing in my application, but have limited the in-app purchase function to a few countries/currencies, since I'm note sure what my responsibilites are regarding VAT tax ...
user avatar
130votes
15answers
68kviews

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 ...
user avatar
  • 2,961
27votes
1answer
19kviews

Testing Android In App Billing real purchases

What are the conditions to properly test real purchases, when i already have tested my app using test product like android.test.purchased?
user avatar
  • 2,610
67votes
12answers
290kviews

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 ...
user avatar
35votes
4answers
7kviews

In-App Billing v3 - Don't detect refund

I've followed the training about "In-App Billing v3" of Google. I get to do a buy of a item but I've a problem. https://developer.android.com/training/in-app-billing/index.php I've canceled and ...
user avatar
  • 1,876
22votes
4answers
12kviews

IabHelper PurchaseFinishedListener

If I send a purchase intent via the standard String mySku = "android.test.purchased"; mHelper.launchPurchaseFlow(this, mySku, 10001, mPurchaseFinishedListener); I am able to purchase the item and ...
user avatar
26votes
5answers
38kviews

in-app billing doesn't work: "IAB Helper is not set up"

I tried to include in-app billing in my app and for the purpose of testing, based the whole procedure on the "TrivialDrive" example for version 3 of in-app billing (and implementing the unmodified ...
user avatar
  • 3,800
23votes
9answers
28kviews

User is not eligible for this purchase - in app billing

I'm getting "User is not eligible for this purchase" message from google play while trying to purchase as a test. I've uploaded singed apk in google play, published the billing item(in app product)...
user avatar
  • 4,517
21votes
4answers
5kviews

IAB startSetup NullPointerException

I am attempting to setup In-App Billing in my application. I haven't got very far and am running into a null pointer exception when trying to start my IabHelper. I am following this google tutorial. ...
user avatar
13votes
2answers
15kviews

Google Play Order ID updated to new format

All my recent Android app purchases show a new order ID format. The OLD format: [merchant ID].[actual order ID] We could use this format to check if the prefix of the order ID matches with the ...
user avatar
  • 14.9k
9votes
2answers
3kviews

Working around API-purchase-logic-flaws for consumables in Google Play's Billing API v3 (Relevant to everyone using consumables with API v3)

With version 3 of the Billing API, Google has removed the distinction between consumable and non-consumable products. Both have been combined into a new type called "managed" and behave somewhat like ...
user avatar
  • 12k
8votes
2answers
7kviews

mService.consumePurchase(3, packageName, purchaseToken) always returns RESULT_DEVELOPER_ERROR = 5 - invalid arguments provided to the API

I'm always getting "RESULT_DEVELOPER_ERROR = 5 - invalid arguments provided to the API", when trying to consume a purchase with String purchaseToken = "inapp:" + getPackageName() + ":" + productId; ...
user avatar
12votes
3answers
9kviews

how to get subscription expire date in inapp v3 android

Hi I have I implemented inapp billing V3 for one year subscription for a item using android-inapp-billing-v3. I want to show remaining days in my app. I am calling getSubscriptionTransactionDetails to ...
user avatar
  • 1,494
10votes
2answers
4kviews

Does In App Billing support multiple accounts?

Does InApp billing (V2 or V3) works for a user who uses several accounts and makes the purchase with an account that isn't the primary one? PD: Some explanation required, no simple Yes/No
user avatar
  • 13k
7votes
1answer
5kviews

service account (403) Forbidden Google Play In-app Billing Purchase Status API

<?php include_once('./src/Google_Client.php'); include_once('./src/contrib/Google_AndroidpublisherService.php'); //user token, in json format $ANDROIDUsertoken = '{"orderId":"12999763169054705758....
user avatar
6votes
1answer
18kviews

Restore transaction inapp purchase android

How to do restore transaction in in-app billing purchase android. So far I have searched in all links. I didn't find exact infromation. I have used BillingHelper.restoreTransactionInformation(...
user avatar
  • 1,971
0votes
1answer
1kviews

In-app billing-v3 error in activity result

Whenever starting payment service everything is ok but in activity result got Error on activity result RESULT_OK = 0 and resultCode =-1 as expect in sample example but i don't know where is going ...
user avatar
  • 243
53votes
6answers
14kviews

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 ...
23votes
4answers
28kviews

android in app billing purchase verification failed

i' having trouble implementing in app billing in my android app. i'm getting a purchase signature verification failed. In a first time i tough it was the base64 key but i checked it many times and i'm ...
user avatar
18votes
2answers
9kviews

How do I verify Android In-app Billing with a server with Ruby?

I am having trouble figuring out how to verify Androind In-app Billing purchases with my Ruby on Rails server. http://developer.android.com/guide/market/billing/billing_integrate.html I think that ...
user avatar
  • 323
27votes
3answers
15kviews

Google Play In-App Purchase returns error code -1008: null puchaseData or dataSignature

I am attempting to implement Google Play in-app purchase v3, after successfully implementing it in v2. However, every single time I attempt to purchase one of my real in-app products, I receive the ...
user avatar
  • 26.3k
13votes
2answers
12kviews

Token that identify the user

I'm developing an android application and I would like some functionality of the application is not free. I have thought to use in-app Billing Version 3 API, so I have defined an "In-App Product" in ...
user avatar
  • 1,119
36votes
6answers
27kviews

Android In App Billing: Can't start launchPurchaseFlow because launchPurchaseFlow is in progress

I'm implementing In App Billing for the first time and I'm testing my first purchases using the static SKU ids. It worked very well the first time. I called mHelper.launchPurchaseFlow(...) and ...
user avatar
  • 19.8k
29votes
14answers
69kviews

IabResult: Billing service unavailable on device. (response: 3:Billing Unavailable)

I'm trying to use In-App billing: mIabHelper = new IabHelper(this, BILLING_KEY); mIabHelper.startSetup(new IabHelper.OnIabSetupFinishedListener() { @Override public ...
user avatar
  • 15k
15votes
5answers
14kviews

Android In-App Billing : Security.java says "Signature Verification Failed"

I have implemented a test app with Android's In-App Billing. I have filled in my Public Key in the Security.java file. Everything works, but when I submit the payment, the app crashes. I receive an ...
user avatar
  • 5,329
8votes
2answers
6kviews

In app billing v3 Android non-consumable items

I'm starting with In App Billing and I would like to sell some magazines in my app. If one user buy one magazine he can read it always. I read about consumable and non-consumable in app billing but I ...
user avatar
  • 3,290
2votes
3answers
7kviews

Android In-App billing cancel payment

When someone buys an in-app product in an Android app and the owner cancels the payment in Google Checkout, so he gets refunded - does the user still keep the item? (managed type of in-app product). ...
user avatar
  • 2,660
9votes
3answers
3kviews

In the BillingService module, what needs to be modified to increase security?

The comment for the class BillingService recommends that: You should modify and obfuscate this code before using it. OK, but what must be modified? The class name? The TAG used for logging? ...
user avatar
  • 3,199
23votes
2answers
21kviews

What should be the developer payload in android in-app billing v3 api?

I am implementing in-app billing in my app to unlock premium features. The in-app billing sets up correctly. Everything seems fine except the 'developer payload' thing. The sample app says /* *...
user avatar
  • 2,341
25votes
4answers
23kviews

Testing Android Market in-app billing with dummy credit card credentials

I have configured an Android application to use the in-app billing module as documented at: http://developer.android.com/guide/market/billing/index.php It works fine when tested using the UK ...
user avatar
  • 1,042
7votes
5answers
11kviews

GooglePlay: The item you requested is not available for purchase

I am getting the following from the Google Play IAB API; The item you requested is not available for purchase I have however successfully tested against static responses, and in addition, the ...
user avatar
5votes
1answer
3kviews

Handling in-app purchases / consumable products across sessions/devices?

My question is centered around handling in-app purchases for consumables with Google's In-App Billing API. (https://developer.android.com/google/play/billing/api.html#consumetypes) Their documentation ...
user avatar
  • 129

15 30 50 per page
1
2 3 4 5
7