store.purchase()

Type Function
Return value none
Revision Release 2022.3683
Keywords Amazon, IAP, in-app purchases, purchase
See also store.init()
store.*

Overview

Initiates a purchase transaction on a provided product by sending out a purchase request to the store, then dispatches a storeTransaction event to the listener defined in store.init().

Syntax

store.purchase( productIdentifier )
productIdentifier (required)

String. String representing the product identifier of the item to purchase.