StripeElixir.Params.Checkout.SessionCreateParams.Permissions
(stripe_elixir v0.1.0)
Copy Markdown
View Source
Nested parameters.
Summary
Types
@type t() :: %StripeElixir.Params.Checkout.SessionCreateParams.Permissions{ update_shipping_details: String.t() | nil }
update_shipping_details- Determines which entity is allowed to update the shipping details.
Default is client_only. Stripe Checkout client will automatically update the shipping details. If set to server_only, only your server is allowed to update the shipping details.
When set to server_only, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API. Possible values: client_only, server_only.