コンテンツにスキップ
アカウントを作成またはサインイン
Stripe ドキュメントのロゴ
/
AI に質問する
アカウントを作成サインイン
導入方法
決済管理
売上管理
プラットフォームとマーケットプレイス
資金管理
開発者向けリソース
API & SDKヘルプ

注

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

PayTo 支払いの事前設定

PayTo 支払いを事前設定する方法をご紹介します。

PayTo を使用すると、オーストラリアの顧客は、銀行アプリで 1 回限りの支払いと継続支払いの PayTo 契約を承認できます。顧客は、保留中の契約リクエストについての通知を受け取り、契約条件を承認してからアプリに戻り、そこで支払います。

将来の支払いに備えて PayTo の契約を設定することで、将来の支払いの回収に向けて現時点で顧客の承認を得ることができます。顧客はバンキングアプリで PayTo の同意書を表示、管理、一時停止、取り消すことができます。

注意

Stripe doesn’t support modification or pausing of PayTo agreements by customers. If a customer attempts to pause or modify an agreement, we cancel the agreement and send you a mandate.updated webhook. After receiving the webhook, you can reach out to your customer to find out why they adjusted their agreement, as well as set up a new agreement.

Accepting PayTo payments on your website consists of creating an object to track a payment, collecting payment method information and mandate acknowledgement, and submitting the payment to Stripe for processing. Stripe uses this payment object, the SetupIntent, to track and handle all the states of the setup until it completes.

Determine compatibility

顧客の居住地: Australia

対応可能な通貨: aud

取引通貨: aud

支払いモード: Yes

セットアップモード: Yes

サブスクリプションモード: Yes

To support PayTo payments in Checkout, express Prices for all line items in AUD (currency code aud).

Setup a payment

To enable Payto as a payment method, create a new Checkout Session:

  1. Add payto to the list of payment_method_types.
  2. Make sure all your line_items use the aud currency.
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
Stripe::Checkout::Session.create({ mode: 'setup', payment_method_types: ['card'], payment_method_types: ['card', 'payto'], customer: customer.id, payment_method_options: { payto: { mandate_options: { amount_type: 'maximum', amount: 10000, payment_schedule: 'adhoc' } } }, success_url: 'https://example.com/success', cancel_url: 'https://example.com/cancel' })

注文のフルフィルメント

決済受け付け後に、注文のフルフィルメントを実行する方法を説明します。

Test your integration

以下のさまざまなテスト用 PayID と銀行口座情報を使用して、テスト API キーで PayTo の実装内容をテストします。各セットによって、本番環境でシステムが直面する各種シナリオが再現されています。

PayID説明
{any_prefix}+succeed@{any_domain}The PaymentIntent status transitions from requires_action to processing after 20 seconds, then transitions to succeeded after an additional 20 seconds. The mandate enters an active state.
{any_prefix}+decline@{any_domain}PaymentIntent のステータスは、20 秒後に requires_action から requires_payment_method に移行します。Stripe は、payment_method_provider_decline エラーコードと invalid_authorization 支払い拒否コードを返します。同意書のステータスは inactive になります。
{any_prefix}+expire@{any_domain}PaymentIntent のステータスは、1 分後に requires_action から requires_payment_method に移行します。Stripe は、payment_method_provider_decline エラーコードと generic_decline 支払い拒否コードを返します。同意書のステータスは inactive になります。
{any_prefix}+insufficient_funds@{any_domain}PaymentIntent のステータスは、20 秒後に requires_action から processing に移行し、さらに 2 秒後に requires_payment_method に移行します。Stripe は、payment_method_provider_decline エラーコードと insufficient_funds 支払い拒否コードを返します。同意書のステータスは inactive になります。
{any_prefix}+revoke@{any_domain}PaymentIntent のステータスは、20 秒後に requires_action から processing に移行し、さらに 2 秒後に succeeded に移行します。同意書のステータスは active から始まり、1 分後に inactive に移行します。
{any_prefix}+agreement_type_not_supported@{any_domain}PaymentIntent のステータスは、20 秒後に requires_action から requires_payment_method に移行します。Stripe は payment_method_provider_decline エラーコードを返します。同意書のステータスは inactive になります。
このページはお役に立ちましたか。
はいいいえ
  • お困りのことがございましたら 、サポートにお問い合わせください。
  • 変更ログをご覧ください。
  • ご不明な点がございましたら、お問い合わせください。
  • LLM ですか?llms.txt を読んでください。
  • Powered by Markdoc