> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment.md).

# 非接触決済を実装する

## 概要

NFC Wallet SDK は iOS 上で複数の非接触決済のエントリポイントをサポートします:

* **ダブルクリック**: エンドユーザーがデバイスのサイドボタンをダブルクリックすると、デフォルトのデジタルウォレットアプリケーションが開きます。
* **フィールド検出**: エンドユーザーがデバイスを POS 端末に近づけます。iOS が NFC フィールドを検出すると、デフォルトのデジタルウォレットアプリケーションが開きます。
* **手動モード**: エンドユーザーがあなたのデジタルウォレットアプリケーションを開き、アプリ内 UI から支払いを開始します。

デジタルウォレットアプリケーションの UX に合った体験を選択してください。

## ユーザー体験

### ダブルクリック

<div align="center"><figure><img src="/files/75e9601bdbe78ed4c3438a042139eac5e9df6786" alt="" width="563"><figcaption><p>ダブルクリックの体験（サイドボタン / ロックボタン）。</p></figcaption></figure></div>

エンドユーザーがデバイスのサイドボタン / ロックボタンを 2 回押します。すると OS がデフォルトのデジタルウォレットアプリケーションを起動します。アプリケーションには支払い用のデフォルトのデジタルカードが表示されます。

{% hint style="info" %}
サポートするには **ダブルクリック**、エンドユーザーは iOS の設定であなたのデジタルウォレットアプリケーションをデフォルトの非接触決済アプリケーションとして設定する必要があります。
{% endhint %}

### フィールド検出

<div align="center"><figure><img src="/files/6bc621a94ab98765577e377941c0f7c1215bd3f8" alt="" width="563"><figcaption><p>フィールド検出の体験（NFC フィールド検出）。</p></figcaption></figure></div>

エンドユーザーがデバイスを POS 端末の近くに持っていきます。NFC フィールドが検出されると、OS がデフォルトのデジタルウォレットアプリケーションを起動します。アプリケーションには支払い用のデフォルトのデジタルカードが表示されます。

{% hint style="info" %}
サポートするには **フィールド検出**、エンドユーザーは iOS の設定であなたのデジタルウォレットアプリケーションをデフォルトの非接触決済アプリケーションとして設定する必要があります。
{% endhint %}

### 手動モード

<figure><img src="/files/5363f78cfc41160b76ee5af08ee823c29ff22a00" alt=""><figcaption><p>手動モードの体験（アプリ内での支払い開始）。</p></figcaption></figure>

この体験では、エンドユーザーがあなたのデジタルウォレットアプリケーション内から支払いを開始します。UI と、支払いフローをトリガーするアクションを実装します。

### 共通の支払いフロー

<figure><img src="/files/d6907f68ccdb3040ed7e00296ef62115916ce122" alt=""><figcaption><p>共通の非接触決済フロー。</p></figcaption></figure>

支払いをトリガーするものが何であれ、通常のフローは次のとおりです:

1. エンドユーザーが支払いを開始します（支払いボタンを選択）。
2. エンドユーザーが認証します（**CDCVM**).
3. iOS は **NFC モーダル UI** を表示し、エンドユーザーにタップを促します。
4. エンドユーザーがデバイスを POS 端末にかざしてタップします。
5. タップが成功した後:
   * iOS に成功状態が表示されます。
   * デジタルウォレットアプリケーションでは **トランザクションコンテキスト**.
6. デジタルウォレットアプリケーションは承認結果（承認済み / 否認）を受け取り、エンドユーザーに表示します（**トランザクション通知**)

## 実装ガイド

デジタルウォレットアプリケーションの非接触決済体験を選択したら、次の順序で非接触決済を実装します:

1. [前提条件を確認する](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment/1.-check-prerequisites.md)

   Apple HCE エンタイトルメントを含む
2. [デフォルトの支払いアプリケーションを管理する](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment/2.-manage-the-default-payment-application.md)
3. [管理 `NFCPresentmentIntentAssertion`](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment/3.-manage-nfcpresentmentintentassertion.md)
4. [支払いを実装する](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment/4.-implement-payment.md)
5. [トランザクションコンテキストを表示する](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment/5.-display-the-transaction-context.md)

エンドツーエンドの手順については、 [完全な実装例を参照してください](/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment/full-implementation-example.md).

{% hint style="warning" %}
**Apple HCE エンタイトルメント**: デジタルウォレットアプリケーションを App Store または TestFlight に提出する際は、次の項目を提供してください:

* イシュアアプリケーションのリリース前の TestFlight ビルドへのアクセス。
* テスト用ログイン認証情報。
* プロビジョニングでき、NFC トランザクションの実行に使用できるテスト用支払い認証情報を少なくとも 1 つ。
* 端末での NFC トランザクションのスクリーンショットまたは動画。
* Presentment Intent Assertion API の実装を示す動画。

参照してください [欧州経済領域（EEA）のアプリ向けの HCE ベースの非接触トランザクション](https://developer.apple.com/support/hce-transactions-in-apps/) 詳細について。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.payments.thalescloud.io/nfc-wallet-sdk-ios/ja/implement-nfc-wallet/make-payments/implement-contactless-payment.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
