Interface OrderPaymentConfirmationStrategy

All Known Implementing Classes:
OrderPaymentConfirmationStrategyImpl

public interface OrderPaymentConfirmationStrategy
Implementation to "confirm" an unconfirmed transaction.

Default implementation is to: - If it is an unconfirmed PaymentType.CREDIT_CARD, then it will attempt to either "Authorize" or "Authorize and Capture" it at this time. - If the transaction is of any other type, it will attempt to call the implementing gateway's PaymentGatewayTransactionConfirmationService.confirmTransaction(org.broadleafcommerce.common.payment.dto.PaymentRequestDTO) - If the system is configured to handle PENDING payments during a checkout, it will create that in the interim.

Author:
Elbert Bautista (elbertbautista)