Difference between revisions of "StoreKit:restoreCompletedTransactions"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2012.2.2<br/> | '''Available since:''' Gideros 2012.2.2<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
− | Restore previously completed purchases. | + | Restore previously completed purchases. [[[Event.TRANSACTION]]] event is dispatched for each previously completed transaction that can be restored. <br /> |
Each transaction includes a copy of the original transaction.<br /> | Each transaction includes a copy of the original transaction.<br /> | ||
<br /> | <br /> | ||
− | After the transactions are delivered, | + | After the transactions are delivered, [[[Event.RESTORE_TRANSACTIONS_COMPLETE` event is dispatched. If an error occurred while restoring transactions, `event.errorCode]]] and <br /> |
− | + | [[[event.errorDescription]]] fields contain the details of the error.<br /> | |
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
StoreKit:restoreCompletedTransactions() | StoreKit:restoreCompletedTransactions() | ||
</source> | </source> |
Revision as of 13:32, 23 August 2018
Available since: Gideros 2012.2.2
Description
Restore previously completed purchases. [[[Event.TRANSACTION]]] event is dispatched for each previously completed transaction that can be restored.
Each transaction includes a copy of the original transaction.
After the transactions are delivered, [[[Event.RESTORE_TRANSACTIONS_COMPLETE` event is dispatched. If an error occurred while restoring transactions, `event.errorCode]]] and
[[[event.errorDescription]]] fields contain the details of the error.
StoreKit:restoreCompletedTransactions()