public class GlobalCollectBaseAction extends BaseGatewayAction
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log
The
Log instance for this application. |
protected static int |
RET0 |
protected static java.lang.String |
RET0_DESC |
protected static int |
RET1 |
protected static java.lang.String |
RET1_DESC |
protected static java.lang.String |
RET3_DESC |
protected static int |
RET4 |
protected static java.lang.String |
RET4_DESC |
enableJsonExceptionHandling, exception, requiresLoginACTION_CONFIRM_ORDER, ACTION_CUSTOMER_LOGIN, ACTION_ENTER_CHECKOUT, ACTION_NEW_CUSTOMER_VISIT, ACTION_PAYMENT_METHOD_SELECTED, ACTION_PRODUCT_VIEWED, ACTION_REMOVE_FROM_CART, AGREED_COOKIES, appEng, COOKIE_MAX_AGE_IN_SECS, CUSTOMER_LOCALE, CUSTOMER_NAME, CUSTOMER_UUID, GUEST_CUSTOMER_ID, KKLOGIN, MY_ACCOUNT_URL, SEO_DELIM, SEO_DIRECTORY, SEO_OFF, SEO_PARAMETERS, SEO_PRODS_FOR_MANU, SEO_PRODS_FOR_MANU_CODE, SEO_SEARCH_BY_MANU_BY_LINK, SEO_SEARCH_BY_MANU_BY_LINK_CODE, SEO_SEL_CAT, SEO_SEL_CAT_CODE, SEO_SEL_PROD, SEO_SEL_PROD_CODE, SEO_TYPE, SEO_TYPE_LENGTH, strutsSession, TAG_BIRTH_DATE, TAG_CART_TOTAL, TAG_CATEGORIES_TIME_VIEWED, TAG_CATEGORIES_VIEWED, TAG_COUNTRY_CODE, TAG_IS_MALE, TAG_LOGIN_DATE, TAG_MANUFACTURERS_TIME_VIEWED, TAG_MANUFACTURERS_VIEWED, TAG_ORDER_PAGE_SIZE, TAG_PROD_PAGE_SIZE, TAG_PRODUCTS_IN_CART, TAG_PRODUCTS_IN_WISHLIST, TAG_PRODUCTS_TIME_IN_CART, TAG_PRODUCTS_TIME_IN_WISHLIST, TAG_PRODUCTS_TIME_VIEWED, TAG_PRODUCTS_VIEWED, TAG_REVIEW_PAGE_SIZE, TAG_SEARCH_STRING, TAG_WISHLIST_TOTAL, WELCOME| Constructor and Description |
|---|
GlobalCollectBaseAction() |
| Modifier and Type | Method and Description |
|---|---|
protected com.konakart.appif.IpnHistoryIf |
clearIpnHistory(com.konakart.appif.IpnHistoryIf in)
Clears the IpnHistory object
|
protected void |
customizeConnection(java.net.HttpURLConnection connection,
com.konakart.appif.PaymentDetailsIf pd,
java.util.List<com.konakart.appif.NameValueIf> paramList)
Add things specific to GlobalCollect to the connection
|
protected java.lang.String |
getModuleCodeForIpnRecord(com.konakart.appif.PaymentDetailsIf pd)
Return a ModuleCode to go in the IpnHistory record
|
protected java.lang.String |
getResultDescription(java.lang.String desc)
Use this to truncate the result description so that it fits in the database column OK
|
protected java.lang.String |
getTxTypeForIpnRecord(com.konakart.appif.PaymentDetailsIf pd)
Return a TransactionType to go in the IpnHistory record
|
protected java.util.Map<java.lang.String,java.lang.String> |
parseGlobaLCollectResponseToMap(java.lang.String gatewayResp,
com.konakart.appif.KKEngIf eng) |
protected void |
setupResponseForTemporaryRedirect(javax.servlet.http.HttpServletResponse response)
Common code for setting up the redirect response.
|
addParameters, customizeConnection, getCustomerIPAddress, getData, getException, getGatewayRequest, getLogFileDirectory, getParameterFromPaymentDetails, getProxy, handleException, hashParameters, isEnableJsonExceptionHandling, postData, postData, saveIPNrecord, saveIPNrecord, sendOrderConfirmationMail, sendOrderConfirmationMail, sendPaymentData, setEnableJsonExceptionHandling, setException, translatePaymentInstrumentTypePaymentModuleSubCode, validateOrderchangeSession, checkSSL, escapeFormInput, getBaseURL, getCustomerEvent, getForward, getJspEng, getKKAppEng, getKKCookie, getKKCookie, getRedirectURL, insertCustomerEvent, insertCustomerEvent, insertCustomerEvent, insertCustomerEvent, insertCustomerEvent, kkURLEncode, loggedIn, loggedIn, loggedIn, login, manageCookieLogout, noNull, setJspEng, setKKCookie, setKKCookie, setServletRequest, setSession, setupResponseForSEORedirect, setupResponseForSSLRedirect, updateRecentlyViewedProductsaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected org.apache.commons.logging.Log log
Log instance for this application.protected static final int RET0
protected static final java.lang.String RET0_DESC
protected static final int RET1
protected static final java.lang.String RET1_DESC
protected static final java.lang.String RET3_DESC
protected static final int RET4
protected static final java.lang.String RET4_DESC
protected void customizeConnection(java.net.HttpURLConnection connection,
com.konakart.appif.PaymentDetailsIf pd,
java.util.List<com.konakart.appif.NameValueIf> paramList)
customizeConnection in class BaseGatewayActionconnection - the HTTP connection objectpd - the Payment DetailsparamList - Additional parameters (typically credit card details but can also be any
miscellaneous extra parameters that may be required)protected java.util.Map<java.lang.String,java.lang.String> parseGlobaLCollectResponseToMap(java.lang.String gatewayResp,
com.konakart.appif.KKEngIf eng)
throws java.lang.Exception
gatewayResp - the gatewayRespeng - the KonaKart enginejava.lang.Exception - an unexpected exceptionprotected com.konakart.appif.IpnHistoryIf clearIpnHistory(com.konakart.appif.IpnHistoryIf in)
in - the inprotected java.lang.String getResultDescription(java.lang.String desc)
desc - the result description (which may be too long)protected void setupResponseForTemporaryRedirect(javax.servlet.http.HttpServletResponse response)
response - the responseprotected java.lang.String getModuleCodeForIpnRecord(com.konakart.appif.PaymentDetailsIf pd)
pd - the pdprotected java.lang.String getTxTypeForIpnRecord(com.konakart.appif.PaymentDetailsIf pd)
pd - the pdCopyright © 2018 DS Data Systems UK Ltd.