@Controller(value="blPayPalExpressController")
@RequestMapping(value="/paypal-express")
public class BroadleafPayPalExpressController
extends org.broadleafcommerce.common.web.payment.controller.PaymentGatewayAbstractController
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.common.payment.service.CurrentOrderPaymentRequestService |
currentOrderPaymentRequestService |
protected static String |
GATEWAY_CONTEXT_KEY |
protected static org.apache.commons.logging.Log |
LOG |
protected org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration |
paymentGatewayConfiguration |
protected org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseService |
paymentGatewayWebResponseService |
baseCartRedirect, baseConfirmationRedirect, baseErrorView, baseOrderReviewRedirect, baseRedirect, PAYMENT_PROCESSING_ERROR, paymentGatewayCheckoutService, processingErrorMessage, webResponsePrintService| Constructor and Description |
|---|
BroadleafPayPalExpressController() |
| Modifier and Type | Method and Description |
|---|---|
String |
cancelEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
Map<String,String> pathVars) |
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() |
protected org.broadleafcommerce.common.payment.dto.PaymentRequestDTO |
getCurrentOrder() |
String |
getGatewayContextKey() |
org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseService |
getWebResponseService() |
void |
handleProcessingException(Exception e,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) |
void |
handleUnsuccessfulTransaction(org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO) |
String |
redirectEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request) |
String |
returnEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
Map<String,String> pathVars) |
applyPaymentToOrder, getBaseConfirmationRedirect, getCartViewRedirect, getConfirmationViewRedirect, getErrorViewRedirect, getOrderReviewRedirect, getProcessingErrorMessage, initiateCheckout, lookupOrderNumberFromOrderId, processprotected static final org.apache.commons.logging.Log LOG
protected static final String GATEWAY_CONTEXT_KEY
protected org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseService paymentGatewayWebResponseService
protected org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration paymentGatewayConfiguration
@Autowired(required=false) protected org.broadleafcommerce.common.payment.service.CurrentOrderPaymentRequestService currentOrderPaymentRequestService
public 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.PaymentGatewayAbstractControllerorg.broadleafcommerce.common.vendor.service.exception.PaymentExceptionpublic void handleUnsuccessfulTransaction(org.springframework.ui.Model model,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
org.broadleafcommerce.common.payment.dto.PaymentResponseDTO responseDTO)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
handleUnsuccessfulTransaction in class org.broadleafcommerce.common.web.payment.controller.PaymentGatewayAbstractControllerorg.broadleafcommerce.common.vendor.service.exception.PaymentExceptionpublic String getGatewayContextKey()
getGatewayContextKey in class org.broadleafcommerce.common.web.payment.controller.PaymentGatewayAbstractControllerpublic org.broadleafcommerce.common.payment.service.PaymentGatewayWebResponseService getWebResponseService()
getWebResponseService in class org.broadleafcommerce.common.web.payment.controller.PaymentGatewayAbstractControllerpublic org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration getConfiguration()
getConfiguration in class org.broadleafcommerce.common.web.payment.controller.PaymentGatewayAbstractController@RequestMapping(value="/return",
method=GET)
public String returnEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
@PathVariable
Map<String,String> pathVars)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
returnEndpoint in class org.broadleafcommerce.common.web.payment.controller.PaymentGatewayAbstractControllerorg.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,
@PathVariable
Map<String,String> pathVars)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
errorEndpoint in class org.broadleafcommerce.common.web.payment.controller.PaymentGatewayAbstractControllerorg.broadleafcommerce.common.vendor.service.exception.PaymentException@RequestMapping(value="/cancel",
method=GET)
public String cancelEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes,
@PathVariable
Map<String,String> pathVars)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
org.broadleafcommerce.common.vendor.service.exception.PaymentException@RequestMapping(value="/redirect",
method=GET)
public String redirectEndpoint(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request)
throws org.broadleafcommerce.common.vendor.service.exception.PaymentException
org.broadleafcommerce.common.vendor.service.exception.PaymentExceptionprotected org.broadleafcommerce.common.payment.dto.PaymentRequestDTO getCurrentOrder()
Copyright © 2017. All rights reserved.