Class CheckoutComboAction

java.lang.Object
org.apache.struts.action.Action

public class CheckoutComboAction extends CheckoutAction
Struts action class for submissions from the combo form during checkout. Used for requests to "/CheckoutCombo.do".

The execute method of this class first clears the session's "shippingAndTaxesProcessed" attribute in case a new shipping method has been selected. It then runs ActionUtils.findCheckoutScreen(BaseForm) to verifiy that the user has made it this far in the checkout process. Finally, it invokes CheckoutAction.processCheckoutAddresses(BaseForm) to process the checkout addresses, shipping, and taxes, followed by CheckoutAction.processCheckoutPayment(BaseForm) to process the payment information.

Author:
David Tobey
  • Field Details

    • log

      static org.apache.commons.logging.Log log
  • Constructor Details

    • CheckoutComboAction

      public CheckoutComboAction()
  • Method Details

    • execute

      public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
      Description copied from class: CheckoutAction
      Forwards the user to the appropriate checkout screen based on the status of the session and the store's database settings.
      Overrides:
      execute in class CheckoutAction
      Throws:
      Exception