目录

About This Kit

IAP Kit can be easily integrated into your app to deliver a streamlined in-app payment experience, making it easier for you to focus on your app's core business and drive revenue. With the help of IAP Kit's system-level payment APIs, your app can quickly show the IAP checkout screen for users to pay for various virtual goods sold within it.

The table below lists the virtual goods that users can purchase within the application.

Product Type Definition Validity Period Benefit Maintenance by Your Side Example
Consumables Depleted as they are used and should be purchased again. No limit The user benefit will not be maintained once it is granted. In-game currencies and props
Non-consumables Purchased once and owned permanently Permanent The user benefit will be permanently maintained. Extra game levels in a game or permanent membership of an app
Auto-renewable subscriptions Value-added functions or content available to users in a specified period of time after being purchased. The subscriptions automatically renew on a recurring basis until users decide to cancel. Recurring cycles The user benefit will be periodically maintained. Monthly-subscribed premium membership of an application
Non-renewable subscriptions Value-added functions or content available to users in a specified period of time after being purchased. Users cannot access the content after the period ends unless they purchase an auto-renewable or non-renewable subscription again. One cycle The user benefit will be maintained within a cycle. Time-limited premium memberships, such as a one-month video membership.

Constraints

[h2]Supported Devices

Only wearable devices are supported in countries/regions where HUAWEI IAP is available (excluding the Chinese mainland).

Available products and supported devices in Chinese mainland:

Product Type Supported Device
Consumables Phone, PC/2-in-1 device, tablet, wearable, and TV
Non-consumables Phone, PC/2-in-1 device, tablet, wearable, and TV
Auto-renewable subscriptions Phone, PC/2-in-1 device, tablet, and TV
Non-renewable subscriptions Phone, PC/2-in-1 device, tablet, and TV

Starting from version 6.1.0 (23), the embedded IAP cashier component is provided.

Capability Provided by IAP Kit Supported Device
Embedded IAP cashier component TV

When triggered on a TV, the checkout UI displays a QR code for payment. Refer to the example below.

[h2]Supported Countries/Regions

The countries/regions supported by IAP Kit vary depending on the device type. For details, please refer to Supported Devices.

Emulator Support

This kit is not supported on the Emulator.