Class HostedPaymentServlet

    • Constructor Detail

      • HostedPaymentServlet

        public HostedPaymentServlet()
    • Method Detail

      • executeRequest

        protected void executeRequest​(HttpServletRequest req,
                                      HttpServletResponse resp)
        Handles a payment callback from a hosted payment gateway. This servlet uses the payment log key or submit key as preference to identify the payment log that is to be updated. If the paymentLogKey or submitKey is not provided then it is assumed that the parameters are encrypted. In this case the URL path is expected to contain the organisation name where the associated payment gateway will be used to identify the payment log to be updated.
        Specified by:
        executeRequest in class BaseServlet
        Parameters:
        req - the HttpServletRequest
        resp - the HttpServletResponse