store.finishTransaction()

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

Overview

Notifies Google Play Store that purchase was processed (acknowledges it).

Following every successful transaction you must call this function and/or consume it. If you don’t do it over three days, Google Play will refund the purchase to customer.

Syntax

This function has two alternative syntaxes

store.finishTransaction( transaction )
store.finishTransaction( productIdentifier )
transaction (required)

Table. Table containing data related to the transaction.

transaction (required)

String. String representing the product identifier of the item to be acknowledged.