Checkout セッションに permissions パラメーターを追加しました
新規情報
Adds the permissions parameter to the Checkout Session object. This allows you to configure a property on the Session to be only be set by the server.
影響
When permissions.update_shipping_details is set to server_
, all changes to the Session’s shipping details must go through the Update Checkout Session method.
With this change, you can support dynamically updating shipping options in Checkout or perform your own shipping address validation.