Difference between revisions of "Event.RESTORE TRANSACTIONS COMPLETE"
Line 3: | Line 3: | ||
'''Value:''' restoreTransactionsComplete<br/> | '''Value:''' restoreTransactionsComplete<br/> | ||
=== Description === | === Description === | ||
− | Dispatched when | + | <translate>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.</translate> | |
=== Parameters === | === Parameters === | ||
− | '''responseCode''': (string) response code<br/> | + | '''responseCode''': (string) <translate>response code</translate><br/> |
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2012.2.2<br/> | '''Available since:''' Gideros 2012.2.2<br/> | ||
'''Value:''' restoreTransactionsComplete<br/> | '''Value:''' restoreTransactionsComplete<br/> | ||
=== Description === | === Description === | ||
− | This event is dispatched after call of | + | <translate>This event is dispatched after call of [[[StoreKit:restoreCompletedTransactions]]] and when it's request is completed.</translate> |
=== Parameters === | === Parameters === | ||
− | '''errorCode''': (number) error code if an error occurred while restoring transactions<br/> | + | '''errorCode''': (number) <translate>error code if an error occurred while restoring transactions</translate><br/> |
− | '''errorDescription''': (string) description of the error if an error occurred while restoring transactions<br/> | + | '''errorDescription''': (string) <translate>description of the error if an error occurred while restoring transactions</translate><br/> |
Revision as of 13:34, 23 August 2018
Available since: Gideros 2012.09
Value: restoreTransactionsComplete
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
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