Class PayflowLinkProcessor

  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
          extended by com.softslate.commerce.businessobjects.payment.BasePaymentProcessor
              extended by com.softslate.commerce.businessobjects.payment.PayflowLinkProcessor
All Implemented Interfaces:
BusinessObject, BusinessProcessor, PaymentProcessor

public class PayflowLinkProcessor
extends BasePaymentProcessor
implements PaymentProcessor

Processes a payment in the store for a given user's cart. This implementation processes a request through PayPal Payflow Link. Phone numbers and emails are taken out of the request as those are validated by PayPal and may cause inconvenient errors. Use comment1 and comment2 to send emails and phone numbers instead. If the transaction is declined a result code of 10000 is returned, otherwise the result code sent back from PayPal is returned.

David Tobey
See Also:

Field Summary
(package private) static org.apache.commons.logging.Log log
Constructor Summary
Method Summary
 java.util.Map process(java.util.Map parameters)
          Subclasses must override this method to execute processing.
Methods inherited from class com.softslate.commerce.businessobjects.payment.BasePaymentProcessor
findPaymentWithLiveInfo, processPayment
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getProductIDs, getSettings, getUser, initialize, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, updateOrderTotals, updateOrderTotals, utils
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.payment.PaymentProcessor
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject

Field Detail


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


public PayflowLinkProcessor()
Method Detail


public java.util.Map process(java.util.Map parameters)
                      throws java.lang.Exception
Description copied from class: BasePaymentProcessor
Subclasses must override this method to execute processing. Called by BasePaymentProcessor.processPayment(Map).

Specified by:
process in class BasePaymentProcessor
parameters - A Map containing the values of the user's submitted payment information.
A Map containing a least one key named "resultCode", which contains a String parsable into an int, representing the results of the processing. 0 for the resultCode indicates success. Optionally, the Map may include additional keys, such as "resultMessage", a string describing the results of the processing.

Copyright © SoftSlate, LLC 2003–2005