mobileStoreRequestProductDetails

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileStoreRequestProductDetails <productID>
Summary

Request details for a specific in-app purchase.

Introduced6.7
OSios, android
Platformsmobile
Parameters
NameTypeDescription
productID

The identifier of the product for which details are to be requested.

Example
mobileStoreRequestProductDetails "com.runrev.sampleapp.consumable"
RelatedCommand: mobileStoreRestorePurchases, mobileStoreDisablePurchaseUpdates, mobileStoreEnablePurchaseUpdates, mobileStoreMakePurchase, mobileStoreSetProductType, mobileStoreConsumePurchase, mobileStoreConfirmPurchase, mobileStoreVerifyPurchase
Function: mobileStoreProductProperty, mobileStorePurchasedProducts, mobileStorePurchaseError, mobileStoreCanMakePurchase
Message: purchaseStateUpdate, productRequestError, productDetailsReceived
Description

Use the mobileStoreRequestProductDetails command to request information about a specific product from the store.

The command mobileStoreRequestProductDetails is used to request information about a specific product. If the request is successful, the store responds by sending a productDetailsReceived message. If the request is not successful, the store sends a productRequestError message.

This command fetches values for various keys, such as price and description, as specified when creating the in-app items in the vendor's developer console. If a value for a key is not specified, empty is returned for that key. The keys can differ depending on the store you are using. For more details on the keys, see productDetailsReceived message.