Log in
Model

SetPaymentAndPlaceOrder

Magento\QuoteGraphQl\Model\Resolver\SetPaymentAndPlaceOrder

What it does

This GraphQL resolver handles the combined operation of setting a payment method on a cart and immediately placing the order.

It's deprecated in favor of using separate setPaymentMethodOnCart and placeOrder mutations, which provide better flexibility and error handling.

Developers would historically use this when implementing a one-step checkout flow via GraphQL.

Public Methods

  • resolve()