Log in
Model

CompleteOrder

Magento\PaymentServicesPaypal\Model\Api\CompleteOrder

What it does

This class handles the completion of PayPal orders in Magento 2's Payment Services integration.

Developers use this class to finalize orders by synchronizing PayPal payment data with Magento quotes, updating shipping/billing addresses, and placing the actual order.

It provides both REST API and GraphQL endpoints for order completion workflows.

Public Methods

  • execute()
  • syncAndPlaceOrder()