Google I/O 2013 - In-App Billing Version 3

Google for Developers · 38K views · 2013 · 34:30

Open on YouTube

Software (other)Web developmentSoftware architecture & designtalkdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering Android in-app purchase questions, since it explains the v3 API design (consumption, getPurchases, developer payload, testing) straight from a Google engineer.

Recommended by 5 people across 5 different months, 2013 to 2016.

What it is

A Google I/O 2013 session by Bruno Oliveira introducing version 3 of the Android in-app billing API. It covers availability, the purchase flow, subscriptions, consumption models and security best practices, and does not assume knowledge of earlier versions.

What people said

Recommends Sumit Dhaniya · 2013-07 · Stack Overflow · on “In App Purchase You already own this item error”

All the purchases you make are synced across all the devices which are logged in with same google account i.e. if you make a purchase on 1 device that purchase will be available with you on all other devices which are configured to same google account and if you try to purchase the same item again IAP takes care of that and won't let you do that. Still if you want to purchase the an item multiple time(like any healthpack in case of a game) then you need to inform playstore about the consumption of that item even if you haven't consumed it and in that case you need to keep track of that item yourself(use servers to keep track of the items) check this video: [this video]

Recommends Inoy · 2013-08 · Stack Overflow · on “Simple In App Purchase App Android”

Attention! Here is answer for IAB v2 And you , most likely, looking for v3 (which is much simpler ) Don't get in this trap, as I did... Google I/O 2013 - In-App Billing Version 3 - [this video]

Recommends Ramesh · 2014-10 · Stack Overflow · on “Current Android IAB reference”

Hey I'm also working on InApp Purchase since 10 days and I've successfully integrated in my existing app and ready to make it live. Initially when i had started doing this I've downloaded google InApp Billing Example called "Trivial Drive" from here [LINK] . But it didn't help me much as it has lots of issues and bugs, So I've decided do it on my own from scratch using new v3 api which you can find here [LINK] . This tutorial has clear explanation that would help you and also if you have time see this [this video] youtube video where google employee had explained clearly how to integrate it. Also if you want quick example, I've a sample app which you can download from here [LINK] . Feel free to a

Recommends Ramesh · 2014-10 · Stack Overflow · on “How to implement in-app purchase of application Android?”

Hey I had worked on InApp Purchase recently and I've successfully integrated in my existing app and ready to make it live. Initially when i had started doing this I've downloaded google InApp Billing Example called "Trivial Drive" from here [LINK] . But it didn't help me much as it has lots of issues and bugs, So I've decided do it on my own from scratch using new v3 api which you can find here [LINK] . This tutorial has clear explanation that would help you and also if you have time, see this [this video] youtube video where google employee had explained clearly how to integrate it. Also if you want quick example, I've a sample app which you can download from here [LINK] . The following video al

Recommends Ramesh · 2014-10 · Stack Overflow · on “consuming in App purchased item”

Hey I'm also working on InApp Purchase since 10 days and I've successfully integrated in my existing app and ready to make it live. Initially when i had started doing this I've downloaded google InApp Billing Example called "Trivial Drive" from here [LINK] . But it didn't help me much as it has lots of issues and bugs, So I've decided do it on my own from scratch using new v3 api which you can find here [LINK] . This tutorial has clear explanation that would help you and also if you have time, see this [this video] youtube video where google employee had explained clearly how to integrate it. Also if you want quick example, I've a sample app which you can download from here [LINK] . The following

Recommends Ramesh · 2014-10 · Stack Overflow · on “Bug in onActivityResult method of Google's in app billing example (trivial drive)?”

Hey I'm also working on InApp Purchase since 10 days and I've successfully integrated in my existing app and ready to make it live. Initially when i had started doing this I've downloaded google InApp Billing Example called "Trivial Drive" from here [LINK] . But it didn't help me much as it has lots of issues and bugs, So I've decided do it on my own from scratch using new v3 api which you can find here [LINK] . This tutorial has clear explanation that would help you and also if you have time, see this [this video] youtube video where google employee had explained clearly how to integrate it. Also if you want quick example, I've a sample app which you can download from here [LINK] . The following

Recommends fips · 2015-11 · Stack Overflow · on “in-app subscription - is there a limit of inventory queries from apps?”

Not sure if you have found a solution to this, but this may help others: Yes there is a quota on the number of queries per day per application, the 2nd link you are referring to ( [LINK] ) states that there is a quota of 200,000 requests per day but you can request more if you run out of that. Also it is actually recommended by google to check every time your application starts using getPurchases as defined in v3 - that's why they optimized it. It is explained very well in this presentation which also provides example code: [this video] at 08:10.

Recommends Sree Reddy Menon · 2016-03 · Stack Overflow · on “Android in-app billing handling google Server Response Codes”

But Never Call .getPurchases from MainThread. Please use IABHelper Classes. and Watch this video @21.20 [this video]

Cites Kirit Vaghela · 2013-06 · Stack Overflow · on “Android - In App Purchase - you need to add the BILLING permission to your APK”

Updating Your Application's Manifest In-app billing relies on the Google Play application, which handles all communication between your application and the Google Play server. To use the Google Play application, your application must request the proper permission. You can do this by adding the com.android.vending.BILLING permission to your AndroidManifest.xml file. If your application does not declare the In-app Billing permission, but attempts to send billing requests, Google Play will refuse the requests and respond with an error. To give your app the necessary permission, add this line in your Android.xml manifest file: <uses-permission android:name="com.android.vending.BILLING" /> Ref Im

Cites android developer · 2013-07 · Stack Overflow · on “some google in-app billing API3 questions”

I'm starting to make some in-app purchases on my future app, and i wish to ask some questions regarding the new API (3) of the in app billing library (shown here [LINK] ): google says ( here [this video] ) that there are no more unmanaged items. this means that in order to have multiple consumable items, the play store cannot hold a counter, so you need to either consume the purchase right when you put it in the app, or only when you need it. My question about it is how would you get the consumable items stay on multiple devices ? for example, if the user purchased 2 health potions, and because of the new limitations, they both are stored only on the app itself of one device, how could the end us