PurchaseClient.ResponseCode
Response codes to be used in SDK
Constants
RESULT_OK
Success
Constant Value: 0
USER_CANCELED
The billing is cancelled.
Constant Value: 1
RESULT_SERVICE_UNAVAILABLE
An error occurred in the terminal or the server network.
Constant Value: 2
RESULT_BILLING_UNAVAILABLE
An error occurred in the process of processing the purchase.
Constant Value: 3
RESULT_ITEM_UNAVAILABLE
The in-app is not on sale or cannot be purchased.
Constant Value: 4
RESULT_DEVELOPER_ERROR
The request is not valid.
Constant Value: 5
RESULT_ERROR
Another undefined error occurred.
Constant Value: 6
RESULT_ITEM_ALREADY_OWNED
You have already owned the item.
Constant Value: 7
RESULT_ITEM_NOT_OWNED
You cannot consume the item because you do not have it.
Constant Value: 8
RESULT_FAIL
The billing failed. Check the billing availability and billing method before making the billing again.
Constant Value: 9
RESULT_NEED_LOGIN
The store app login is required.
Constant Value: 10
RESULT_NEED_UPDATE
The billing module update is required.
Constant Value: 11
RESULT_SECURITY_ERROR
The billing has been requested from an invalid app.
Constant Value: 12
RESULT_BLOCKED_APP
The request has been blocked.
Constant Value: 13
RESULT_NOT_SUPPORT_SANDBOX
The function is not supported in the test environment.
Constant Value: 14
ERROR_DATA_PARSING
An error occurred in the response data parsing.
Constant Value: 1001
ERROR_SIGNATURE_VERIFICATION
An error occurred in the signature review of the purchase information.
Constant Value: 1002
ERROR_ILLEGAL_ARGUMENT
An invalid parameter is entered.
Constant Value: 1003
ERROR_UNDEFINED_CODE
An undefined error occurred.
Constant Value: 1004
ERROR_SIGNATURE_NOT_VALIDATION
The entered license key is not valid.
Constant Value: 1005
ERROR_UPDATE_OR_INSTALL
The billing module installation has failed.
Constant Value: 1006
ERROR_SERVICE_DISCONNECTED
The billing module connection has been cut.
Constant Value: 1007
ERROR_FEATURE_NOT_SUPPORTED
The function is not supported.
Constant Value: 1008
ERROR_SERVICE_TIMEOUT
The communication time with the service has exceeded.
Constant Value: 1009
RESULT_EMERGENY_ERROR
The server is under maintenance.
Constant Value: 99999
Last updated