Documentation
B4X Purchase Manager Docs
Everything you need to integrate in-app purchases and subscriptions into your B4X apps.
Getting Started
Add validated in-app purchases to your B4X app in a few lines of code.
b4xlib API Reference
Complete method and property reference for B4XPurchaseManager.
Android App Setup
Create your app listing on Google Play, add in-app products, and test purchases.
iOS App Setup
Set up your app in App Store Connect, add in-app purchases, and test with TestFlight.
Google Play Setup
Connect your Google Play app for Android purchase validation via service account.
Apple Shared Secret Setup
Configure your Apple Shared Secret for iOS receipt validation.
Advanced Guide
Custom UI purchases, restore flows, caching, theming, consumables, and more.
Troubleshooting
Common setup issues and how to fix them for both Android and iOS.