redirectToCheckout メソッドのサポートを削除互換性に関わる変更
新機能
stripe.redirectToCheckout メソッドは Stripe.js でサポートされなくなりました。
この変更により互換性が失われる理由
クライアントのみとクライアントとサーバーの両方のインテグレーションで、stripe.
を使用できなくなりました。
影響
決済にクライアントのみの実装を使用する場合は、Payment Links および Buy Buttons に移行してください。クライアント側のリダイレクトについては、標準のリダイレクト機能 (window.
など)、またはお使いの環境で同等のメソッドを使用して、ユーザーを Checkout Session にリダイレクトしてください。
関連する変更
- Removes postal code for card payments in certain regions on Checkout and Payment Element
- Removes currency conversion field from Checkout Session object
- Updates initCheckout to be synchronous
- Adds support for collecting business and individual names in Checkout Sessions
- Adds the ability to exclude payment methods from Checkout Sessions and Payment Intents
- Adds support for setting the capture method for specific payment methods with the Checkout Sessions API
- Adds support for configuring branding settings for Checkout Sessions
- Enables specifying units of measurement for Products