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.

2597 questions
36
votes
2 answers

"in-app billing version 3 NOT supported" with up to date Play Store

I'm integrating in-app billing to my Xamarin.Android application. I tested the API using Google test products (android.test.purchased and others) and it worked just fine. After doing some testing I started receiving the following error on the…
rareyesdev
  • 2,337
  • 1
  • 25
  • 43
35
votes
3 answers

How do I verify Android in-app-billing transactions on MY server?

I have made an Android app where items can be purchased using in-app-billing. When an item is purchased the transaction can easily be synced between Android Market and the phone - to be used in the app. But, I need MY server to be aware of the…
l33t
  • 18,692
  • 16
  • 103
  • 180
35
votes
6 answers

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 completed the test purchase. My activity received the…
Kenny Wyland
  • 20,844
  • 26
  • 117
  • 229
34
votes
2 answers

How to acknowledge in-app purchases in android?

I have gone through the Play Billing Library https://developer.android.com/google/play/billing/billing_library_overview You must acknowledge all purchases within three days. Failure to properly acknowledge purchases results in those purchases being…
34
votes
4 answers

Item you requested is not available for purchase - android in app billing

As I am developing an application which uses in app billing, I am not able to test it using my own product ID. I have followed every step as documented on developer site. I have, Uploaded the signed apk with release certificated to developer…
Sunny Shah
  • 918
  • 1
  • 8
  • 8
34
votes
4 answers

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…
cermakjn
  • 455
  • 1
  • 4
  • 8
34
votes
7 answers

Android IAB. Error - Authentication is required. You need to sign into your Google Account

In the Android > Sample app > Trivial Drive when running the app I get the following when doing an IAP: Error - Authentication is required. You need to sign into your Google Account I've switched to a separate account on my phone with the testing…
Snowcrash
  • 80,579
  • 89
  • 266
  • 376
34
votes
5 answers

android: Inapp billing: Error response: 7:Item Already Owned

I am learning to implement an in-app billing for my app such that people can for example, donate $ when press the donate button. The user is allowed to donate more than one time, i.e. the purchase is consumable. The codes below are sourced from the…
pearmak
  • 4,979
  • 15
  • 64
  • 122
33
votes
15 answers

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 void onIabSetupFinished(IabResult result) { …
artem
  • 16,382
  • 34
  • 113
  • 189
32
votes
3 answers

How do we verify Android in-app billing receipt on the server side?

I am implementing in-app billing into an Android game and we want to use a server to store the purchase information. According to what I understood so far, Android Market will return a callback to the app in the form of Broadcast receiver about the…
Gopinath
  • 12,981
  • 6
  • 36
  • 50
32
votes
1 answer

What to use as the developer payload in Google In-App Billing APIs?

The training class for Selling In-app Products in Android suggests to use a payload when making a purchase request: The fifth argument contains a ‘developer payload’ string that you can use to send supplemental information about an order (it can be…
Alinium
  • 1,481
  • 2
  • 17
  • 23
31
votes
3 answers

Redirect user to the Subscription page in the playstore

I've been reading this website : http://developer.android.com/google/play/billing/billing_subscriptions.html Because I read that "Currently, the In-app Billing API does not provide support for programatically canceling subscriptions from inside the…
30
votes
2 answers

Account information associated with an application installation

It's a widely sought issue among those who implement In-app billing in Android, that how multiple accounts are dealt with. If a user has multiple accounts configured, which one will be used for in-app billing (as there is no option to let the user…
29
votes
4 answers

Using external payments processor on Android for SaaS instead of Google Play In-app Billing

I’ve built a SaaS website with subscriptions, enabled by an external payments processor (which could be Stripe, Braintree, Paddle, etc.). Now this website for my SaaS has been packaged in a small WebView wrapper and is about to be released as an…
caw
  • 30,999
  • 61
  • 181
  • 291
29
votes
2 answers

Android In App Subscription always returns the initial receipt, I never get the renewal

I have a problem with my Android app. I am trying to implement a monthly subscription. I have created the IAP, the app is in beta and I am register as a tester. Everything works as expected when purchasing the subscription. I am able to purchase it…
tehmaestro
  • 1,010
  • 2
  • 11
  • 21