Interface PaymentGatewayWebResponseService

All Known Implementing Classes:
AbstractPaymentGatewayWebResponseService

public interface PaymentGatewayWebResponseService

The purpose of this class, is to provide an API that will translate a web response returned from a Payment Gateway into a PaymentResponseDTO

Some payment gateways provide the ability that ensures that the transaction data is passed back to your application when a transaction is completed. Most of the gateways issue an HTML Post to return data to your server for both approved and declined transactions. This occurs even if a customer closes the browser before returning to your site, or if the payment response is somehow severed.

Many gateways will continue calling your exposed API Webhook for a certain period until a 200 Response is received. Others will forward to an error page configured through the gateway.

This is usually invoked by a gateway endpoint controller that extends PaymentGatewayAbstractController

Author:
Elbert Bautista (elbertbautista)
  • Method Summary

    Modifier and Type
    Method
    Description
    translateWebResponse(jakarta.servlet.http.HttpServletRequest request)