Difference between revisions of "StoreKit:finishTransaction"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/>
 
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/StoreKit|StoreKit]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/StoreKit|StoreKit]]<br/>
Line 7: 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>
+
</syntaxhighlight>
 
=== <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/>

Latest revision as of 15:33, 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.

 StoreKit:finishTransaction(transaction)

Parameters

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