com.softslate.commerce.customer.payment.google
Class GoogleCheckoutAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by com.softslate.commerce.customer.core.BaseAction
          extended by com.softslate.commerce.customer.payment.google.GoogleCheckoutAction

public class GoogleCheckoutAction
extends BaseAction

Action class to handle a request from the user to use Google Checkout to checkout. Corresponds to the url "/GoogleCheckoutAction.do". As required by Google Checkout, users can choose to use Google Checkout in two locations: on the cart screen, and on the checkout payment screen. In either case, this action is executed, it calls google checkout payment processor GoogleCheckoutProcessor

The execute method of this class invokes GoogleCheckoutProcessor.processSetExpressCheckout(Map), or whatever class is defined in the "activePaymentProcessors" setting that corresponds to the googleCheckoutForm.jsp template, to communicate with PayPal.

Author:
ajain

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
GoogleCheckoutAction()
           
 
Method Summary
 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)
           
 java.lang.String lookUpGoogleProcessorName()
           
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

GoogleCheckoutAction

public GoogleCheckoutAction()
Method Detail

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 java.lang.Exception
Overrides:
execute in class org.apache.struts.action.Action
Throws:
java.lang.Exception

lookUpGoogleProcessorName

public java.lang.String lookUpGoogleProcessorName()


Copyright © SoftSlate, LLC 2003–2005