After installation of payFlow processor you can download the payflow Java Library and write codes to process the transaction.
But before that, you have to set up the SSL on your server to make it work. The SSL is installed on your development server to recognize the PayFlow's transaction process server, therefore the SSL has to be installed into the trust keystore on the weblogic server.
For test and development purpose, the SSL certificate can just added to the default existing keystore in Weblogic server. The steps are here:
1. download the SSL certificate that can recognize PayFlow server. It can be downloaded from either A or C link.The download link is here.
2. Use keytool command to import the certificate into the existing trust keystore for development use. The syntax of the command is (assuming the certificate file is put under jdk directory \jre\lib\security in JDeveloper install directory. This directory is arbitrary):
*JDeveloper_Install_Directory*\jdk*version*\jre\bin\keytool -import -alias paypal -keystore *JDeveloper_Install_Directory*\wlserver_10.3\server\lib\DemoTrust.jks -trustcacerts -file *JDeveloper_Install_Directory*\jdk160_14_R27.6.5-32\jre\lib\security\72fa7371.cer
DemoTrust.jks is the default trust keystore. "72fa7371.cer" is the downloaded certificate. You will be prompted to enter the keystore password to import, the password for DemoTrust keystore is "DemoTrustKeyStorePassPhrase"
3. The DemoTrust Keystore is already use in weblogic server by default so nothing needs to be changed in weblogic admin console. But if you want to see the configuration in weblogic console, go to server, under configuration tab, there are Keystore tab and SSL tab, that's where you setup the identity keystore and trust keystore.
4. Restart the weblogic server and you shall be able to use the paypal payFlow process to process any credit card transaction using your weblogic server.
In case of production instance, the custom keystore has to be created and configured in Weblogic console. Here are steps for production instace:
1. Create the private key for standalone weblogic server and send the key to CA (e.g.: Verisign) for certificate.
2. Create an identity keystore for weblogic server using java keytool command.
3. Import key/certificate pair into the identity keystore using weblogic command ImportPrivateKey (keytool command cannot do this step)
4. Import Verisign certificate which could recognize payflow process server to weblogic trust keystore (The current certificate is noted on paypal’s development site, name is “72fa7371.cer”)
5. Change the settings in Weblogic Console to use the custom identy keystore and trust keystore.
A. ***Important Notice Regarding The Payflow Gateway***
B. ***PayFlow gateway documents***
C. ***Certificate download link from Verisign***
D. ***Certificate Install Instructions***
E. ***Configure keystores in Weblogic Admin Console***
F. ***KeyTool Command***
G. ***No identity key/certificate entry was found***
H. ***Weblogic ImportPrivateKey Command***
I. ***Setup Weblogic Server Command Enviorment***