CFPaypal

techscreencast.com
(Quality Technical Screencast)
Coldfusion Projects

CFPaypal Installation Steps

CFPaypal does not works out of box and need some settings configured to get it functional. Please follow the installation setups mentioned below to configure CFPaypal.

Download CFPaypal Project

Download the latest CFPaypal project from http://www.indiankey.com/cfpaypal

Extract CFPaypal

Ideally CFPaypal should be installed under the root folder of website/webproject that’s going to use it.
i.e. If the physical path for website/project is c:\mywebsite\coolsite then cfpaypal should be installed under c:\mywebsite\coolsite which will create the directory structure like c:\mywebsite\coolsite\cfpaypal

Update Application.cfm

To make CFPaypal work, the CF website should have Application.cfm or Application.cfc which set the variable that are listed inside Application.cfm (in CFPaypal project). Either the CFPaypal can have its own Application.cfm or the variables from CFPaypal Application.cfm can be copied to the global website/project wide Application.cfm. Check CFPaypal Config Files for more information about CFPaypal configuration settings

Create CFPaypal related tables in Database

CFPaypal manages its own invoice tables, that stores information about payment, subscription and cart information. To use CFPaypal invoice management two tables will have to be created in your database and you can find the table creation script under CFPaypal root folder.

Change the Configuration settings

Check CFPaypal Config Files for more information about CFPaypal configuration settings

Testing CFPaypal

To test CFPaypal integration, a Paypal sandbox account will be required (Read more about Paypal sandbox environment), or it can be plugged against the Paypal production environment, but that will require real payment information. Also the Paypal verification system requires communication between the client server and Paypal server; therefore you can only test/use CFPaypal on web servers that are publicly available and accessible over internet.
NOTE: Its not possible to test CFPaypal locally on server, that’s not accessible remotely by HTTP protocol, you need a hosted website/web project that is remotely accessible through IP or domain name.