• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=Google Play In-app Billing
2page.metaDescription=In-app Billing lets you sell digital content as one-time purchases or subscriptions.
3page.image=/images/play_dev.jpg
4meta.tags="monetizing, inappbilling, subscriptions"
5page.tags="billing, inapp, iap"
6@jd:body
7
8<p>In-app Billing is a Google Play service that lets you sell digital content from inside
9your applications. You can use the service to sell a wide range of content, including downloadable
10content such as media files or photos, virtual content such as game levels or potions, premium services
11and features, and more. You can use In-app Billing to sell products as</p>
12
13<div class="sidebox-wrapper">
14<div class="sidebox">
15  <h2><strong>New in In-App Billing</strong></h2>
16  <ul>
17  <li><strong>IAB v2 shutdown</strong>&mdash;In-app Billing v2 API is deprecated and will be shut down in January 2015. If your app is still using In-app Billing v2, please migrate to the v3 API as soon as possible.</li>
18  <li><strong>Seasonal subscriptions</strong>&mdash;You can now set up a
19    recurring <a href="billing_subscriptions.html#user-billing">seasonal
20    subscription</a> that starts and ends on the same date each year (for
21    example, a sports subscription that starts every September 1 and ends every
22    April 10).</li>
23  <li><strong>Deferred subscription billing</strong>&mdash;You can
24    <a href="billing_subscriptions.html#deferred-billing">defer</a> a
25    subscriber's next billing date until the date you choose. The user still has
26    access to the content but is not charged during the deferral period.</li>
27  <li><strong>Google Play Developer API</strong>&mdash;The
28    <a href="{@docRoot}google/play/billing/gp-purchase-status-api.html">Google
29    Play Developer API</a> allows you to perform a number of publishing and
30    app-management tasks. It includes the functionality previously known as the
31    <em>Purchase Status API.</em> </li>
32  <li><strong>Refund/Revoke subscription</strong>&mdash;You can use the
33    Google Play Developer API to <a href="billing_subscriptions.html#refunds">refund
34    and revoke</a> a user's subscription. If you do this, the user's
35    subscription ends
36    immediately, and his or her most recent subscription payment is
37    refunded.</li>
38  <li><strong>In-app Billing Version 3</strong>&mdash;The <a href="{@docRoot}google/play/billing/api.html">latest version</a> of In-app Billing features a synchronous API that is easier to implement and lets you manage in-app products and subscriptions more effectively.</li>
39 </ul>
40</div>
41</div>
42
43<ul>
44<li>Standard in-app products (one-time billing), or</li>
45<li>Subscriptions (recurring, automated billing)</li>
46</ul>
47
48<p>When you use the in-app billing service to sell an item,
49whether it's an in-app product or a subscription, Google Play
50handles all checkout details so your application never has to directly process
51any financial transactions. Google Play uses the same checkout backend service as
52is used for application purchases, so your users experience a consistent and
53familiar purchase flow.</p>
54
55<p>Any application that you publish through Google Play can implement In-app Billing. No special
56account or registration is required other than a Google Play Developer Console account and a Google
57Wallet merchant account.</p>
58
59<p>To help you integrate in-app billing into your application, the Android SDK
60provides a sample application that demonstrates how to sell standard in-app
61products and subscriptions from inside an app.</p>
62
63<p>To get started, read the documents below or take the <a href="{@docRoot}training/in-app-billing/index.html">Selling
64    In-app Products</a> training class.</p>
65
66<dl>
67  <dt><strong><a href="{@docRoot}google/play/billing/billing_overview.html">Overview</a></strong></dt>
68    <dd>Read this document for a description of the underlying concepts in In-app Billing.</dd>
69  <dt><strong><a href="{@docRoot}google/play/billing/api.html">Version 3 API</a></strong></dt>
70    <dd>Read the documents in this section for an overview of the latest version of In-app Billing, as well as implementation details and API reference.</dd>
71  <dt><strong><a href="{@docRoot}google/play/billing/billing_best_practices.html">Security
72  and Design</a></strong></dt>
73    <dd>Review these best practices to help ensure that your In-app Billing implementation is
74    secure and well designed.</dd>
75  <dt><strong><a href="{@docRoot}google/play/billing/billing_testing.html">Testing In-app
76  Billing</a></strong></dt>
77    <dd>Understand how the In-app Billing test tools work and learn how to test your In-app Billing
78    implementation.</dd>
79  <dt><strong><a href="{@docRoot}google/play/billing/billing_admin.html">Administering
80  In-app Billing</a></strong></dt>
81    <dd>Learn how to set up your product list, register test accounts, and handle refunds.</dd>
82</dl>
83