CFX_PFPro_Java Download
Not sure I understand why PayPal would take down their only ColdFusion related download but in case you can't find a backup copy, here you go.
Not sure I understand why PayPal would take down their only ColdFusion related download but in case you can't find a backup copy, here you go.
I have received this question so many times via email I decided to post a blog entry for it. CyberSource is a payment solution I have used in the past for a product called Bill Me Later but it can be used for a number of other solutions as well.
Here are the instructions for setting this payment solution up.
1. Download the Simple Order API (32-bit). I installed the Windows Java version.
2. Modify your jvm.config file. This depends on what version of ColdFusion you are using. Also, you will need to edit this file manually because the CyberSource arguments need to appear first. Do not edit the JVM arguments in the ColdFusion administrator because it will add them to the end which will not work.
ColdFusion MX 6.x
Notice that the following line below has been commented out because it interferes with the CyberSource JVM arguments.
ColdFusion MX 7.x
3. Restart ColdFusion
4. Run the following test script.
That should be it. Also make sure you set the following directories to your specific path.
keysDirectory
logDirectory
I was just doing a little coding and thought I would post on a few of my favorite ColdFusion tags. I know what you're saying, how can you just have a few, they're all great! Yes, I know this!
1. cfcomponent - The mother of all ColdFusion tags!
2. cfdump - Very helpful in debugging.
3. cfswitch - Fastest way to switch on a value.
4. cftry/cfcatch - Best way to suppress and deal with errors.
5. cfquery - Most likely the widest used tag in my arsenal.
6. cfqueryparam - One of the best methods to force validation and stop hack attempts.
7. cfsilent - One of the ways to cut whitespace from your resulting ColdFusion pages.
8. cfsavecontent - A nice little nugget to know when you need to save and reuse a block of whatever.
9. cfoutput - Obviously can't forget about this baby, again, useful all over the place.
10. cfloop - Used in conjunction with the former tag anf with lists mainly.
Well it's been a long road trying to figure out why I could never get CFX_PayflowPro to work on ColdFusion 8. Nevertheless with Dan Vega and Mark Mandel's support I now have a full featured component that can do the following.
I won't post the entire tag in code view but I will make it available as part of Dan Vega's RIAForge project very soon. In the meantime, here is a zip file containing both my verisign.cfc and Dan's project together.
Note: In order for this component to work out of the box you must copy the entire payflowpro directory right under the verisign.cfc component which is the way it unzips. Also, place the following code snippet in your application.cfc.
Here is a sample transaction that processes a sale.
Well unfortunately I have a bit of work ahead of me because the custom tag I'm using for PayPal payments doesn't work in ColdFusion 8. I have probably spent nearly 40 hours on attempting to get it to work but no luck. But alas there is hope! Dan Vega created a new way to call the processor through the JavaLoader created by Mark Mandel from Compound Theory. It's pretty slick but I plan on packaging it a little nicer and cleaner so I can more readily reuse it across about 20 sites. Nice work Dan and Mark!
Here is a sneak peak at the code. You can download your copy at cfpayflowpro.riaforge.org.
According to Adobe, ColdFusion 8 codenamed Scorpio will be released sometime in the middle of 2007. Along with many new features Adobe had built a server monitoring interface to see the inner workings of the server. This should be an invaluable tool. I myself have always wanted to know a more detailed picture of what goes on. Here is presentation form Adobe that they showed at MAX recently last year.
Steve Nelson, the original founder of Fusebox, is getting everyone excited over his new ColdFusion framework built on the power and speed of CFCs. I myself have my own framework built on a hybrid of CFCs and Fusebox so I am eager to see what this framework is all about. Apparently he is going to unveil it in less than a week at the Frameworks Conference in Bethesda, Maryland. Let the ColdFusion goodness out Steve!