mobilePurchaseError

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mobilePurchaseError(<purchaseID>)
Summary

Returns detailed information about errors in a purchase.

Introduced5.0.1
OSios, android
Platformsmobile
Parameters
NameTypeDescription
purchaseID

a numeric purchase identifier

Example
put mobilePurchaseError(tPurchaseID) into tPurchaseError
if mobilePurchaseError(15) is empty then
   answer "There were no errors with this purchase"
end if
Values
NameTypeDescription
return

Returns the error information for the in-app purchase, purchaseID, if no error occurred empty is returned.

RelatedCommand: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobileEnablePurchaseUpdates, mobilePurchaseCreate
Function: mobilePurchaseState, mobilePurchaseGet, mobileCanMakePurchase, mobilePurchases
Message: purchaseStateUpdate
Description

Use the mobilePurchaseError function to retrieve detailed information about errors in a purchase.

The mobilePurchaseError function returns a string containing detailed error information related to the specified purchase.