PurchaseClient.ResponseCode

public static @interface PurchaseClient.ResponseCode
com.gaa.sdk.iap.PurchaseClient.ResponseCode

Response codes to be used in SDK

Constants


RESULT_OK

int RESULT_OK

Success

Constant Value: 0

USER_CANCELED

int USER_CANCELED

The billing is cancelled.

Constant Value: 1

RESULT_SERVICE_UNAVAILABLE

int RESULT_SERVICE_UNAVAILABLE

An error occurred in the terminal or the server network.

Constant Value: 2

RESULT_BILLING_UNAVAILABLE

int RESULT_BILLING_UNAVAILABLE

An error occurred in the process of processing the purchase.

Constant Value: 3

RESULT_ITEM_UNAVAILABLE

int RESULT_ITEM_UNAVAILABLE

The in-app is not on sale or cannot be purchased.

Constant Value: 4

RESULT_DEVELOPER_ERROR

int RESULT_DEVELOPER_ERROR

The request is not valid.

Constant Value: 5

RESULT_ERROR

int RESULT_ERROR

Another undefined error occurred.

Constant Value: 6

RESULT_ITEM_ALREADY_OWNED

int RESULT_ITEM_ALREADY_OWNED

You have already owned the item.

Constant Value: 7

RESULT_ITEM_NOT_OWNED

int RESULT_ITEM_NOT_OWNED

You cannot consume the item because you do not have it.

Constant Value: 8

RESULT_FAIL

int RESULT_FAIL

The billing failed. Check the billing availability and billing method before making the billing again.

Constant Value: 9

RESULT_NEED_LOGIN

int RESULT_NEED_LOGIN

The store app login is required.

Constant Value: 10

RESULT_NEED_UPDATE

int RESULT_NEED_UPDATE

The billing module update is required.

Constant Value: 11

RESULT_SECURITY_ERROR

int RESULT_SECURITY_ERROR

The billing has been requested from an invalid app.

Constant Value: 12

RESULT_BLOCKED_APP

int RESULT_BLOCKED_APP

The request has been blocked.

Constant Value: 13

RESULT_NOT_SUPPORT_SANDBOX

int RESULT_NOT_SUPPORT_SANDBOX

The function is not supported in the test environment.

Constant Value: 14

ERROR_DATA_PARSING

int ERROR_DATA_PARSING

An error occurred in the response data parsing.

Constant Value: 1001

ERROR_SIGNATURE_VERIFICATION

int ERROR_SIGNATURE_VERIFICATION

An error occurred in the signature review of the purchase information.

Constant Value: 1002

ERROR_ILLEGAL_ARGUMENT

int ERROR_ILLEGAL_ARGUMENT

An invalid parameter is entered.

Constant Value: 1003

ERROR_UNDEFINED_CODE

int ERROR_UNDEFINED_CODE

An undefined error occurred.

Constant Value: 1004

ERROR_SIGNATURE_NOT_VALIDATION

int ERROR_SIGNATURE_NOT_VALIDATION

The entered license key is not valid.

Constant Value: 1005

ERROR_UPDATE_OR_INSTALL

int ERROR_UPDATE_OR_INSTALL

The billing module installation has failed.

Constant Value: 1006

ERROR_SERVICE_DISCONNECTED

int ERROR_SERVICE_DISCONNECTED

The billing module connection has been cut.

Constant Value: 1007

ERROR_FEATURE_NOT_SUPPORTED

int ERROR_FEATURE_NOT_SUPPORTED

The function is not supported.

Constant Value: 1008

ERROR_SERVICE_TIMEOUT

int ERROR_SERVICE_TIMEOUT

The communication time with the service has exceeded.

Constant Value: 1009

RESULT_EMERGENY_ERROR

int RESULT_EMERGENY_ERROR

The server is under maintenance.

Constant Value: 99999

Last updated