public interface PaymentGatewayTransactionService
This is a decoupled interface that provides the basic functions needed to create the normal BILLABLE Credit Card Transactions
The intention of these method implementations are to make a Server to Server API call. Depending on the Gateway implementation, the overall goal and meaning of the method may vary: For example, a module can implement the AUTHORIZE method:
Please check the documentation of the implementing module to determine intended goal.
Note: in the case where a gateway doesn't support confirming the transaction before it is submitted (i.e. paymentGatewayConfigurationService.completeCheckoutOnCallback() == true) The PaymentGatewayWebResponseService will handle translation of the final transaction response from the gateway. There is no need to re-call this service if the gateway doesn't support confirming the transaction.
PaymentGatewayWebResponseService}
Modifier and Type | Method and Description |
---|---|
PaymentResponseDTO |
authorize(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
authorizeAndCapture(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
capture(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
refund(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
reverseAuthorize(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO |
voidPayment(PaymentRequestDTO paymentRequestDTO) |
PaymentResponseDTO authorize(PaymentRequestDTO paymentRequestDTO) throws PaymentException
PaymentException
PaymentResponseDTO capture(PaymentRequestDTO paymentRequestDTO) throws PaymentException
PaymentException
PaymentResponseDTO authorizeAndCapture(PaymentRequestDTO paymentRequestDTO) throws PaymentException
PaymentException
PaymentResponseDTO reverseAuthorize(PaymentRequestDTO paymentRequestDTO) throws PaymentException
PaymentException
PaymentResponseDTO refund(PaymentRequestDTO paymentRequestDTO) throws PaymentException
PaymentException
PaymentResponseDTO voidPayment(PaymentRequestDTO paymentRequestDTO) throws PaymentException
PaymentException
Copyright © 2022. All rights reserved.