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.

checkoutComplete(
checkoutId: ID!
paymentData: JSONString
poNumber: String
redirectUrl: String
storeSource: Boolean = false
userOverride: ID
): CheckoutComplete

Arguments

checkoutComplete.checkoutId ● ID! non-null scalar

Checkout ID.

checkoutComplete.paymentData ● JSONString scalar

Client-side generated data required to finalize the payment.

checkoutComplete.poNumber ● String scalar

PO Number to be used when checking out with the Purchase Order payment gateway

checkoutComplete.redirectUrl ● String scalar

URL of a view where users should be redirected to see the order details. URL in RFC 1808 format.

checkoutComplete.storeSource ● Boolean scalar

Determines whether to store the payment source for future usage.

checkoutComplete.userOverride ● ID scalar

ID of the user to override with (only available for use by Marketplace Administrators)

Type

CheckoutComplete object

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.

Was this page helpful?