
("", OnProductsDetails) Īfter processing is complete, the OnGetProductsDetails callback is triggered, which contains information about the specified items and API call processing. Sample code: //Get information about three in-app items Specify an empty string ("") to get information about all registered items.Specify one or more unique in-app item ID values (comma delimited) to get information about the specified items.Use the GetProductsDetails() method to get detailed information (for example, item ID, price, and description) about some or all of the in-app items registered to your app that are available for user purchase:
If OPERATION_MODE_TEST_FAILURE is set, all requests will fail.
OPERATION_MODE_PRODUCTION mode must not be set.Ĭaution If OPERATION_MODE_TEST mode is set, purchase requests for paid apps and in-app items will not result in financial billing of the whitelisted user. Purchase requests do not result in in payment transactions or financial billing. Failure results are returned for all requests. For requests that fail (for example, due to network issues), failure results are returned. For requests that succeed, successful results are returned. Purchase requests for users who are not licensed testers result in an error message displayed. Successful purchase requests for licensed testers do not result in payment transactions or financial billing. Successful or failure results can be returned. Caution: Successful purchase requests and payment transactions result in financial billing of the user. Successful or failure results can be returned for all requests. Set IAP Operating Mode SetOperationMode() Setting Samsung IAP Scriptĭrag-and-drop the Samsung IAP script into the GameObject of your choice. This section explains the fundamental aspects of integrating Samsung IAP functionality into your Android app by making plugin method calls to support the offering and sale of in-app items.
Note For details about Samsung IAP method calls, see the Programming Guide.