Skip to main content

CheckoutSettingsInput Input Type

No description

input CheckoutSettingsInput {
useLegacyErrorFlow: Boolean @deprecated
automaticallyCompleteFullyPaidCheckouts: Boolean @deprecated
automaticCompletion: CheckoutAutoCompleteInput
allowLegacyGiftCardUse: Boolean
}

Fields

CheckoutSettingsInput.useLegacyErrorFlow ● Boolean deprecated scalar miscellaneous

DEPRECATED

No longer supported

Default true. Determines if the checkout mutations should use legacy error flow. In legacy flow, all mutations can raise an exception unrelated to the requested action - (e.g. out-of-stock exception when updating checkoutShippingAddress.) If false, the errors will be aggregated in checkout.problems field. Some of the problems can block the finalizing checkout process. The legacy flow will be removed in Saleor 4.0. The flow with checkout.problems will be the default one.

CheckoutSettingsInput.automaticallyCompleteFullyPaidCheckouts ● Boolean deprecated scalar miscellaneous

DEPRECATED

Use automatic_completion instead.

Default false. Determines if the paid checkouts should be automatically completed. This setting applies only to checkouts where payment was processed through transactions.When enabled, the checkout will be automatically completed once the checkout authorize_status reaches FULL. This occurs when the total sum of charged and authorized transaction amounts equals or exceeds the checkout's total amount.

Added in Saleor 3.20

CheckoutSettingsInput.automaticCompletion ● CheckoutAutoCompleteInput input checkout

Settings for automatic completion of fully paid checkouts.

Added in Saleor 3.22

CheckoutSettingsInput.allowLegacyGiftCardUse ● Boolean scalar miscellaneous

Default to true. Determines whether gift cards can be attached to a Checkout via addPromoCode mutation. Usage of this mutation with gift cards is deprecated.

Added in Saleor 3.23 (unreleased)

Member Of

ChannelCreateInput input ● ChannelUpdateInput input