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
PaymentException
PaymentResponseDTO rollbackCapture(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException
PaymentException
PaymentResponseDTO rollbackAuthorizeAndCapture(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException
PaymentException
PaymentResponseDTO rollbackRefund(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException
PaymentException
Copyright © 2022. All rights reserved.