Interface PaymentTransactionExecutionProvider
-
- All Known Implementing Classes:
ExternalPaymentTransactionExecutionProvider
public interface PaymentTransactionExecutionProvider
Provider for interfacing with a PaymentTransactionService's APIs to execute payment transactions.- Author:
- Chris Kittrell (ckittrell)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactionExecutionResponse
authorizeAndCapturePayment(String paymentId, Integer paymentVersion, TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
TransactionExecutionResponse
authorizePayment(String paymentId, Integer paymentVersion, TransactionExecutionRequest request, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
TransactionExecutionResponse
lookup3DSTransactionResult(String paymentId, String requestId, String lockToken, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Looks up the 3DS transaction results from the gateway.
-
-
-
Method Detail
-
authorizePayment
TransactionExecutionResponse authorizePayment(String paymentId, Integer paymentVersion, TransactionExecutionRequest request, @Nullable String lockToken, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
authorizeAndCapturePayment
TransactionExecutionResponse authorizeAndCapturePayment(String paymentId, Integer paymentVersion, TransactionExecutionRequest request, @Nullable String lockToken, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
lookup3DSTransactionResult
TransactionExecutionResponse lookup3DSTransactionResult(String paymentId, String requestId, @Nullable String lockToken, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Looks up the 3DS transaction results from the gateway. If the results are present in the payment gateway, but not in Payment Transaction Services, then record the results; otherwise, return the existing transaction results.- Parameters:
paymentId
- the id of the payment that contains a reference to the required 3DS transactionrequestId
- The id representing this request to checkoutlockToken
- the token that owns the payment lockcontextInfo
- context information around sandbox and multitenant state
-
-