Uncategorized
PayFlow Pro on Coldfusion 7
My employer is not an ecoommerce company by any means. However we do charge for some books that we sell and for membership to our sites, so Payment Procession is part of the deal.
For the last 3 years we have used PayFlow Pro on CF to get this done. We have always been very happy with the results.
With the launch of our new site this week on our new server running cfmx 7 it was essential to get the Java CFX tag for PayFlow Pro provided by Verisign working on the new server. This was not without a couple set back though. The Verisign support team was quick to help and within 24 hours of my report we had worked out a solution.
The problem was 2 fold. First it appears that the Versign.jar file that is provided in the Downloads area of your Verisign Manager is not the newest one available. So the first step that Support started me on was sending me a copy of the new Verisign.jar and CFXPayFlowPro.class files. This didnt solve the problem but it did get me a better error. Second fix was although I dont think the documentation says they are required ( I didnt check and my previously functional code didnt have them) the PROXY* attributes of the tag ARE required.
So adding PROXY(ADDRESS|PORT|LOGON|PASSWORD) = “” allowed me to run the test script and get my results back.
So in the end the solution was pretty simple and I know have PayFlow running with cfmx 7. I am very happy with cf 7 so far, and am looking forward to getting to do more with it.
HOSTADDRESS = “payflow.verisign.com”
HOSTPORT = “443″
TIMEOUT = “30″
PROXYADDRESS = “”
PROXYPORT = “”
PROXYLOGON = “”
PROXYPASSWORD = “”
TRXTYPE = “S”
TENDER = “C”
certpath = “d:path ocerts”
PARTNER = “VeriSign”
USER = “YourTestAccountName”
PWD = “YourAccountPassword”
ACCT = “5105105105105100″
EXPDATE = “1209″
AMT = “27.33″
COMMENT1 = “This is a comment - note that it is automatically escaped”
COMMENT2 = “Embedded = and & work when escaped”
>
03 Mar 2005 Simeon

Yep, i had a problem with this tag about 3 months ago when i was developing a site using this tool too. Figured out (the hard way) that every single attribute had to be specified, regardless of which set of them you were using.
An irritation, but not the end of the world ;-)
We just wrote our own Java class. We then wrapped up the calls in a CFC to make it simple to use.
Could you email me the verisign jar files? I just checked and they still didn’t update their Downloads…
Hey Adam,
Probably best if you contact Verisign support, as they have updated them further :)
Good Luck with payflow.
Hey Sim. Would you have any problems sending me a copy of your Verisign.jar and CFXPayFlowPro.class that you got working? I know you noted earlier that it’s best to go through them directly, but I have been dealing with them for about 2 months now (I swear) and they insist the version of each file in the Manager is the most recent and that my environment is mis-configured. I can’t get this CFX working for the life of me, and you seem to have had better luck with their support staff that I have.
Regards,
Dave.