public class Paypal extends BasePaymentModule implements PaymentInterface
| Modifier and Type | Class and Description |
|---|---|
protected class |
Paypal.StaticData
Used to store the static data of this module
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODULE_PAYMENT_PAYPAL_TEST_MODE
If set to true, the module will use the PayPal sandbox.
|
logbasePackage, debugStackTraceExclusions| Modifier and Type | Method and Description |
|---|---|
PaymentDetails |
getPaymentDetails(Order order,
PaymentInfo info)
Return a payment details object for PayPal IPN module
|
PaymentDetails |
getPaymentDetailsCustom(java.lang.String sessionId,
NameValueIf[] parameters)
Used by the action class to get a session id.
|
boolean |
isAvailable()
Returns true or false
|
void |
setStaticVariables()
Sets some static variables during setup
|
addParameters, checkZone, getCustomerSessionIdByCustomerId, getFirstAndLastNamesFromAddress, getIPAddress, getNewCriteria, hashParameters, isGeoZoneMappedToCountry, isMultiStoreShareCustomers, splitNameIntoFirstAndLastNames, splitStreetAddressIntoNumberAndStreetgetBasketMgr, getCatMgr, getConfigMgr, getConfiguration, getConfigurationValue, getConfigurationValueAsBigDecimalWithDefault, getConfigurationValueAsBool, getConfigurationValueAsIntWithDefault, getCurrMgr, getCustMgr, getCustTagMgr, getDebugStackTraceExclusions, getEmailMgr, getEng, getLangMgr, getModuleClassName, getMultiStoreMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getPromMgr, getRandomText, getRandomText, getResourceBundle, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getStoreMgr, getTaxMgr, getZoneCodeForZoneName, init, isAvailable, isAvailable, isMultiStoreShareCustomersOrProducts, setDebugStackTraceExclusions, updateStaticVariablesNowpublic static final java.lang.String MODULE_PAYMENT_PAYPAL_TEST_MODE
public Paypal(KKEngIf eng) throws com.konakart.app.KKException
eng - the engcom.konakart.app.KKException - an unexpected KKException exceptionpublic void setStaticVariables()
throws com.konakart.app.KKException
setStaticVariables in interface PaymentInterfacecom.konakart.app.KKException - an unexpected KKException exceptionpublic PaymentDetails getPaymentDetails(Order order, PaymentInfo info) throws java.lang.Exception
getPaymentDetails in interface PaymentInterfaceorder - the orderinfo - the infojava.lang.Exception - an unexpected exceptionpublic PaymentDetails getPaymentDetailsCustom(java.lang.String sessionId, NameValueIf[] parameters) throws java.lang.Exception
getPaymentDetailsCustom in interface PaymentInterfacegetPaymentDetailsCustom in class BasePaymentModulesessionId - the session Idparameters - an array of name value parametersjava.lang.Exception - an unexpected exceptionpublic boolean isAvailable()
throws com.konakart.app.KKException
isAvailable in interface PaymentInterfacecom.konakart.app.KKException - an unexpected KKException exceptionCopyright © 2018 DS Data Systems UK Ltd.