8/23/2005
Installing Payflow Pro SDK on a Shared Hosting Account
If you have a shared hosting account whose PHP install doesn't have the Payflow Pro module enabled (most don't enable this option), you can install the Payflow Pro executable under your home directory and get it to work.
- Unzip the Payflow Pro SDK locally. This may be obtained from the account support area of Verisign
- Create a new directory called payflow somewhere under the root htdocs directory of the webserver. (ex. /www/htdocs/payflow/
- FTP upload the linux/bin/, linux/certs/ and linux/lib/ directories up to the webserver under the new directory payflow.
- Create a new PHP file called phpinfo.php with the following one line in it:
- FTP upload the new file into the payflow directory.
- Load phpinfo.php in a browser to retrieve the PHP information on the server setup
- Search for the following variable in the page:
_SERVER["SCRIPT_FILENAME"]It should be something similar to:
/home/users/domain.com/html/payflow/phpinfo.phpThe path will vary depending on the server setup, but it should end in phpinfo.php
- The directory path of this variable will be used to tell the ecommerce software where to find the Payflow executable and security certificate. In this example:
/home/users/domain.com/html/payflowIs the directory path.
- Configure the ecommerce software with this path for the following variables. The exact variable names will vary depending on the ecommerce package, these are from osCommerce and are found in the Payflow Pro module configuration screen of the admin control panel.
- PayflowPro Library Path -
/home/users/domain.com/html/payflow/lib/
- PayflowPro Certificate Path -
/home/users/domain.com/html/payflow/certs/
- PayflowPro Executable -
/home/users/domain.com/html/payflow/bin/pfpro
The paths will be the same as that obtained in #8 above. Note the executable path contains the path and executable file name supplied in the SDK.
- PayflowPro Library Path -
Popularity: 35%



September 25th, 2007 at 8:27 pm
Hi,
Thanks for this, it helped me out of a jam. I was at my wits end trying to install Payflow Pro for OsCommerce, I had the paths set up wrong. The instructions that came with the contrib I used were crap, so I added your instructions to them to help out anybody else using it.
Thanks again!
September 27th, 2007 at 1:37 am
Hi,
Does this work with a windows server? I have PHP5 installed on a windows server. How can I enable the PayFlowPro Support in this case?
Any help appreciated.
Thanks
Dadasaheb H.
October 8th, 2007 at 7:45 pm
This should work similarly in a Windows environment. Just adjust the paths to ‘c:/…’ or similar.
If I remember, Payflow used to have a Windows directory with Windows .exe for the executables.