Difference between revisions of "Event.RESTORE TRANSACTIONS COMPLETE"

From GiderosMobile
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
 
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
 
'''<translate>Value</translate>:''' restoreTransactionsComplete<br/>
 
'''<translate>Value</translate>:''' restoreTransactionsComplete<br/>
 
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/GoogleBilling|GoogleBilling]]<br/>
 
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/GoogleBilling|GoogleBilling]]<br/>
 
=== <translate>Descriptio</translate>n ===
 
=== <translate>Descriptio</translate>n ===
<translate>Dispatched when `GoogleBilling:restoreTransactions` function completes with these response codes:
+
<translate>Dispatched when [[Special:MyLanguage/GoogleBilling:restoreTransactions|GoogleBilling:restoreTransactions]] function completes with these response codes:
`GoogleBilling.OK` indicates that the request was sent to the server successfully.
+
[[Special:MyLanguage/GoogleBilling.OK|GoogleBilling.OK]] indicates that the request was sent to the server successfully.
`GoogleBilling.ERROR` indicates an unexpected server error. For example, this error is triggered if you try to purchase an item from yourself, which is not allowed by Google Wallet.
+
[[Special:MyLanguage/GoogleBilling.ERROR|GoogleBilling.ERROR]] indicates an unexpected server error. For example, this error is triggered if you try to purchase an item from yourself, which is not allowed by Google Wallet.
`GoogleBilling.DEVELOPER_ERROR` indicates that an application is trying to make an in-app billing request but the application has not declared the  com.android.vending.BILLING permission in its manifest. Can also indicate that an application is not properly signed, or that you sent a malformed request, such as a request with missing Bundle keys or a request that uses an unrecognized request type.</translate>
+
[[Special:MyLanguage/GoogleBilling.DEVELOPER_ERROR|GoogleBilling.DEVELOPER_ERROR]] indicates that an application is trying to make an in-app billing request but the application has not declared the  com.android.vending.BILLING permission in its manifest. Can also indicate that an application is not properly signed, or that you sent a malformed request, such as a request with missing Bundle keys or a request that uses an unrecognized request type.</translate>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''responseCode''': (string) <translate>response code</translate><br/>
 
'''responseCode''': (string) <translate>response code</translate><br/>
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/>
 
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/>
 
'''<translate>Value</translate>:''' restoreTransactionsComplete<br/>
 
'''<translate>Value</translate>:''' restoreTransactionsComplete<br/>
 
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/StoreKit|StoreKit]]<br/>
 
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/StoreKit|StoreKit]]<br/>
 
=== <translate>Descriptio</translate>n ===
 
=== <translate>Descriptio</translate>n ===
<translate>This event is dispatched after call of `StoreKit:restoreCompletedTransactions` and when it's request is completed.</translate>
+
<translate>This event is dispatched after call of [[Special:MyLanguage/StoreKit:restoreCompletedTransactions|StoreKit:restoreCompletedTransactions]] and when it's request is completed.</translate>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''errorCode''': (number) <translate>error code if an error occurred while restoring transactions</translate><br/>
 
'''errorCode''': (number) <translate>error code if an error occurred while restoring transactions</translate><br/>
 
'''errorDescription''': (string) <translate>description of the error if an error occurred while restoring transactions</translate><br/>
 
'''errorDescription''': (string) <translate>description of the error if an error occurred while restoring transactions</translate><br/>

Latest revision as of 09:59, 3 September 2018


Available since: Gideros 2012.09
Value: restoreTransactionsComplete
Defined by: GoogleBilling

Description

Dispatched when GoogleBilling:restoreTransactions function completes with these response codes: GoogleBilling.OK indicates that the request was sent to the server successfully. GoogleBilling.ERROR indicates an unexpected server error. For example, this error is triggered if you try to purchase an item from yourself, which is not allowed by Google Wallet. GoogleBilling.DEVELOPER_ERROR indicates that an application is trying to make an in-app billing request but the application has not declared the com.android.vending.BILLING permission in its manifest. Can also indicate that an application is not properly signed, or that you sent a malformed request, such as a request with missing Bundle keys or a request that uses an unrecognized request type.

Parameters

responseCode: (string) response code


Available since: Gideros 2012.2.2
Value: restoreTransactionsComplete
Defined by: StoreKit

Description

This event is dispatched after call of StoreKit:restoreCompletedTransactions and when it's request is completed.

Parameters

errorCode: (number) error code if an error occurred while restoring transactions
errorDescription: (string) description of the error if an error occurred while restoring transactions