public class BroadleafPaymentInfoController extends AbstractCheckoutController
| Modifier and Type | Field and Description |
|---|---|
protected FulfillmentGroupService |
fulfillmentGroupService |
protected SavedPaymentService |
savedPaymentService |
ACTIVE_STAGE, addressService, baseConfirmationView, billingInfoFormValidator, cartPageRedirect, cartStateService, checkoutControllerExtensionManager, checkoutPageRedirect, checkoutService, checkoutStagesPartial, checkoutView, countryService, countrySubdivisionService, customerAddressService, customerPaymentService, customerService, dtoTranslationService, fulfillmentOptionService, giftCardInfoFormValidator, initBinderService, isoService, multishipAddAddressFormValidator, orderInfoFormValidator, orderMultishipOptionService, orderPaymentService, orderService, paymentGatewayCheckoutService, paymentInfoFormValidator, phoneService, shippingInfoFormValidator, stateService| Constructor and Description |
|---|
BroadleafPaymentInfoController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTemporaryOrderPayment(PaymentInfoForm paymentForm,
Order cart) |
protected void |
copyCustomerPaymentAddressToBillingAddress(PaymentInfoForm paymentForm) |
protected void |
copyShippingAddressToBillingAddress(Order order,
PaymentInfoForm paymentInfoForm)
This method will copy the shipping address of the first fulfillment group on the order
to the billing address on the PaymentInfoForm that is passed in.
|
protected void |
preProcessBillingAddress(PaymentInfoForm paymentForm,
Order cart) |
String |
saveBillingAddress(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
PaymentInfoForm paymentForm,
org.springframework.validation.BindingResult result)
Processes the request to save a billing address.
|
String |
savePaymentInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.Model model,
PaymentInfoForm paymentForm,
org.springframework.validation.BindingResult result)
Processes the request to save an
OrderPayment based on an existing or new CustomerPayment. |
getBaseConfirmationView, getCartPageRedirect, getCheckoutPageRedirect, getCheckoutStagesPartial, getCheckoutView, getConfirmationView, initBinder, populateModelWithReferenceDataaddDeepLink, getContextPath, isAjaxRequest, jsonResponseprotected SavedPaymentService savedPaymentService
protected FulfillmentGroupService fulfillmentGroupService
public String savePaymentInfo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, PaymentInfoForm paymentForm, org.springframework.validation.BindingResult result) throws PricingException, ServiceException
OrderPayment based on an existing or new CustomerPayment.
Note: this default Broadleaf implementation will create a CustomerPayment if one does not exist,
and copy it's data to a new OrderPayment.request - response - model - paymentForm - ServiceExceptionPricingExceptionpublic String saveBillingAddress(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.ui.Model model, PaymentInfoForm paymentForm, org.springframework.validation.BindingResult result) throws PricingException, ServiceException
request - response - model - paymentForm - ServiceExceptionPricingExceptionprotected void preProcessBillingAddress(PaymentInfoForm paymentForm, Order cart)
protected void copyShippingAddressToBillingAddress(Order order, PaymentInfoForm paymentInfoForm)
protected void copyCustomerPaymentAddressToBillingAddress(PaymentInfoForm paymentForm)
protected void addTemporaryOrderPayment(PaymentInfoForm paymentForm, Order cart)
Copyright © 2025. All rights reserved.