Interface PaymentGatewayTransactionResponseValidator

All Superinterfaces:
PaymentGatewayTypeAware

public interface PaymentGatewayTransactionResponseValidator extends PaymentGatewayTypeAware
This interface provides an extension point for payment gateway implementations to add validation to the transaction confirmation service. An example use case of this would be validating requests from the payment gateways to record transactions that were added outside the typical checkout workflow.
Author:
mariestandeven
  • Method Details

    • validateTransactionResponse

      void validateTransactionResponse(@NonNull @NonNull GatewayTransactionResponse transactionResponse)
      Validates that the transaction results are valid and were sent by the payment gateway.
      Parameters:
      transactionResponse - The transaction response to be validated