Log in
Interface

SaleOperationInterface

Magento\Payment\Model\SaleOperationInterface

What it does

This interface defines the contract for payment methods that support the 'sale' operation, which combines authorization and capture in a single transaction.

Developers implement this interface when creating payment methods that can immediately capture funds rather than requiring a separate authorization step, streamlining the payment process for scenarios where instant settlement is needed.

Public Methods

  • canSale()
  • sale()