Package org.compiere.model
Class PP_PayFlowPro4
- java.lang.Object
-
- org.compiere.model.PaymentProcessor
-
- org.compiere.model.PP_PayFlowPro4
-
- All Implemented Interfaces:
Serializable
public final class PP_PayFlowPro4 extends PaymentProcessor implements Serializable
Payment Processor for PayPal PayFlow Pro SDK 4.- Author:
- Jorg Janke, Paul Bowden updated to SDK version 4
- 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_PayFlowPro4()
PayFowPro Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getVersion()
Get Versionboolean
isProcessedOK()
Payment is processed 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 processed successfully- Specified by:
isProcessedOK
in classPaymentProcessor
- Returns:
- true if OK
-
-