Package org.compiere.model
Class PP_PayFlowPro
- java.lang.Object
-
- org.compiere.model.PaymentProcessor
-
- org.compiere.model.PP_PayFlowPro
-
- All Implemented Interfaces:
Serializable
public final class PP_PayFlowPro extends PaymentProcessor implements Serializable
Payment Processor for VeriSign PayFlow Pro. Needs Certification File (get from VeriSign)- Version:
- $Id: PP_PayFlowPro.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
- Author:
- Jorg Janke
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
RESULT_DECLINED
protected static String
RESULT_INSUFFICIENT_FUNDS
protected static String
RESULT_INVALID_EXP
protected static String
RESULT_INVALID_NO
protected static String
RESULT_OK
protected static String
RESULT_TIMEOUT_HOST
protected static String
RESULT_TIMEOUT_PROCESSOR
-
Constructor Summary
Constructors Constructor Description PP_PayFlowPro()
PayFowPro Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getVersion()
Get Versionboolean
isProcessedOK()
Payment is procesed successfullyboolean
process(String parameter)
Process Transactionboolean
processCC()
Process CreditCard (no date check)-
Methods inherited from class org.compiere.model.PaymentProcessor
connectPost, create, createPair, createPair, createPair, getConnectPostProperties, getTimeout, initialize, isEncoded, setEncoded, setTimeout, validate, validateAccountNo, validateCheckNo, validateCreditCard
-
-
-
-
Field Detail
-
RESULT_OK
protected static final String RESULT_OK
- See Also:
- Constant Field Values
-
RESULT_DECLINED
protected static final String RESULT_DECLINED
- See Also:
- Constant Field Values
-
RESULT_INVALID_NO
protected static final String RESULT_INVALID_NO
- See Also:
- Constant Field Values
-
RESULT_INVALID_EXP
protected static final String RESULT_INVALID_EXP
- See Also:
- Constant Field Values
-
RESULT_INSUFFICIENT_FUNDS
protected static final String RESULT_INSUFFICIENT_FUNDS
- See Also:
- Constant Field Values
-
RESULT_TIMEOUT_PROCESSOR
protected static final String RESULT_TIMEOUT_PROCESSOR
- See Also:
- Constant Field Values
-
RESULT_TIMEOUT_HOST
protected static final String RESULT_TIMEOUT_HOST
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersion
public String getVersion()
Get Version- Returns:
- version
-
processCC
public boolean processCC() throws IllegalArgumentException
Process CreditCard (no date check)- Specified by:
processCC
in classPaymentProcessor
- Returns:
- true if processed successfully
- Throws:
IllegalArgumentException
-
process
public boolean process(String parameter)
Process Transaction- Parameters:
parameter
- Command String- Returns:
- true if processed successfully
-
isProcessedOK
public boolean isProcessedOK()
Payment is procesed successfully- Specified by:
isProcessedOK
in classPaymentProcessor
- Returns:
- true if OK
-
-