In-App Purchase - Android Setup
In App Purchase (or IAP) allows developers to charge users for specific functionality or content while using an app.
Why Use In App Purchases?
-
Generate additional revenue beyond the initial app purchase.
-
Offer your app for free, increasing downloads and user adoption.
-
Monetize free apps with ads while allowing users to remove them through purchases.
-
Continue earning revenue by releasing new content without creating a new app.
Product Types Supported by Google Play
One-Time Products
A one-time product is purchased once with a non-recurring charge.
Consumable Products
Consumable products can be purchased multiple times and are used up after consumption.
Examples:
- Game currency
- Coins
- Loot boxes
Non-Consumable Products
Non-consumable products provide permanent benefits and can only be purchased once per Google account.
Examples:
- Premium upgrades
- Level packs
- Ad removal
Subscriptions
Subscriptions grant users access to benefits for a recurring period.
Examples:
- Monthly content access
- Cloud storage plans
- Premium memberships
Users gain access by purchasing a base plan or offer through Google Play.
Make sure your Android app has already been created and configured in Google Play Console before setting up In-App Purchases.
Add One-Time Products
Step 1: Open In-App Products
Navigate to:
Google Play Console → Monetise → In-app products
Step 2: Create a Product
-
Click Create Product.
-
Enter the required details.
-
Save the generated Product ID as it will be needed during integration.
Step 3: Set Pricing
-
Configure the product price.
-
Click Apply Prices.
Your one-time product has been successfully created.
Add Subscriptions
Follow the below steps to add subscriptions:
Step 1: Open Subscriptions
Navigate to:
Google Play Console → Monetise → Subscriptions
Step 2: Create a Subscription
- Click Create Subscription.
- Enter the required information.
- Save the generated Product ID for later use.
Step 3: Configure Base Plans
Scroll to Base Plans and Offers and click Add Base Plan.
Step 4: Fill Base Plan Details
Provide all required configuration details.
Step 5: Set Pricing and Countries
-
Select the countries where the subscription will be available.
-
Configure pricing.
Step 6: Set the Price
-
Click Set Price.
-
Enter the desired amount.
-
Click Update.
Step 7: Activate the Plan
-
Click Save.
-
Click Activate.
Your subscription base plan has been successfully created.
You can create multiple base plans under a single subscription and add offers to each plan by selecting Add Offer.
Next Step
You are now ready to integrate In App Purchases into your app.
???? Continue with the Android integration guide:
In-App Purchase Android Integration
Additional Documentation
For the complete documentation index:
???? llms.txt (opens in a new tab)
Markdown versions of documentation pages are available by appending .md to the page URL.
Example:
https://docs.webtonative.com/plugin/in-app-purchase-android-setup.mdAI Documentation Querying
If additional information is required, you can query the documentation dynamically using the ask parameter:
GET https://docs.webtonative.com/plugin/in-app-purchase-android-setup.md?ask=<question>Example:
GET https://docs.webtonative.com/plugin/in-app-purchase-android-setup.md?ask=How do I create multiple base plans for a subscription?The response will include:
-
A direct answer
-
Relevant documentation excerpts
-
Source references

