mobilePurchaseCreate

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mobilePurchaseCreate <productID>
Summary

Create a new purchase.

Introduced5.0.1
OSios, android
Platformsmobile
Parameters
NameTypeDescription
productID

The identifier of the requested item.

Example
mobilePurchaseCreate theProductId
put the result into thePurchaseId
Values
NameTypeDescription
The result

The purchaseId is returned in the result. This is used to identify the new purchase request.

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

Use mobilePurchaseCreate to create a new purchases.

The command mobilePurchaseCreate is used to create a purchaseId for a particular productId.

The productId is the identifier of the in-app purchase you created in iTunesConnect/Market Place and wish to purchase.