動的な決済手段にアップグレードする
This guide provides instructions on how to integrate dynamic payment methods for existing platforms. If you need help setting up a new platform, refer to either the Collect payments then pay out guide or the Enable other businesses to accept payments directly guide.
動的な決済手段の導入手順
Use the following form to select your integration. If you need help determining your platform setup, including checkout solution, connected account types, and charge types, refer to Create a charge.
連結アカウントの決済手段を有効にする推奨
必要な場合は、決済手段の情報に関する次のリソースをご覧ください。
- A guide to payment methods for help in choosing the right payment methods for your platform.
- 決済手段と利用可能な国には、決済手段と、それを利用できる国の一覧が記載されています。
- 決済手段と製品サポートの表で、選択した決済手段が使用中の Stripe 製品と決済フローで機能することを確認します。
ダッシュボードの連結アカウントの決済手段を管理するページに移動して、連結アカウントで対応する決済手段を設定します。デフォルトの設定に対する変更は、新規および既存のすべての連結アカウントに適用されます。
決済手段ごとに、次のいずれかのドロップダウンオプションを選択できます。
デフォルトで有効にする | Your connected accounts accept this payment method during checkout. Some payment methods can only be off or blocked, this is because the owners of your platform’s connected accounts must activate them in their Dashboard settings page. |
デフォルトで無効にする | Your connected accounts don’t accept this payment method during checkout. If you allow the owners of your platform’s connected accounts to manage their own payment methods in their Dashboard, however, they have the ability to turn it on. |
ブロック済み | Your connected accounts don’t accept this payment method during checkout. If you allow the owners of your platform’s connected accounts to manage their own payment methods in their Dashboard, they don’t have the option to turn it on. |
決済手段のオプション
決済手段を変更した場合は、画面下部のバーにある変更を確認をクリックし、保存して適用をクリックして、連結アカウントを更新する必要があります。
ダイアログを保存する
連結アカウントによる決済手段の管理を許可する推奨
Stripe recommends that you allow the owners of your platform’s connected accounts to customize their own payment methods from the Dashboard. If you enable this option, then each connected account with Stripe Dashboard access can log in to their Dashboard and view their Payment methods page. The Dashboard displays the set of payment method defaults you applied to all new and existing connected accounts. The owners of your platform’s connected accounts can override these defaults, excluding payment methods you have blocked.
このオプションを有効にするには、アカウントのカスタマイズチェックボックスを選択します。画面下部のバーにある変更を確認をクリックし、保存して適用をクリックして、この設定を更新する必要があります。
アカウントのカスタマイズのチェックボックス
動的な決済手段を使用して Checkout を実装する必須
これまでは、Checkout セッションを定義するときに、payment_method_types
パラメーターを使用して、さまざまな決済手段に対応していたかもしれません。ダッシュボードで決済手段の管理を開始するには、組み込みからこのパラメーターを削除します。
実装から payment_method_types
パラメーターを削除すると、カードやウォレットなどの一部の決済手段は自動的に有効になります。currency
パラメーターにより、購入セッションの際に顧客に提示される決済手段が制限されます。
Stripe::Checkout::Session.create({ mode: 'payment', # Remove the payment_method_types parameter # to manage payment methods in the Dashboard payment_method_types: ['card'], line_items: [{ price_data: { # The currency parameter determines which # payment methods are used in the Checkout Session. currency: 'eur', product_data: { name: 'T-shirt', }, unit_amount: 2000, }, quantity: 1, }], success_url: 'https://example.com/success', cancel_url: 'https://example.com/cancel', })
Checkout で配送先住所の収集を有効にする推奨
配送先住所を収集する場合は、Checkout セッションを作成するときに、配送可能な国を定義する必要があります。shipping_address_collection.allowed_countries
パラメーターで、2 文字の ISO 国名コードを指定してください。
必要に応じて、shipping_options
パラメーター使用して配送料金を追加することもできます。
Afterpay または Clearpay を使用している場合は配送先住所を収集する必要がありますが、これらの決済手段で配送料金を指定する必要はありません。
注
Checkout の決済手段として Afterpay または Clearpay を使用するために、配送先住所を収集する必要がありますが、配送料金は不要です。
通知遅延型の決済手段を処理する (該当する場合)推奨
通知遅延型の決済手段を処理する方法については、ダッシュボードで決済手段を管理するのステップに従ってください。
組み込みをテストする推奨
Test your integration to ensure it performs as you expect. Log in to one of your test accounts and navigate to Payment methods settings to view your settings for your connected accounts. Test your checkout flow with your test API key and a test account. If a payment method you expect to be available is not available, check the payment method product support table to make sure your products and merchants are in a compatible currency and country.
Have your connected accounts with Stripe Dashboard access enable any payment methods that require setup stepsオプション
Your connected accounts with Stripe Dashboard access are able to use most payment methods by default; however, some payment methods (such as Alipay and WeChat Pay) require your users to manually activate the payment method in their Dashboard. Confirm which payment methods require manual activation using the payment method capabilities table. If the Available by default column reads no, the payment method requires manual activation.
プラットフォームの連結アカウントの所有者に対して決済手段の管理を許可する場合は、これらの決済手段をダッシュボードから有効にするように指示します。
決済手段のカスタマイズ
If you don’t allow the owners of your platform’s connected accounts to customize payment methods, then instruct them to visit their manual settings page.
決済手段の手動設定
ベータ
The embedded payment method settings component allows connected accounts to configure the payment methods they offer at checkout without the need to access the Stripe Dashboard. Request access and learn how to integrate with Payment Method Configurations.