@Controller(value="blSamplePaymentGatewayCustomerPaymentOMSController")
@RequestMapping(value="/sample-customer-payment-oms")
public class SamplePaymentGatewayCustomerPaymentOMSController
extends org.broadleafcommerce.common.web.payment.controller.CustomerPaymentGatewayAbstractController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CUSTOMER_PAYMENT_ERROR |
protected static String |
customerPaymentErrorMessage |
protected static String |
GATEWAY_CONTEXT_KEY |
protected static org.apache.commons.logging.Log |
LOG |
protected SamplePaymentGatewayConfiguration |
paymentGatewayConfiguration |
protected org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseService |
paymentGatewayWebResponseService |
| Constructor and Description |
|---|
SamplePaymentGatewayCustomerPaymentOMSController() |
| Modifier and Type | Method and Description |
|---|---|
String |
errorEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
Map<String,String> pathVars) |
org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration |
getConfiguration() |
String |
getCustomerPaymentErrorRedirect() |
String |
getCustomerPaymentViewRedirect(String customerPaymentId) |
org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseService |
getWebResponseService() |
void |
handleProcessingException(Exception e,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
String |
returnEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
Map<String,String> pathVars) |
applyCustomerTokenToProfile, createCustomerPaymentprotected static final org.apache.commons.logging.Log LOG
protected static final String GATEWAY_CONTEXT_KEY
protected static final String CUSTOMER_PAYMENT_ERROR
protected static String customerPaymentErrorMessage
protected org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseService paymentGatewayWebResponseService
protected SamplePaymentGatewayConfiguration paymentGatewayConfiguration
public SamplePaymentGatewayCustomerPaymentOMSController()
public org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseService getWebResponseService()
getWebResponseService in class org.broadleafcommerce.common.web.payment.controller.CustomerPaymentGatewayAbstractControllerpublic org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration getConfiguration()
getConfiguration in class org.broadleafcommerce.common.web.payment.controller.CustomerPaymentGatewayAbstractControllerpublic String getCustomerPaymentViewRedirect(String customerPaymentId)
getCustomerPaymentViewRedirect in class org.broadleafcommerce.common.web.payment.controller.CustomerPaymentGatewayAbstractControllerpublic String getCustomerPaymentErrorRedirect()
getCustomerPaymentErrorRedirect in class org.broadleafcommerce.common.web.payment.controller.CustomerPaymentGatewayAbstractControllerpublic void handleProcessingException(Exception e, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
handleProcessingException in class org.broadleafcommerce.common.web.payment.controller.CustomerPaymentGatewayAbstractControllerorg.broadleafcommerce.common.vendor.service.exception.PaymentException@RequestMapping(value="/return",
method=POST)
public String returnEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
Map<String,String> pathVars)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
org.broadleafcommerce.common.vendor.service.exception.PaymentException@RequestMapping(value="/error",
method=GET)
public String errorEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
Map<String,String> pathVars)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
org.broadleafcommerce.common.vendor.service.exception.PaymentExceptionCopyright © 2016. All rights reserved.