Processor
Magento\Sales\Model\Order\Payment\Processor
What it does
The Payment Processor class acts as a central coordinator for processing payment operations in Magento 2 orders.
Developers use this class to execute common payment actions like authorization, capture, order placement, and capture notifications by delegating to specialized operation classes.
It provides a unified interface for handling different payment workflows while maintaining separation of concerns.
Public Methods
- authorize()
- capture()
- order()
- registerCaptureNotification()