BillingSupported (Supported As Boolean, Message As String) PurchaseCompleted (Success As Boolean, Product As Purchase) OwnedProducts (Success As Boolean, Purchases As Map) ProductConsumed (Success As Boolean, Product As Purchase) InventoryCompleted (Success As Boolean, Products As List)
Consumes the given Purchase. The ProductConsumed event will be raised.
DebugLoggingAsBoolean [write only]
Set to true to enable debug logging.
GetInventoryInformation (SKUsAsList)
Requests information about the store products. The InventoryCompleted event will be raised in the current module. SKUs - List or array with the products ids. Each item should be a string.
GetOwnedProducts
Requests the current products purchased by the user. The OwnedProducts event will be raised with the result.
Initialize (EventNameAsString, PublicKeyAsString)
Initializes the object. EventName - Sets the subs that will handle the events. PublicKey - Application public key from the developer console.
Makes a payment request. ProductId - The product id. ProductType - "inapp" for regular products or "subs" for subscriptions. DeveloperPayload - A string that will be tied to this purchase.