決済の動作をカスタマイズする
決済プロセスの動作をカスタマイズして、購入完了率と売上を向上させます。
送信ボタンをカスタマイズする
Checkout がお客様のビジネスモデルに適合するように、1 回限りの購入に対する Checkout の送信ボタンに表示されるコピーを設定できます。
セッションで submit_
を定義します。この例 (5 ドルの寄付) では、カスタマイズされた Checkout の送信ボタンに 5 ドルを寄付と表示されます。submit_
オプションの一覧については、API リファレンスをご覧ください。
Localization and supported languages 
By default, Checkout detects the locale of the customer’s browser and displays a translated version of the page in their language, if Stripe supports it. You can override the browser locale for Checkout by passing the locale
parameter when you create a Checkout Session.
Checkout also uses the locale to format numbers and currencies. For example, when selling a product whose price is set in EUR with the locale set to auto
, a browser configured to use English (en
) would display €25.00 while one configured for German (de
) would display 25,00 €.
Link を使用して支払いの詳細を自動入力する
構築済みの Checkout ページで、Link (Stripe のワンクリック決済) を自動的に使用できます。 詳細は Checkout で Link を使用するをご覧ください。
Filter card brands 
Checkout セッションで、顧客からブロックするカードブランドを指定できます。
To block specific card brands, you can include the brands_
parameter when creating a Checkout Session. Pass an array with any of the following card brand values:
visa
mastercard
american_
express discover_
global_ network
The discover_
value encompasses all of the cards that are part of the Discover Global Network, including Discover, Diners, JCB, UnionPay, and Elo.
The following code example initializes the Checkout Session with the brands_
parameter set to ['american_
, which prevents customers from using American Express cards.
顧客が Checkout にサポート対象外のカード番号を入力すると、そのカードブランドは受け付けられないことを知らせるエラーメッセージが表示されます。

Visa (またはブロックしたカードブランド) を受け付けないことを顧客に通知するエラーが表示されます。
また、保存したカードがブロックされている場合、Link はリピーターに対しても保存済みのカードを無効にします。

Link ユーザーが保存したカードがブロックされている場合、そのカードは無効になります。
Checkout also filters cards in Apple and Google Pay wallets, customer’s saved payment methods, and networks from co-badged cards.