public interface OrderPaymentConfirmationStrategy
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.| Modifier and Type | Method and Description |
|---|---|
PaymentResponseDTO |
confirmPendingTransaction(PaymentTransaction tx,
ProcessContext<CheckoutSeed> context)
Strategy to determine how to "confirm" a PENDING OrderPayment post-checkout
|
PaymentResponseDTO |
confirmTransaction(PaymentTransaction tx,
ProcessContext<CheckoutSeed> context)
Strategy to determine how to "confirm" an OrderPayment at checkout
|
PaymentResponseDTO confirmTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) throws PaymentException, WorkflowException, CheckoutException
PaymentResponseDTO confirmPendingTransaction(PaymentTransaction tx, ProcessContext<CheckoutSeed> context) throws PaymentException, WorkflowException, CheckoutException
Copyright © 2019. All rights reserved.