public interface PaymentGatewayRollbackService extends PaymentGatewayTypeAware
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 |
|---|---|
default PaymentResponse |
rollbackAuthorize(PaymentRequest transactionToBeRolledBack) |
default PaymentResponse |
rollbackAuthorizeAndCapture(PaymentRequest transactionToBeRolledBack) |
default PaymentResponse |
rollbackCapture(PaymentRequest transactionToBeRolledBack) |
default PaymentResponse |
rollbackRefund(PaymentRequest transactionToBeRolledBack) |
getGatewayTypedefault PaymentResponse rollbackAuthorize(PaymentRequest transactionToBeRolledBack) throws PaymentException
PaymentExceptiondefault PaymentResponse rollbackCapture(PaymentRequest transactionToBeRolledBack) throws PaymentException
PaymentExceptiondefault PaymentResponse rollbackAuthorizeAndCapture(PaymentRequest transactionToBeRolledBack) throws PaymentException
PaymentExceptiondefault PaymentResponse rollbackRefund(PaymentRequest transactionToBeRolledBack) throws PaymentException
PaymentExceptionCopyright © 2021. All rights reserved.