BillingClient.BillingResponse

This reference document contains the summary of In-app Billing API responses using the BillingClient construct.

Definition

    public static abstract @interface BillingClient.BillingResponse 
    implements Annotation
    
    gg.now.billingclient.api.BillingClient.BillingResponse

Response Codes

The table below showcases the constants, response codes, usage, and values of the response.

Constant Value Message Description
int 3 (0x00000003) BILLING_UNAVAILABLE This indicates that the Billing API version is not supported for the type requested
int 5 (0x00000005) DEVELOPER_ERROR Indicates multiple scenarios, mainly: i) invalid arguments provided to the API. ii) Setup issues within now.gg Billing Service. iii) Permission issues
int 6 (0x00000006) ERROR Indicates a fatal error during execution
int -2 (0xfffffffe) FEATURE_ NOT_SUPPORTED This indicates that the requested feature is not supported by now.gg Billing Service on that specific device
int 7 (0x00000007) ITEM_ALREADY_OWNED Indicates that the item is already owned, purchase failure
int 8 (0x00000008) ITEM_NOT_OWNED Indicates an issue where the item is not owned and hence cannot be consumed
int 4 (0x00000004) ITEM_UNAVAILABLE Indicates that the requested item is not available for purchase
int 0 (0x00000000) OK Indicates Successful Operation
int -1 (0xffffffff) SERVICE_DISCONNECTED The service is not connected at the moment. Possible reasons could be: i) Service maintenance ii) Application in a transient state.
int -3 (0xfffffffd) SERVICE_TIMEOUT This indicates that maximum timeouts have occurred and the billing service hasn’t responded
int 2 (0x00000002) SERVICE_UNAVAILABLE Indicates a network issue
int 1 (0x00000001) USER_CANCELED Indicates that the process was cancelled by the user, or they pressed the back button
×
Text copied to clipboard
Questions? Please reach out to us at dev-support@now.gg