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 StringRESULT_DECLINEDprotected static StringRESULT_INSUFFICIENT_FUNDSprotected static StringRESULT_INVALID_EXPprotected static StringRESULT_INVALID_NOprotected static StringRESULT_OKprotected static StringRESULT_TIMEOUT_HOSTprotected static StringRESULT_TIMEOUT_PROCESSOR
-
Constructor Summary
Constructors Constructor Description PP_PayFlowPro4()PayFowPro Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetVersion()Get VersionbooleanisProcessedOK()Payment is processed successfullybooleanprocess(String parameter)Process TransactionbooleanprocessCC()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 IllegalArgumentExceptionProcess CreditCard (no date check)- Specified by:
processCCin 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:
isProcessedOKin classPaymentProcessor- Returns:
- true if OK
-
-