Checkout Sessions で法人と個人名を収集するためのサポートを追加しました
新機能
Checkout Sessions にname_collection パラメータを追加します。このパラメータを使用すると、決済時に法人名 および個人の氏名をオプションまたは必須フィールドとして収集できます。
影響
Checkout Session で顧客から法人名と個人名を収集することができるようになりました。顧客の氏名、法人名、またはその両方を収集するかどうかを指定できます。また、名前フィールドをオプションまたは必須としてマークすることもできます。
変更点
アップグレード
関連する変更
- Removes postal code for card payments in certain regions on Checkout and Payment Element
- Removes currency conversion field from Checkout Session object
- Removes support for the redirectToCheckout method
- Updates initCheckout to be synchronous
- 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