# PurchaseClient.ResponseCode

```
public static @interface PurchaseClient.ResponseCode
```

```
com.gaa.sdk.iap.PurchaseClient.ResponseCode
```

```
```

SDK에 사용되는 응답코드

## Constants <a href="#purchaseclient.responsecode-constants" id="purchaseclient.responsecode-constants"></a>

***

### RESULT\_OK <a href="#purchaseclient.responsecode-result_ok" id="purchaseclient.responsecode-result_ok"></a>

```
int RESULT_OK
```

성공

Constant Value: 0

### USER\_CANCELED <a href="#purchaseclient.responsecode-user_canceled" id="purchaseclient.responsecode-user_canceled"></a>

```
int USER_CANCELED
```

결제가 취소되었습니다.

Constant Value: 1

### RESULT\_SERVICE\_UNAVAILABLE <a href="#purchaseclient.responsecode-result_service_unavailable" id="purchaseclient.responsecode-result_service_unavailable"></a>

```
int RESULT_SERVICE_UNAVAILABLE
```

단말 또는 서버 네트워크 오류가 발생하였습니다.

Constant Value: 2

### RESULT\_BILLING\_UNAVAILABLE <a href="#purchaseclient.responsecode-result_billing_unavailable" id="purchaseclient.responsecode-result_billing_unavailable"></a>

```
int RESULT_BILLING_UNAVAILABLE
```

구매처리 과정에서 오류가 발생하였습니다.

Constant Value: 3

### RESULT\_ITEM\_UNAVAILABLE <a href="#purchaseclient.responsecode-result_item_unavailable" id="purchaseclient.responsecode-result_item_unavailable"></a>

```
int RESULT_ITEM_UNAVAILABLE
```

상품이 판매중이 아니거나 구매할 수 없는 상품입니다.

Constant Value: 4

### RESULT\_DEVELOPER\_ERROR <a href="#purchaseclient.responsecode-result_developer_error" id="purchaseclient.responsecode-result_developer_error"></a>

```
int RESULT_DEVELOPER_ERROR
```

올바르지 않은 요청입니다.

Constant Value: 5

### RESULT\_ERROR <a href="#purchaseclient.responsecode-result_error" id="purchaseclient.responsecode-result_error"></a>

```
int RESULT_ERROR
```

정의되지 않은 기타 오류가 발생하였습니다.

Constant Value: 6

### RESULT\_ITEM\_ALREADY\_OWNED <a href="#purchaseclient.responsecode-result_item_already_owned" id="purchaseclient.responsecode-result_item_already_owned"></a>

```
int RESULT_ITEM_ALREADY_OWNED
```

이미 아이템을 소유하고 있습니다.

Constant Value: 7

### RESULT\_ITEM\_NOT\_OWNED <a href="#purchaseclient.responsecode-result_item_not_owned" id="purchaseclient.responsecode-result_item_not_owned"></a>

```
int RESULT_ITEM_NOT_OWNED
```

아이템을 소유하고 있지 않아 소비할 수 없습니다.

Constant Value: 8

### RESULT\_FAIL <a href="#purchaseclient.responsecode-result_fail" id="purchaseclient.responsecode-result_fail"></a>

```
int RESULT_FAIL
```

결제에 실패했습니다. 결제 가능여부 및 결제수단을 확인 후 다시 결제해주세요.

Constant Value: 9

### RESULT\_NEED\_LOGIN <a href="#purchaseclient.responsecode-result_need_login" id="purchaseclient.responsecode-result_need_login"></a>

```
int RESULT_NEED_LOGIN
```

스토어 앱 로그인이 필요합니다.

Constant Value: 10

### RESULT\_NEED\_UPDATE <a href="#purchaseclient.responsecode-result_need_update" id="purchaseclient.responsecode-result_need_update"></a>

```
int RESULT_NEED_UPDATE
```

결제 모듈의 업데이트가 필요합니다.

Constant Value: 11

### RESULT\_SECURITY\_ERROR <a href="#purchaseclient.responsecode-result_security_error" id="purchaseclient.responsecode-result_security_error"></a>

```
int RESULT_SECURITY_ERROR
```

비정상 앱에서 결제가 요청되었습니다.

Constant Value: 12

### RESULT\_BLOCKED\_APP <a href="#purchaseclient.responsecode-result_blocked_app" id="purchaseclient.responsecode-result_blocked_app"></a>

```
int RESULT_BLOCKED_APP
```

요청이 차단되었습니다.

Constant Value: 13

### RESULT\_NOT\_SUPPORT\_SANDBOX <a href="#purchaseclient.responsecode-result_not_support_sandbox" id="purchaseclient.responsecode-result_not_support_sandbox"></a>

```
int RESULT_NOT_SUPPORT_SANDBOX
```

테스트 환경에서는 지원하지 않는 기능입니다.

Constant Value: 14

### ERROR\_DATA\_PARSING <a href="#purchaseclient.responsecode-error_data_parsing" id="purchaseclient.responsecode-error_data_parsing"></a>

```
int ERROR_DATA_PARSING
```

응답 데이터 분석 오류가 발생했습니다.

Constant Value: 1001

### ERROR\_SIGNATURE\_VERIFICATION <a href="#purchaseclient.responsecode-error_signature_verification" id="purchaseclient.responsecode-error_signature_verification"></a>

```
int ERROR_SIGNATURE_VERIFICATION
```

구매정보의 서명검증 에러가 발생했습니다.

Constant Value: 1002

### ERROR\_ILLEGAL\_ARGUMENT <a href="#purchaseclient.responsecode-error_illegal_argument" id="purchaseclient.responsecode-error_illegal_argument"></a>

```
int ERROR_ILLEGAL_ARGUMENT
```

정상적이지 않은 파라미터가 입력 되었습니다.

Constant Value: 1003

### ERROR\_UNDEFINED\_CODE <a href="#purchaseclient.responsecode-error_undefined_code" id="purchaseclient.responsecode-error_undefined_code"></a>

```
int ERROR_UNDEFINED_CODE
```

정의되지 않은 오류가 발생했습니다.

Constant Value: 1004

### ERROR\_SIGNATURE\_NOT\_VALIDATION <a href="#purchaseclient.responsecode-error_signature_not_validation" id="purchaseclient.responsecode-error_signature_not_validation"></a>

```
int ERROR_SIGNATURE_NOT_VALIDATION
```

입력한 라이센스키가 유효하지 않습니다.

Constant Value: 1005

### ERROR\_UPDATE\_OR\_INSTALL <a href="#purchaseclient.responsecode-error_update_or_install" id="purchaseclient.responsecode-error_update_or_install"></a>

```
int ERROR_UPDATE_OR_INSTALL
```

결제 모듈 설치에 실패하였습니다.

Constant Value: 1006

### ERROR\_SERVICE\_DISCONNECTED <a href="#purchaseclient.responsecode-error_service_disconnected" id="purchaseclient.responsecode-error_service_disconnected"></a>

```
int ERROR_SERVICE_DISCONNECTED
```

결제 모듈과의 연결이 끊어졌습니다.

Constant Value: 1007

### ERROR\_FEATURE\_NOT\_SUPPORTED <a href="#purchaseclient.responsecode-error_feature_not_supported" id="purchaseclient.responsecode-error_feature_not_supported"></a>

```
int ERROR_FEATURE_NOT_SUPPORTED
```

기능을 지원하지 않습니다.

Constant Value: 1008

### ERROR\_SERVICE\_TIMEOUT <a href="#purchaseclient.responsecode-error_service_timeout" id="purchaseclient.responsecode-error_service_timeout"></a>

```
int ERROR_SERVICE_TIMEOUT
```

서비스와 통신하는 시간이 초과되었습니다.

Constant Value: 1009

### RESULT\_EMERGENY\_ERROR <a href="#purchaseclient.responsecode-result_emergeny_error" id="purchaseclient.responsecode-result_emergeny_error"></a>

```
int RESULT_EMERGENY_ERROR
```

서버 점검중입니다.

Constant Value: 99999


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://onestore-dev.gitbook.io/dev/tools/billing/old-version/v19/undefined-3/annotations/purchaseclient.responsecode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
