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
1
vote
1 answer

Android InAppBilling, is there any possibility to detect getPurchased item from different device with same google account

In my application, i have implement InAppBilling (V3) Feature... if i Logged in *abc@gmail.com* account in Device A , then purchased item from my application , and then if i call getPurchase() method then it will return purchased item .. …
Vaishali Sutariya
  • 5,093
  • 30
  • 32
1
vote
2 answers

Bug in onActivityResult method of Google's in app billing example (trivial drive)?

Google's in app billing example com.example.android.trivialdrivesample.MainActivity contains the following code: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.d(TAG, "onActivityResult(" +…
user2768
  • 794
  • 8
  • 31
1
vote
0 answers

Android In-App Billing - Multiple SKUs in Cart

I am developing an android application for my music school teacher who wants to sell his music arrangements of Indian Film Music in PDF format to be played by piano players. I have designed a list view of songs with each item in the list giving an…
Srini
  • 61
  • 1
  • 7
1
vote
1 answer

Is there a better way than making getPurchases call on every app startup?

I have an app which provides in-app purchase to unlock few features. Based on which features are purchased, the app might need to switch layouts. So, the main activity on start makes this check by calling getPurchases(). Since this call is over…
AppleGrew
  • 9,302
  • 24
  • 80
  • 124
1
vote
0 answers

InAppBilling app is closing and gets destroyed after purchase window is closed without error

After the purchase window is closed, my app is closing aswell. There is no error or crash, it is just finishing. What could be the reason? I have implemented the purchase functionality in the same activity in which the user can select items to buy. …
knecht
  • 15
  • 5
1
vote
1 answer

Android IAB testing: app in draft state but in alpha slot, cannot retrieve active product

I am testing in-app purchase functionality for my app. The app is in alpha slot, product is active but I get errors saying "item not available" or similar when I test the functionality with release apk on real device (with gmail account in "license…
P5music
  • 3,197
  • 2
  • 32
  • 81
1
vote
1 answer

Why not consuming Android consumable in-app purchases only when buying them again?

Usually the typical (recommended) implementation of Android consumable in-app purchases is (cf TrivialDrive example): Purchase If purchase OK, consume If consumption OK, "provide" the consumable to the application. I was wondering if instead we…
1
vote
1 answer

Android in-app payment: User set price

Is there a way in Google In-app payment API, to set the item's price from the app? I'd like to create a donate-my-app button in my app. There'll be some pre-defined donation amounts (eg 1$, 5$, 10$, and so on). But I'd like to offer a donation…
Nagy Vilmos
  • 1,878
  • 22
  • 46
1
vote
0 answers

In App billing on Amazon AppStore

Seeing as my country is not supported for Google Merchant account, I have to try and work on alternatives. I could probably open a foreign bank account, have someone in a supported country create a dev and merchant account for me and then start…
1
vote
1 answer

It's possible to share a managed InApp billing purchase between applications

It's possible to share a managed InApp billing purchase between applications? Or in other words: If I've a managed item in application A can I check from application B if it's purchased?
lujop
  • 13,504
  • 9
  • 62
  • 95
1
vote
0 answers

some questions related to Google Wallet API

I am new to Google Wallet API and I cant find answers to a bunch of questions so here they are: 1. can I use my carrier's credit (like in the in-app purchases) as a method of payment in Google Wallet? 2. Should the money be in dollars or could it be…
Omar Abdelrazik
  • 683
  • 2
  • 9
  • 30
1
vote
1 answer

Testing in app billing in alpha mode and cancel transaction

I have use Google in app billing in my android app,Currently my app is in Alpha test mode and i have published it. When user Purchase an product then it ask for real credit card detail.Then i have enter my credit card detail and complete transaction…
Ravi Bhandari
  • 4,682
  • 8
  • 40
  • 68
1
vote
0 answers

InApp Android : Enable various subscriptions

Doing InApp in android. In that how to do InApp to give user a choice for subscription . Eg for 1 week, 1 month etc.. Is that done in the Developer Console mHelper.launchPurchaseFlow(this, SKU_INFINITE_GAS, IabHelper.ITEM_TYPE_SUBS,…
1
vote
1 answer

my In app billing dialog disapears when i tap outside it

I have made a demo in app purchase for android,I have created a test product and purchase it for testing purpose,all is working very fine,But Only issue is when i tap outside the in app billing Dialog,it disappears,I want to do something like…
user3820044
  • 177
  • 1
  • 3
  • 20
1
vote
1 answer

Android billing - Testing purchases with android.test.purchased in production/alpha/beta

I'm using Google Play billing API (v3) and I'm testing in-app purchases with sku=android.test.purchased. To do this, I have modified the method Security.verifyPurchase from the helper classes like this: public static boolean verifyPurchase(String…
Andrei F
  • 4,205
  • 9
  • 35
  • 66
1 2 3
99
100