[EN]PurchaseClient.ResponseCode
public static @interface PurchaseClient.ResponseCode com.gaa.sdk.iap.PurchaseClient.ResponseCode
Response code used in the SDK
Constants
RESULT_OK
int RESULT_OK Success Constant Value: 0
USER_CANCELED
int USER_CANCELED The payment has been canceled. Constant Value: 1
RESULT_SERVICE_UNAVAILABLE
int RESULT_SERVICE_UNAVAILABLE A terminal or server network error has occurred. Constant Value: 2
RESULT_BILLING_UNAVAILABLE
int RESULT_BILLING_UNAVAILABLE An error has occurred during the purchase process. Constant Value: 3
RESULT_ITEM_UNAVAILABLE
int RESULT_ITEM_UNAVAILABLE The product is not on sale and/or cannot be purchased. Constant Value: 4
RESULT_DEVELOPER_ERROR
int RESULT_DEVELOPER_ERROR This is an invalid request. Constant Value: 5
RESULT_ERROR
int RESULT_ERROR An undefined error has occurred. Constant Value: 6
RESULT_ITEM_ALREADY_OWNED
int RESULT_ITEM_ALREADY_OWNED You already own this item. Constant Value: 7
RESULT_ITEM_NOT_OWNED
int RESULT_ITEM_NOT_OWNED This item cannot be used because you do not own it. Constant Value: 8
RESULT_FAIL
int RESULT_FAIL The payment has failed. Please check the payment method and availability then try again. Constant Value: 9
RESULT_NEED_LOGIN
int RESULT_NEED_LOGIN Store app login required. Constant Value: 10
RESULT_NEED_UPDATE
int RESULT_NEED_UPDATE Payment module update required. Constant Value: 11
RESULT_SECURITY_ERROR
int RESULT_SECURITY_ERROR Payment has been requested from an unrecognized 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 This feature is not supported in the test environment. Constant Value: 14
ERROR_DATA_PARSING
int ERROR_DATA_PARSING A response data analysis error has occurred. Constant Value: 1001
ERROR_SIGNATURE_VERIFICATION
int ERROR_SIGNATURE_VERIFICATION A signature verification error in the purchase information has occurred. Constant Value: 1002
ERROR_ILLEGAL_ARGUMENT
int ERROR_ILLEGAL_ARGUMENT An invalid parameter has been entered. Constant Value: 1003
ERROR_UNDEFINED_CODE
int ERROR_UNDEFINED_CODE An undefined error has occurred. Constant Value: 1004
ERROR_SIGNATURE_NOT_VALIDATION
int ERROR_SIGNATURE_NOT_VALIDATION An invalid license key has been entered. Constant Value: 1005
ERROR_UPDATE_OR_INSTALL
int ERROR_UPDATE_OR_INSTALL Failed to install payment module. Constant Value: 1006
ERROR_SERVICE_DISCONNECTED
int ERROR_SERVICE_DISCONNECTED The connection with the payment module has been lost. Constant Value: 1007
ERROR_FEATURE_NOT_SUPPORTED
int ERROR_FEATURE_NOT_SUPPORTED This function is not supported. Constant Value: 1008
ERROR_SERVICE_TIMEOUT
int ERROR_SERVICE_TIMEOUT Communication with the service has timed out. Constant Value: 1009
ERROR_CLIENT_NOT_ENABLED
int ERROR_CLIENT_NOT_ENABLED Unable to bind with the service app. Constant Value: 1010
RESULT_EMERGENY_ERROR
int RESULT_EMERGENY_ERROR The server is under maintenance. Constant Value: 99999
Last updated