Difference between revisions of "StoreKit:finishTransaction"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 8: Line 8:
 
purchased by the user.<br />
 
purchased by the user.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  StoreKit:finishTransaction(transaction)
 
  StoreKit:finishTransaction(transaction)
 
</source>
 
</source>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''transaction''': (table) <translate>transaction information recevied with the event Event.TRANSACTION.</translate> <br/>
 
'''transaction''': (table) <translate>transaction information recevied with the event Event.TRANSACTION.</translate> <br/>

Revision as of 14:31, 13 July 2023


Available since: Gideros 2012.2.2
Class: StoreKit

Description


Completes a pending transaction. Your application should call this function only after it has successfully processed the transaction and unlocked the functionality
purchased by the user.

<syntaxhighlight lang="lua">

StoreKit:finishTransaction(transaction)

</source>

Parameters

transaction: (table) transaction information recevied with the event Event.TRANSACTION.