productRequestError

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
productRequestError <pProductID>, <pError>
Summary

Sent by the store when the request for specific product details is unsuccessful.

Introduced6.7
OSios, android
Platformsmobile
Parameters
NameTypeDescription
pProductID

The identidier of the product for which the request for details was made.

pError

A string that describes the error.

Example
on productRequestError pProduct, pError
   put "Error:" && pError && "when requesting details for " && pProduct
end productRequestError
RelatedCommand: mobileStoreRestorePurchases, mobileStoreDisablePurchaseUpdates, mobileStoreEnablePurchaseUpdates, mobileStoreRequestProductDetails, mobileStoreMakePurchase, mobileStoreSetProductType, mobileStoreConsumePurchase, mobileStoreConfirmPurchase, mobileStoreVerifyPurchase
Function: mobileStoreProductProperty, mobileStorePurchasedProducts, mobileStorePurchaseError, mobileStoreCanMakePurchase
Message: purchaseStateUpdate, productDetailsReceived
Description

Use the productRequestError message to handle unsuccessful request for details of a specific product.

The message productRequestError is sent in response to the mobileStoreRequestProductDetails command, when the request is not successful.