Home > PHP Version Help > Payment Processors > PayPal PayFlow Pro

PayPal PayFlow Pro and Ecommerce Templates
US merchants implementing Paypal PayFlow Pro can enroll in the Verified by Visa program.
This is slightly more complicated than other payment processing systems we offer, in that the credit card transaction takes place on your own server, and hence you require an SSL certificate on your site.
Enabling Payflow Pro will force the second phase of checkout to
take place on a secure (https) connection. For instance, with Payflow
Pro enabled, you will find that after viewing the contents of the
cart and clicking checkout, the URL changes from
http://www.yourstore.com/cart.php
to
https://www.yourstore.com/cart.php
If you do not yet have a certificate installed this will fail. To purchase an SSL certificate we can recommend www.thawte.com.
For testing purposes we have provided a way around this. In the
file vsadmin/includes.php set the following where you see the line
pathtossl = ""
. . . and fill in your usual URL.
pathtossl = "http://www.yourstore.com/folderifany/";
Now you just need to enter the information that PayPal sent you when you opened your account by going to your store admin and clicking on Edit Payment Providers, and you should be all set.
Please note that it is possible to use shared SSL space if your host provides for this, but you must be able to access the same database as for the rest of your store. We have provided more information about setting up on a secure server here
IMPORTANT NOTE (Version 5.4.4 and above):
You will need this setting added to vsadmin/includes.php
$usenvpforpayflowpro=TRUE;
IMPORTANT NOTE (Versions pre 5.4.4):
By default it is assumed that payflow pro support has been
compiled into PHP. If using the command line version of the pfpro
module however, you can set the following in vsadmin/includes.php.
. .
$pathtopfpro = "/path/to/pfpro";
Those using the PHP version on a windows server can set . . .
$pathtopfpro=="COM";
. . . to use the PFProCOMControl COM Component.
You can also use . . .
$pathtopfprocert = "/path/to/certificate";
. . . to specify the directory to the payflow pro certificate.
$pathtopfprolib can be set in the vsadmin/includes.php file
to specify
the location of the payflow pro libraries for Verisign eg $pathtopfprolib="/home/payflowpro/lib/";
Please do read our guide here on credit card fraud.
That's all there is to it really - any comments on the set up can be posted on our Support Forum.
