Interface
CompleteOrderInterface
Magento\PaymentServicesPaypal\Api\CompleteOrderInterface
What it does
This interface defines methods for completing PayPal payment orders in Magento 2.
Developers use it to place orders via REST API or GraphQL after payment authorization, synchronizing quote data and converting it to a finalized order.
It's essential when integrating PayPal Payment Services checkout flow.
Public Methods
- execute()
- syncAndPlaceOrder()