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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretrieveHostedEndpoint(jakarta.servlet.http.HttpServletRequest request)
-
Field Details
-
paymentGatewayConfiguration
-
-
Constructor Details
-
SampleMockHostedProcessorController
public SampleMockHostedProcessorController()
-
-
Method Details
-
retrieveHostedEndpoint
@RequestMapping(value="/hosted/sample-checkout", method=POST) @ResponseBody public String retrieveHostedEndpoint(jakarta.servlet.http.HttpServletRequest request)
-