
Mobile IAP (Pro)
The Mobile IAP (Pro) plugin, previously known as the Mobile Billing plugin, is specifically designed to implement complete native mobile In-App Purchases, In-App Subscriptions and In-App Billing features in both Android and iOS, for games built using Construct 3 and Construct 2.
The Mobile IAP (Pro) plugin supports all purchases and subscription features, including server-validation.
Earn money with your game and general applications with this complete and easy plugin to integrate payment systems into both Android and iOS.



Introduction

The Construct Master Collection supports the full and easy integration of native mobile Android SDKs and iOS SDKs for both Construct 3 and Construct 2.
Please click here to learn more about Mobile.
Features
The Mobile IAP (Pro) plugin, previously known as the Mobile Billing plugin, is specifically designed to implement complete native mobile In-App Purchases, In-App Subscriptions and In-App Billing features in both Android and iOS, for games built using Construct 3 and Construct 2.
The Mobile IAP (Pro) plugin supports all purchases and subscription features, including server-validation.
Earn money with your game and general applications with this complete and easy plugin to integrate payment systems in both Android and iOS.
Here are some of the native features of the mobile plugin:
In-App Billing
In-App Purchases
In-App Subscriptions
Custom payment solutions
BrainTree Payment Solutions
Android Billing
iOS Store Kit
Purchases
Subscriptions
Redeem promotions
Redeem codes
Introductory offers
Server validation
PlayFab validation support
Validation URL
Manage billing and purchases
Manage subscriptions
Restore purchases and store
Refresh store
Advanced purchases
Advanced subscriptions
Complete product information
Complete product transaction receipts
Complete purchase transaction information
Complete subscription transaction information
Native mobile debugging features
Well maintained and fully tested for production release.
For more information about native mobile or Android and iOS features, please click here to learn the introductory lessons to Mobile.
Platform Integration
Here are some of the platforms that are natively supported:
Android
iOS
Native Android
Native iOS
Build Support
Here are some of the supported build options:
Construct 3 Build Service
Android Studio
Xcode
Phonegap
Editor Features
Here are some of the features in the Construct editor:
Construct 3
Construct 2
How to use?
It is easy to use the Mobile IAP (Pro) plugin, you will only need to follow the steps below.
1. The first step is to add the Mobile IAP (Pro) or Mobile Billing (previous name) object into the project.

2. If the Debug property is checked, the plugin will log information and errors in the console for mobile debugging. Set this unchecked for your production release builds.

3. Set the Verbosity plugin property to control the mobile debugging logs.
4. Set the Validator plugin property to choose whether to manually do server validation through receipt validation or opt-out server validation, or to automatically do server validation through a validator url.
For manual server validations, you can use PlayFab's server validation service if you already have an existing project with PlayFab integration.
PlayFab is a free service, with a scaled pricing for growing games.
For automatic or URL server validations, you can use paid 3rd party services like Fovea, which offers low prices for quality service.
Documentation
The Mobile IAP (Pro) plugin, previously known as the Mobile Billing plugin, is specifically designed to implement complete native mobile In-App Purchases, In-App Subscriptions and In-App Billing features in both Android and iOS, for games built using Construct 3 and Construct 2.
Actions, Conditions & Expressions
Actions



The following action groups:
General
Features
iOS
Purchase
General
Register - Register a product before initialization.
Id - The product id from the store.
Alias - The optional alias of the product.
Type - Choose the type of the product.
Consumable
Non-Consumable
Free Subscription
Paid Subscription
Non-Renewing Subscription
Application
Platform - Choose the platform of the product.
Android
iOS
Windows (Construct 3's built-in export doesn't support.)
Braintree
Test
Initialize - Initialize the Mobile IAP (Pro) plugin with its SDKs for in-app purchases, in-app billing and in-app subscriptions.
Initialize (Advanced) - (Held) Same as the Initialize action, although with support for multiple payment platforms. Please note that not all payment platforms may work for each operating platform.
Android
iOS
Windows (Construct 3's built-in export doesn't support.)
Braintree
Test
Restore - Restore purchases and subscriptions.
Update - Refresh product prices and status of purchases..
Features
Manage Billing - Shows the billing page of Google Play or the App Store.
Manage Subscriptions - Shows the subscriptions page of Google Play or the App Store.
iOS
Redeem Promo - Redeems a promotional offer from within the app.
Purchase
Purchase - Purchase or subscribe to your app product.
Id - The product id or alias.
Advanced Purchase (Android) - Purchase or subscribe to your app product, with advanced Android features.
Id - The product id or alias.
Old SKU - A string with the old subscription to upgrade/downgrade.
Proration Mode - The proration mode to apply when upgrading/downgrading a subscription, from the old sku.
Advanced Purchase (iOS) - Purchase or subscribe to your app product, with advanced iOS features.
Id - The product id or alias.
Discount Id - The discount identifier.
Discount Key - The discount key identifier.
Discount Nonce - The uuid value for the nonce of the discount.
Timestamp - The time at which the signature was generated, in milliseconds since epoch.
Signature - The cryptographic signature that unlocks the discount.
Conditions
The following condition groups:
Init
General
Purchase
Validation
Receipt
Product



