Skip to main content

CheckoutComplete

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.

type CheckoutComplete {
order: Order
confirmationNeeded: Boolean!
confirmationData: JSONString
checkoutErrors: [CheckoutError!]! @deprecated
errors: [CheckoutError!]!
}

Fields

CheckoutComplete.order ● Order object

Placed order.

CheckoutComplete.confirmationNeeded ● Boolean! non-null scalar

Set to true if payment needs to be confirmed before checkout is complete.

CheckoutComplete.confirmationData ● JSONString scalar

Confirmation data used to process additional authorization steps.

CheckoutComplete.checkoutErrors ● [CheckoutError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

CheckoutComplete.errors ● [CheckoutError!]! non-null object

Returned by

checkoutComplete mutation


Was this page helpful?