mobilePurchaseGet |
Type | function |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | mobilePurchaseGet(<purchaseID>, <propertyName>)
|
Summary | Returns the value of a property of an in-app purchase.
|
Introduced | 5.0.1 |
OS | ios, android |
Platforms | mobile |
Parameters | Name | Type | Description |
---|
purchaseID | | a numeric purchase request identifier.
|
propertyName | | the name of a purchase request property. "quantity": The number of items purchased.
"productID": The identifier of the purchased product.
"purchaseDate": The date the purchase or restore request was sent.
"transactionIdentifier": The unique identifier of a successful purchase or restore.
"receipt": A block of data that can be used to confirm the purchase from a remote server with the iTunes store.
"originalPurchaseDate": For restored purchases only, the date of the original purchase.
"originalTransactionIdentifier": For restored purchases only, the transaction identifier of the original purchase.
"originalReceipt": For restored purchases only, the receipt of the original purchase.
|
|
Example | put mobilePurchaseGet(tPurchaseID, "quantity") into tQuantity
|
Values | Name | Type | Description |
---|
return | | Returns the value of the property, propertyName, for the in-app
purchase, purchaseID.
|
|
Related | Command: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobileEnablePurchaseUpdates, mobilePurchaseCreate
Function: mobilePurchaseState, mobilePurchaseError, mobileCanMakePurchase, mobilePurchases
Message: purchaseStateUpdate
|
Description | Use the mobilePurchaseGet function to get the value of a property of
an in-app purchase.
The mobilePurchaseGet function returns the value of an in-app purchase
property.
|