Class SampleMockHostedProcessorController

java.lang.Object
org.broadleafcommerce.vendor.sample.web.controller.mock.processor.SampleMockHostedProcessorController

@Controller("blSampleMockHostedProcessorController") public class SampleMockHostedProcessorController extends Object
This is a sample implementation of a Hosted Payment Gateway Processor. This mimics the flow of a real hosted service like PayPal Express Checkout. In order to use this sample controller, you will need to component scan the package "org.broadleafcommerce". This should NOT be used in production, and is meant solely for demonstration purposes only.
Author:
Elbert Bautista (elbertbautista)
  • Field Details

  • Constructor Details

    • SampleMockHostedProcessorController

      public SampleMockHostedProcessorController()
  • Method Details

    • retrieveHostedEndpoint

      @RequestMapping(value="/hosted/sample-checkout", method=POST) @ResponseBody public String retrieveHostedEndpoint(jakarta.servlet.http.HttpServletRequest request)