コンテンツにスキップ
アカウントを作成
または
サインイン
Stripe ドキュメントのロゴ
/
AI に質問する
アカウントを作成
サインイン
始める
支払い
財務の自動化
プラットフォームおよびマーケットプレイス
資金管理
開発者向けのツール
始める
支払い
財務の自動化
始める
支払い
財務の自動化
プラットフォームおよびマーケットプレイス
資金管理
概要
Stripe Payments について
構築済みのシステムをアップグレード
支払いの分析
オンライン決済
概要ユースケースを見つけるManaged Payments
Payment Links を使用する
決済ページを構築
高度なシステムを構築
アプリ内実装を構築
支払い方法
決済手段を追加
決済手段を管理
Link による購入の迅速化
支払いインターフェイス
Payment Links
Checkout
Web Elements
アプリ内 Elements
決済シナリオ
カスタムの決済フロー
柔軟なアクワイアリング
オーケストレーション
店頭支払い
端末
    概要
    対面支払いを受け付ける
    導入方法の設計
    リーダーを選択
    導入方法の設計
    クイックスタート
    サンプルアプリケーション
    テスト
    Terminal の設定
    実装方法を設定する
    リーダーに接続する
    決済の受け付け
    カード支払いを回収
    追加の支払い方法
    オフライン決済を受け付ける
    通信販売/電話販売の決済
    地域的な考慮事項
    購入時
    チップを回収する
    将来の使用に備えて支払い情報を収集して保存する
    柔軟なオーソリ
    決済後
    返金の取引
    領収書の提供
    Checkout のカスタマイズ
    カートの表示
    画面上の入力を収集
    スワイプで取得されたデータを収集
    NFC 機器のタップによって取得したデータを収集
    Apps on Devices
    リーダーを管理
    リーダーの注文、返品、交換
    リーダーの登録
    場所とゾーンの管理
    リーダーの設定
    暗号化
    リファレンス
    API リファレンス
    モバイルリーダー
    スマートリーダー
    SDK 移行ガイド
    デプロイのチェックリスト
    Stripe Terminal リーダー製品シート
他の Stripe プロダクト
Financial Connections
仮想通貨
Climate
ホーム支払いTerminal

注

このページはまだ日本語ではご利用いただけません。より多くの言語で文書が閲覧できるように現在取り組んでいます。準備が整い次第、翻訳版を提供いたしますので、もう少しお待ちください。

その他の支払い方法公開プレビュー

Terminal のスマートリーダーにQR コードを表示して、サポートされている支払い方法を受け付けます。

ページをコピー

Terminal のスマートリーダーは、カード以外にも支払い方法の取引固有の QR コードを表示できます。顧客はこのコードをスキャンして、モバイルデバイスで購入を完了できます。

The flow below shows a payment that supports both card and non-card payment methods. Alternatively, if you want to support multiple non-card payment methods without accepting cards, the reader bypasses the tap or insert prompt and instead shows the menu of non-card payment method options. If you want to support a single non-card payment method, the reader loads the QR code directly.

追加の支払い方法を読み取るボタンが表示された、決済手段の収集画面

支払い方法の画面を収集する

カード、Affirm、WeChat Pay で支払うためのボタンが表示された、決済手段の選択画面

決済手段の選択画面

支払いの読み込み画面

読み込み画面

WeChat Pay のスキャン用 QR コードが表示されている画面

QR コードのスキャン画面

承認済みを表示する画面

承認済みの画面

サポートされている支払い方法: WeChat Pay、Affirm

サポート対象のリーダー: Stripe Reader S700、BBPOS WisePOS E

注

Connect アカウントには、各決済手段の取引を実行するための必須ケイパビリティ が必要です。Connect と Affirm および WeChat Pay との互換性について、詳しくはこちらをご覧ください。

Stripe Terminal でカード以外の決済手段をテストするには、物理リーダーを使用します。シミュレートされたリーダーはサポートされていません。

All transactions must be made with a functional network connection, i.e. not while offline.

Create a PaymentIntent

To accept non-card payment methods through the QR code interface, create a PaymentIntent and include your preferred payment method types in the payment_method_types parameter.

  • To present your customer all payment method options in the checkout flow, combine card_present with non-card payment method types (affirm, wechat_pay). We recommend enabling this if you operate in a heavily offline environment because only cards are supported in offline mode.
  • If you don’t want to accept cards, support only non-card payment method types (affirm, wechat_pay).
  • If you know which payment method you want to direct your customer to checkout to, select a single payment method type.

注

To process payments supporting both card_present and non-card payment_method_types, the reader application must be at least 2.30.5.0. To process payments supporting only non-card payment_method_types, the reader application must be at least 2.31.6.0.

Capture type

Many payment methods don’t support manual capture. Create your PaymentIntent with the capture_method parameter automatic to support the broadest set of payment methods. To support manual capture for card payments while also accepting payment methods that require automatic capture, set capture_method on the nested payment_method_options.card_present attribute to manual.

Command Line
cURL
curl https://api.stripe.com/v1/payment_intents \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d amount=1000 \ -d currency=usd \ -d "payment_method_types[]"=card_present \ -d "payment_method_types[]"=wechat_pay \ -d capture_method=automatic \ -d "payment_method_options[card_present][capture_method]"=manual

Handle the payment

Unlike card payments, processing QR code payments occurs asynchronously. When processing a PaymentIntent with a QR code payment method, Stripe generates a QR code unique to that payment. After processing the payment, the reader displays the QR code for the customer to scan with their mobile device. Shortly after the customer completes the payment on their device, the reader updates to reflect the completed payment.

注

The time it takes for the reader to display the result of the payment might differ depending on the payment method used. The reader usually updates after a few seconds.

QR code payments support both processing the payment immediately and the two-step collect-and-confirm flow.

API reference

  • Process a PaymentIntent

To collect payment, make a request to Stripe with the ID of the PaymentIntent you created and the reader you want to use for the transaction.

Some payment methods (for example, Affirm) require a return_url when confirming a PaymentIntent to redirect your customer to after they authenticate or cancel their payment on the payment method’s app or site. You can provide your own return_url when processing the PaymentIntent. If you don’t provide one, the customer sees a generic landing page hosted by Stripe.

Command Line
cURL
curl https://api.stripe.com/v1/terminal/readers/tmr_xxx/process_payment_intent \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d payment_intent=pi_xxx \ --data-urlencode "process_config[return_url]"="https://my.store.com/payment-completed"

When you process a payment, Stripe immediately responds to the request with an HTTP 200 status code as an acknowledgement that the reader received the action. In most cases, the request returns a reader with an in_progress status. However, because processing occurs asynchronously, the action status might already reflect the final state (succeeded or failed) if the payment completes quickly.

Simultaneously, the reader screen switches to a UI that prompts the customer to insert their card or select a QR code payment method. For QR code payments, the customer completing the payment on their device updates the status of the payment. To verify the reader state, listen to the terminal.reader.action_succeeded webhook or poll the Reader and PaymentIntent status to receive the status of the payment.

Command Line
cURL
curl https://api.stripe.com/v1/terminal/readers/tmr_xxx \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
{ "id": "tmr_xxx", "object": "terminal.reader", ... "status": "online", "action": { "type": "process_payment_intent", "process_payment_intent": { "payment_intent": "pi_xxx" }, "status": "in_progress", "failure_code": null, "failure_message": null } }

顧客体験

After you process the PaymentIntent, the customer scans a QR code rendered on the reader screen. Depending on the payment method, the customer might quickly finalize the payment in their mobile application (most digital wallets), or complete a more extended process of evaluating financing offers (BNPL payment methods). Below are demonstrations of the payment flow for supported payment methods:

Learn more about how to provide the best customer experience and promote awareness of BNPL options in a store through these Affirm training resources.

テスト

In a sandbox, you can scan the QR code using a regular QR code scanning application on your mobile phone. The QR code payload contains a URL that takes you to one of these test payment pages:

  • Affirm-hosted sandbox page: If your account is onboarded with Affirm, the QR code URL takes you to an Affirm-hosted sandbox page where you can complete the payment process. When you’re redirected to the Affirm sandbox, you might receive a prompt to enter the last four digits of your SSN. Affirm recommends using either 0000 or 5678 for testing purposes.

  • Stripe-hosted test payment page: If your account isn’t onboarded with Affirm, you’ll be directed to a Stripe-hosted test payment page where you can choose to authorize or decline the test payment.

注

The present_payment_method endpoint doesn’t support specifying QR code payment method types.

このページはお役に立ちましたか。
はいいいえ
お困りのことがございましたら 、サポートにお問い合わせください。
早期アクセスプログラムにご参加ください。
変更ログをご覧ください。
ご不明な点がございましたら、お問い合わせください。
LLM ですか?llms.txt を読んでください。
Powered by Markdoc