Difference between revisions of "GoogleBilling:restoreTransactions"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 8: Line 8:
 
retrieve a user&#039;s transaction status, which is usually only when your application is reinstalled or installed for the first time on a device.<br />
 
retrieve a user&#039;s transaction status, which is usually only when your application is reinstalled or installed for the first time on a device.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(bool) = GoogleBilling:restoreTransactions()
 
(bool) = GoogleBilling:restoreTransactions()
 
</source>
 
</source>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if in-app billing service is available, ''false'' otherwise.</translate><br/>
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if in-app billing service is available, ''false'' otherwise.</translate><br/>

Revision as of 14:28, 13 July 2023


Available since: Gideros 2012.09
Class: GoogleBilling

Description


This request retrieves a user's transaction status for managed purchases. You should send this message only when you need to
retrieve a user's transaction status, which is usually only when your application is reinstalled or installed for the first time on a device.

<syntaxhighlight lang="lua"> (bool) = GoogleBilling:restoreTransactions() </source>

Return values

Returns (bool) true if in-app billing service is available, false otherwise.