Skip to main content
Version: 3.x

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!]!
errors: [CheckoutError!]!
}

Fields

order (Order)

Placed order.

confirmationNeeded (Boolean!)

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

confirmationData (JSONString)

Confirmation data used to process additional authorization steps.

checkoutErrors ([CheckoutError!]!)

errors ([CheckoutError!]!)