Difference between revisions of "Event.CONFIRM NOTIFICATION COMPLETE"

From GiderosMobile
Line 3: Line 3:
 
'''Value:''' confirmNotificationComplete<br/>
 
'''Value:''' confirmNotificationComplete<br/>
 
=== Description ===
 
=== Description ===
Dispatched when `GoogleBilling:confirmNotification` function completes with these response codes:
+
<translate>Dispatched when [[[GoogleBilling:confirmNotification]]] function completes with these response codes:
`GoogleBilling.OK` indicates that the request was sent to the server successfully.
+
[[[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.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.
+
[[[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/>
'''notificationId''': (string) id of notification that was confirmed<br/>
+
'''notificationId''': (string) <translate>id of notification that was confirmed</translate><br/>

Revision as of 14:38, 23 August 2018

Available since: Gideros 2012.09
Value: confirmNotificationComplete

Description

Dispatched when [[[GoogleBilling:confirmNotification]]] 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
notificationId: (string) id of notification that was confirmed