public interface PaymentGatewayRollbackService
This API allows each module to provide its own implementation for rollback. Each module needs to implement this if for some reason the checkout workflow fails after payments have been finalized and the submitted transaction needs to rollback.
| Modifier and Type | Method and Description |
|---|---|
PaymentResponseDTO |
rollbackAuthorize(PaymentRequestDTO transactionToBeRolledBack) |
PaymentResponseDTO |
rollbackAuthorizeAndCapture(PaymentRequestDTO transactionToBeRolledBack) |
PaymentResponseDTO |
rollbackCapture(PaymentRequestDTO transactionToBeRolledBack) |
PaymentResponseDTO |
rollbackRefund(PaymentRequestDTO transactionToBeRolledBack) |
PaymentResponseDTO rollbackAuthorize(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException
PaymentExceptionPaymentResponseDTO rollbackCapture(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException
PaymentExceptionPaymentResponseDTO rollbackAuthorizeAndCapture(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException
PaymentExceptionPaymentResponseDTO rollbackRefund(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException
PaymentExceptionCopyright © 2022. All rights reserved.