Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Make checkoutComplete description more precise (#13669)
Krzysztof Waliczeka074977f80b9
diff --git a/saleor/graphql/checkout/mutations/checkout_complete.py b/saleor/graphql/checkout/mutations/checkout_complete.pyindex cbd67a0864..76f9d3b0ac 100644--- a/saleor/graphql/checkout/mutations/checkout_complete.py+++ b/saleor/graphql/checkout/mutations/checkout_complete.py@@ -102,12 +102,16 @@ class CheckoutComplete(BaseMutation, I18nMixin):class Meta:description = (- "Completes the checkout. As a result a new order is created and "- "a payment charge is made. This action requires a successful "- "payment before it can be performed. "- "In case additional confirmation step as 3D secure is required "- "confirmationNeeded flag will be set to True and no order created "- "until payment is confirmed with second call of this mutation."+ "Completes the checkout. As a result a new order is created. "+ "The mutation allows to create the unpaid order when setting "+ "`orderSettings.allowUnpaidOrders` for given `Channel` is set to `true`. "+ "When `orderSettings.allowUnpaidOrders` is set to `false`, checkout can "+ "be completed only when attached `Payment`/`TransactionItem`s fully cover "+ "the checkout's total. "+ "When processing the checkout with `Payment`, in case of required "+ "additional confirmation step like 3D secure, the `confirmationNeeded` "+ "flag will be set to True and no order will be created until payment is "+ "confirmed with second call of this mutation.")doc_category = DOC_CATEGORY_CHECKOUTerror_type_class = CheckoutErrordiff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 3e0d5ab0db..2800a70a5e 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -17028,7 +17028,7 @@ type Mutation {): CheckoutBillingAddressUpdate @doc(category: "Checkout") @webhookEventsInfo(asyncEvents: [CHECKOUT_UPDATED], syncEvents: [])"""- Completes the checkout. As a result a new order is created and a payment charge is made. This action requires a successful payment before it can be performed. In case additional confirmation step as 3D secure is required confirmationNeeded flag will be set to True and no order created until payment is confirmed with second call of this mutation.+ Completes the checkout. As a result a new order is created. The mutation allows to create the unpaid order when setting `orderSettings.allowUnpaidOrders` for given `Channel` is set to `true`. When `orderSettings.allowUnpaidOrders` is set to `false`, checkout can be completed only when attached `Payment`/`TransactionItem`s fully cover the checkout's total. When processing the checkout with `Payment`, in case of required additional confirmation step like 3D secure, the `confirmationNeeded` flag will be set to True and no order will be created until payment is confirmed with second call of this mutation.Triggers the following webhook events:- SHIPPING_LIST_METHODS_FOR_CHECKOUT (sync): Optionally triggered when cached external shipping methods are invalid.@@ -26338,7 +26338,7 @@ input CheckoutAddressValidationRules @doc(category: "Checkout") {}"""-Completes the checkout. As a result a new order is created and a payment charge is made. This action requires a successful payment before it can be performed. In case additional confirmation step as 3D secure is required confirmationNeeded flag will be set to True and no order created until payment is confirmed with second call of this mutation.+Completes the checkout. As a result a new order is created. The mutation allows to create the unpaid order when setting `orderSettings.allowUnpaidOrders` for given `Channel` is set to `true`. When `orderSettings.allowUnpaidOrders` is set to `false`, checkout can be completed only when attached `Payment`/`TransactionItem`s fully cover the checkout's total. When processing the checkout with `Payment`, in case of required additional confirmation step like 3D secure, the `confirmationNeeded` flag will be set to True and no order will be created until payment is confirmed with second call of this mutation.Triggers the following webhook events:- SHIPPING_LIST_METHODS_FOR_CHECKOUT (sync): Optionally triggered when cached external shipping methods are invalid.