--- title: "ONE Store" slug: "game-gamepot3-one-store" updated: 2026-10-08T10:05:41Z published: 2026-10-08T10:05:41Z canonical: "guide.ncloud-docs.com/game-gamepot3-one-store" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # ONE Store Classic/VPC環境で利用できます。 ONE Storeビルドのためのコンソールご利用ガイドです。 GAMEPOT連携以外のコンソールの使用方法は、次をご参照ください。 - [ONE Storeガイド文書](https://onestore-dev.gitbook.io/dev) - ONE store Developers Console: [https://dev.onestore.co.kr/](https://dev.onestore.co.kr/) ## コンソールに In-App商品を追加 1. ONE store developer centerにアクセス > **APPS** > プロジェクを選択 > **In-App情報** > **管理商品** > **[In-App商品を登録]** ボタンをクリックします。 ![gamepot-OneStore01.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-OneStore01.png?sv=2026-02-06&spr=https&st=2026-10-26T12%3A39%3A23Z&se=2026-10-26T13%3A39%3A23Z&sr=c&sp=r&sig=SrhvUaOsXPUqXxDmm8VZFuF78Nz8AxmxFbaoJ%2FX1uSE%3D) 2. In-App商品情報を入力し、 **[保存]** ボタンをクリックします。 ![gamepot-OneStore02.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-OneStore02.png?sv=2026-02-06&spr=https&st=2026-10-26T12%3A39%3A23Z&se=2026-10-26T13%3A39%3A23Z&sr=c&sp=r&sig=SrhvUaOsXPUqXxDmm8VZFuF78Nz8AxmxFbaoJ%2FX1uSE%3D) - In-App ID: In-App固有の ID(product id) - In-App商品のタイトル: In-App商品名(ユーザー表示される名称) - In-App商品の種類: GAMEPOT SDKでは「管理商品」タイプのみサポートしているので、必ず「管理商品」を選択 - In-Appの基本価格: 韓国ウォン基準で VAT込みの価格を入力 ## 決済テスター追加の適用 1. ONE store developer centerにアクセス > **APPS** > プロジェクを選択 > **In-App情報** > **決済テスト**をクリックします。 2. テスト IDの照会: 決済テストを行う ONE Storeのアカウント(メール情報)を入力し、 **[照会]** ボタンをクリックします。 - ONE Storeのアカウントが照会されると、下部の「テスト IDの照会結果」部分が表示されます。 3. 照会された結果から決済環境を「sandboxまたは常用決済」にして登録します。 - In-App商品の追加後、初回のテスト時は sandbox環境に設定します。 ![gamepot-OneStore03.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-OneStore03.png?sv=2026-02-06&spr=https&st=2026-10-26T12%3A39%3A23Z&se=2026-10-26T13%3A39%3A23Z&sr=c&sp=r&sig=SrhvUaOsXPUqXxDmm8VZFuF78Nz8AxmxFbaoJ%2FX1uSE%3D) ## GAMEPOTダッシュボードにストア情報を登録 1. GAMEPOTダッシュボード > **プロジェクトの設定** > **ストア** > **ONE Store**メニューを順にクリックします。 ![gamepot-OneStore04.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-OneStore04.png?sv=2026-02-06&spr=https&st=2026-10-26T12%3A39%3A23Z&se=2026-10-26T13%3A39%3A23Z&sr=c&sp=r&sig=SrhvUaOsXPUqXxDmm8VZFuF78Nz8AxmxFbaoJ%2FX1uSE%3D) 2. ストア登録時に必要な情報は、**In-App情報 > 管理商品 > In-App APIの管理** で確認します。 ![gamepot-OneStore05.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-OneStore05.png?sv=2026-02-06&spr=https&st=2026-10-26T12%3A39%3A23Z&se=2026-10-26T13%3A39%3A23Z&sr=c&sp=r&sig=SrhvUaOsXPUqXxDmm8VZFuF78Nz8AxmxFbaoJ%2FX1uSE%3D) - Server Key: ライセンスキーを入力 - Client ID: Oauth認証情報の Client IDを入力 - Client Secret: Oauth認証情報の Client Secretを入力 ### GAMEPOTダッシュボードの In-App商品を追加 GAMEPOTダッシュボード > **購入** > **アプリ内購入** > **[追加]** ボタンをクリックします。 ![gamepot-GooglePlayStore16.png](https://cdn.document360.io/6998976f-9d95-4df8-b847-d375892b92c2/Images/Documentation/gamepot-GooglePlayStore16.png?sv=2026-02-06&spr=https&st=2026-10-26T12%3A39%3A23Z&se=2026-10-26T13%3A39%3A23Z&sr=c&sp=r&sig=SrhvUaOsXPUqXxDmm8VZFuF78Nz8AxmxFbaoJ%2FX1uSE%3D) - 状態: 有効化状態で登録(使用しない商品は無効化) - ストア: In-App登録対象のストアを選択 - 商品名: In-Appの商品名 - 商品 ID: ストアコンソールに入力した In-Appの ID(Product Id) ## アプリの設定 ### Kotlin Gradleの設定 1. プロジェクトの`settings.gradle.kts`ファイルに Maven Centralが含まれているか確認します。 ``` dependencyResolutionManagement { repositories { ... google() mavenCentral() maven(url = "https://repo.nbase.io/repository/nbase-releases") } } ``` 2. プロジェクト(Module: app)の build.gradle.ktsファイルに SDK依存関係を追加します。 ``` dependencies { ... implementation("io.nbase:nbase-adapter-billing-onestore:3.0.5") } ``` 3. AndroidManifest.xmlファイルに以下の queriesを追加します。 ``` ... ... ``` ### Java Gradleの設定 1. プロジェクト(Module: project)の`build.gradle`ファイルに、Maven Centralと NBaseリポジトリを追加します。 ``` allprojects { repositories { ... google() mavenCentral() maven { url "https://repo.nbase.io/repository/nbase-releases" } } } ``` 2. プロジェクト(Module: app)の build.gradleファイルに SDK依存関係を追加します。 ``` dependencies { ... implementation("io.nbase:nbase-adapter-billing-onestore:3.0.5") } ``` 3. AndroidManifest.xmlファイルに以下の queriesを追加します。 ``` ... ... ``` ### Unity Gradleの設定 NBase SDK Unity 3.0.18 以降では、Unityエディタの **Tools** > **GamePotSDK** > **Dependency Manager**から **OneStore Billing**を選択し、**Apply Dependencies**をクリックします。適用後に作成された XMLにサービス終了した`repo.onestore.co.kr`リポジトリが含まれている場合は、当該`<repository>`項目を削除します。 手動で設定する場合は、`Assets/NBaseSDK/Editor/NBaseSDKDependencies.xml`ファイルに以下の定義を追加します。 ``` ```xml https://repo.nbase.io/repository/nbase-releases ``` ``` **Assets > External Dependency Manager > Android Resolver > Force Resolve** を1回実行します。 プロジェクトの`AndroidManifest.xml`ファイル内に以下の`queries`を追加します。 `xml <manifest> <queries> <intent> <action android:name="com.onestore.ipc.iap.IapService.ACTION"/> </intent> <intent> <action android:name="android.intent.action.VIEW"/> <data android:scheme="onestore"/> </intent> </queries> ... <application> ... </application> </manifest>` 参考 アダプタの推移的依存関係として、ONE store IAP SDK 21.02.01が含まれます。ONE store IAP SDKは Maven Centralに移行されました。サービス終了した`https://repo.onestore.co.kr/repository/onestore-sdk-public`リポジトリは追加しないでください。 ## トラブルシューティング Q. ONE Storeで決済しようとすると「responseCode: 3, message: An error occurred during the purchase process.」という エラーが発生します。 A. ONE Storeログインアカウントが決済テスターとして追加されているかご確認ください。