ONE store IAP Release Notes
Relaese ONE store In-app purchase SDK V19.01
ONE store In-app purchase SDK V19.01 has been released.
The major changes are as follows:
Issues of conflict with security solutions that check app integrity have been resolved.
Loading issues that occurred during the download and installation of the global ONE store app when the domestic ONE store app is already installed have been fixed.
Settings to change development environment during the development stage are provided. The following two settings offer an environment for development with either domestic or global ONE store:
ONE store IAP Library SDK 19.00.02 is updated.
Main changes are as follows:
Declaration of pending intents mutability (https://developer.android.com/about/versions/12/behavior-changes-12#pending-intent-mutability)
Pending intents mutability has been declared to respond to Android 12 within the SDK.
Apps targeting Android 12 (TargetSDK 31) must be updated to 19.00.02.
IAP Library Download (19.00.02)
Release ONE store IAP Library API V6(SDK V19)
ONE store IAP library API V6(SDK V19.00) has been released. Main changes are as follows.
You must apply ONE store IAP library API V6(SDK V19) to new in-app.
It is available to migrate the in-app applied with ONE store IAP library API V6(SDK V17) to API V6(SDK V19).
Since ONE store IAP API V4(SDK V16) has been designed to the structure totally different from the later versions, it cannot be migrated to ONE store IAP API V4(SDK V19).
Remove ONE store IAP API version
Now, you do not need to add the in-app API version in the app’s manifest.
API Version meta-data will be added to IAP SDK V19.
Acknowledge purchase
In the app using ONE store IAP library API V6(SDK V19) and above, purchase must be acknowledged within 3 days.
Unless the purchase is acknowledged within 3 days, it will be judged that the item has not been normally provided, and thereby the purchase will be cancelled.
You can acknowledge the purchase by using one of the following methods
If the in-app is consumable, use PurchaseClient.consumeAsync().
If the in-app is not consumable, use PurchaseClient.acknowledgeAsync().
As for Monthly auto-renewal product, you need to acknowledge the purchase only for the first billing.
If ONE store IAP API V6(SDK V19) has been applied, the purchase MUST be acknowledged within 3 days.
Note that if the purchase is not acknowledged within 3 days, it will be cancelled.
Obtain market identification code
For IAP library V6 and above, the market identification code is necessary to use Server to Server API.
You can obtain the market identification code through getStoreInfoAsync().
Changes in PurchaseClient API
Changes in Server API
Change PNS message specifications
To support currencies other than the Korean won, the data type of billing amount (price) has changed from Number to String.
To support currencies other than the Korean won, the currency code (priceCurrencyCode) of the billing amount has been added.
To support currencies other than the Korean won, the data type of the amount per payment method (amount) has changed from Number to String.
The purchaseToken, environment, marketCode fields have been added to the response specifications.
For the specification details, refer to ‘PNS message detailed change history’.
ONE store IAP Library API V5(SDK V17)
The API version needs to be specified in the 'AndroidManifest.xml' file in the developer’s application as seen below.
For details, refer to the ‘Set up Android Manifest file’ part of the ‘Pre-preparations for Application of ONE store In-App Purchase (IAP)’ page.
The improvements made in API V5 (SDK V17) are as follows.
Last updated