HTTP JSON Map-Based Event Object

When an event handler for a payment gateway that extends the HTTPMapBasedPaymentGateway class is registered it receives a HttpMapBasedPaymentGatewayEvent event type.

This includes the fields that are included on the base event object and the additions described in HttpMapBasedPaymentGatewayEvent Additions.

Table 1. HttpMapBasedPaymentGatewayEvent Additions
Field Description Before Send to Gateway Response from Gateway
httpHeaders This is theorg.springframework.http.HttpHeaders object that is sent with the request or has been returned from the response. Yes Yes
url This is the URL to which the request is being or has been sent. Yes Yes
requestMap The Map<String, String> of fields that is sent to the payment gateway. Yes Yes
responseMap The Map<String, String> of fields that has been returned from the payment gateway. No Yes

This is used for the PayFort, RomCard and FOO Masterpass payment gateways.