store.finishTransaction()

Type Function
Return value none
Revision 2017.3060
Keywords Amazon, IAP, in-app purchases, finishTransaction
See also store.loadProducts()
store.purchase()
store.restore()
store.*

Overview

Notifies Amazon about the transaction being processed. This is required for all three types of in-app purchases ("CONSUMABLE", "ENTITLEMENT", or "SUBSCRIPTION").

Important

You must call this function following every successful transaction. If you don't, Amazon will assume that the transaction was interrupted and will attempt to resume it sometime after the next application launch.

If you're offering the item as downloadable content, do not call this function until the download is complete.

Syntax

store.finishTransaction( transaction )
transaction (required)

Table. Table containing data related to the transaction.