Google enforces strict policies requiring apps distributed via Google Play to use the Google Play Billing system for digital goods, game currency, feature unlocks, and subscriptions. Implementing this natively in Android Studio requires handling complex lifecycle states, purchase tokens, asynchronous billing client connections, and verification.
The Play Billing Ultra extension (.aix) packages Google's official Android Billing Client (v7.1.1 up to v9.x) into intuitive, high-level visual blocks for Kodular and MIT App Inventor.
Play Billing Ultra (.aix) — 100% Free Gift
Free Special Gift • Version 1.0 • Regular Price: $12 (FREE)
1. Core Capabilities
- One-Time In-App Products: Easily configure consumables (coins, tokens) and non-consumables (remove ads, lifetime VIP pass).
- Auto-Renewing Subscriptions: Handle monthly, quarterly, and annual billing plans with trial periods and grace periods.
- Automatic Purchase Acknowledgment: Automatically acknowledges purchases to prevent Google from issuing automatic 3-day refunds.
- Offline & Restore Purchases: Query existing purchases on app startup (
QueryPurchases) to restore entitlements even after app reinstalls.
2. Google Play Console Configuration
- Upload an initial signed AAB build of your app containing the Play Billing permission in the Google Play Console Internal Testing track.
- In Google Play Console, go to Monetize > In-app products.
- Click Create product and create a Product ID (e.g.
remove_ads_lifetime). Set your pricing and activate the item. - For recurring plans, visit Subscriptions, add a base plan (e.g.
vip_monthly), and set renewal cycles.
3. Step-by-Step Block Logic
Step 3.1: Initialize Billing Connection
Always connect to the Google Play Billing service when the screen initializes. Never attempt to query or launch purchase flows before the connection is established:
Step 3.2: Query Existing Entitlements (Restore Purchases)
Step 3.3: Launching Purchase Flow
When the user taps the "Unlock Premium" button, call LaunchPurchaseFlow with the product ID:
Step 3.4: Handling Purchase Success & Automatic Acknowledge
4. Troubleshooting Common Play Billing Errors
Error: "The item you requested is not available for purchase": This occurs if:
- The signed AAB was not uploaded to Play Console first.
- The email address logged into the test device is not registered in the "License Testers" list in Google Play Console.
- The package name on Kodular does not match the Play Console application package name exactly.
Conclusion
Google Play Billing Ultra provides an effortless way to monetize your Kodular apps with international users. Download it for free on AIX Hub Store today and start earning worldwide revenue!