Przejdź do głównej zawartości

Interface: CartCompleteOutcome

cartComplete result — order is the Order created from the cart, non-null on success (complete() throws via assertNoUserErrors before returning if the mutation reported userErrors). The cart is NOT returned: after completion it is CONVERTED/locked, so drop your local cart and work with the Order. The Order carries canCreatePayment + paymentMethodType for deciding the post-completion payment flow.

Properties

order

order: OrderFragment


warnings

warnings: CartWarningFragment[]