- All Implemented Interfaces:
MerchantServicesProvider
Configuration parameters:
- user - If you set up one or more additional users on the account, this value is the ID of the user authorized to process transactions. If, however, you have not sest up additional users on the account, user has the same value as vendor.
- vendor - Your merchant login ID that you created when you registered for the Payflow Pro account. This value is case sensitive.
- partner - The ID provided to you by the authorized PayPal Reseller who registered you for the Payflow Pro service. If you purchased your account directly from PayPal, use PayPal. This values is case-sensitive.
- password - User's password (string).
TODO: Should we support the GetStatus call???
TODO: Should we support Buyer Authentication Service?
TODO: Should we support separate Freight and Handling amounts instead of just
the one shipping? We would need to automatically combine them on
processors that don't support the distinction.
TODO: Is Prenote used for storing cards?
TODO: Use AMEXID?
TODO: Support SettleDate?
TODO: Support SHIPTOPHONENUM?
TODO: Possible better rates if we provide the merchant details and ship from details.
- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorDescriptionCreates a new provider for the PayflowPro_XMLPay system.PayflowPro
(String providerId, String user, String vendor, String partner, String password, String certPath) Deprecated, for removal: This API element is subject to removal in a future version.certPath is no longer used -
Method Summary
Modifier and TypeMethodDescriptionauthorize
(TransactionRequest transactionRequest, CreditCard creditCard) boolean
boolean
capture
(AuthorizationResult authorizationResult) credit
(TransactionRequest transactionRequest, CreditCard creditCard) void
deleteCreditCard
(CreditCard creditCard) protected static String
getStreetAddress
(String line1, String line2) Combines the two street address lines into a single String.getTokenizedCreditCards
(Map<String, CreditCard> persistedCards, PrintWriter verboseOut, PrintWriter infoOut, PrintWriter warningOut) getUser()
sale
(TransactionRequest transactionRequest, CreditCard creditCard) storeCreditCard
(CreditCard creditCard) void
updateCreditCard
(CreditCard creditCard) void
updateCreditCardExpiration
(CreditCard creditCard, byte expirationMonth, short expirationYear) void
updateCreditCardNumberAndExpiration
(CreditCard creditCard, String cardNumber, byte expirationMonth, short expirationYear, String cardCode) voidTransaction
(Transaction transaction)
-
Constructor Details
-
PayflowPro
Creates a new provider for the PayflowPro_XMLPay system. -
PayflowPro
@Deprecated(forRemoval=true) public PayflowPro(String providerId, String user, String vendor, String partner, String password, String certPath) Deprecated, for removal: This API element is subject to removal in a future version.certPath is no longer usedCreates a new provider for the PayflowPro_XMLPay system.
-
-
Method Details
-
getProviderId
- Specified by:
getProviderId
in interfaceMerchantServicesProvider
-
getUser
-
getVendor
-
getPartner
-
getPassword
-
getStreetAddress
Combines the two street address lines into a single String. -
sale
- Specified by:
sale
in interfaceMerchantServicesProvider
-
authorize
- Specified by:
authorize
in interfaceMerchantServicesProvider
-
capture
- Specified by:
capture
in interfaceMerchantServicesProvider
-
voidTransaction
- Specified by:
voidTransaction
in interfaceMerchantServicesProvider
-
credit
- Specified by:
credit
in interfaceMerchantServicesProvider
-
canStoreCreditCards
public boolean canStoreCreditCards()- Specified by:
canStoreCreditCards
in interfaceMerchantServicesProvider
-
storeCreditCard
- Specified by:
storeCreditCard
in interfaceMerchantServicesProvider
- Throws:
UnsupportedOperationException
-
updateCreditCard
- Specified by:
updateCreditCard
in interfaceMerchantServicesProvider
- Throws:
UnsupportedOperationException
-
updateCreditCardNumberAndExpiration
public void updateCreditCardNumberAndExpiration(CreditCard creditCard, String cardNumber, byte expirationMonth, short expirationYear, String cardCode) throws UnsupportedOperationException - Specified by:
updateCreditCardNumberAndExpiration
in interfaceMerchantServicesProvider
- Throws:
UnsupportedOperationException
-
updateCreditCardExpiration
public void updateCreditCardExpiration(CreditCard creditCard, byte expirationMonth, short expirationYear) throws UnsupportedOperationException - Specified by:
updateCreditCardExpiration
in interfaceMerchantServicesProvider
- Throws:
UnsupportedOperationException
-
deleteCreditCard
- Specified by:
deleteCreditCard
in interfaceMerchantServicesProvider
- Throws:
UnsupportedOperationException
-
canGetTokenizedCreditCards
public boolean canGetTokenizedCreditCards()- Specified by:
canGetTokenizedCreditCards
in interfaceMerchantServicesProvider
-
getTokenizedCreditCards
public Map<String,TokenizedCreditCard> getTokenizedCreditCards(Map<String, CreditCard> persistedCards, PrintWriter verboseOut, PrintWriter infoOut, PrintWriter warningOut) throws UnsupportedOperationException- Specified by:
getTokenizedCreditCards
in interfaceMerchantServicesProvider
- Throws:
UnsupportedOperationException
-