store.finishTransaction()

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

Overview

Notifies the Apple Store that a transaction is complete.

Important

You must call this function following every successful transaction. If you don't, Apple 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.