Reply to topic
PayFlow Pro Question
nuro305


Joined: 07 Apr 2008
Posts: 2
Reply with quote
Hi,

I"m getting educated on an app where I'll be using CF8 to process C/Card transactions. I'm reading the PayFlow Pro Developers Guide..... meanwhile...

I see a PayflowPro.cfc in the ZIP and examples of how to call it:
<CFX_PAYFLOWPRO
QUERY = "RESULT"
HOSTADDRESS ="test-payflow.verisign.com"
HOSTPORT = "443"
TIMEOUT = "30"
PROXYADDRESS = ""
PROXYPORT = ""
PROXYLOGON = ""
PROXYPASSWORD = ""
TRXTYPE = "S"
TENDER = "C"
PARTNER = "PayPal"
USER = "PayPalLoginID"
PWD = "PayPalpassword"
ACCT = "5105105105105100"
EXPDATE = "1209"
AMT = "27.33"
COMMENT1 = "This is a comment - noautomatically escaped"
COMMENT2 = "Embedded = and & work when escaped"
CERTPATH = "C:\Inetpub\wwwroot\CFIDE\certs">

1) Is anyone using this code successfully?

2) I'm unclear how to read the response from the server? Using CGI.something? THen use CFIF to look for 0 or another result and proceed...

Any snippets would be much appreciated ;-) (sorry for the Newby questions, I've never done C/Card trans in CF)

Thanks!
dmalone
HostMySite Tech

Joined: 23 Nov 2004
Posts: 65
Reply with quote
Howdy,

We have a lot of customers that use PayFlowPro. If you are on a shared server, CFX_PayFlowPro should be installed already. On a VPS or dedicated you will have to register it.

If you are on a shared server, will need to contact support and we can move the required certificate files to a subfolder of your site (or you can upload them - you should have received some with the documentation) and support will give you the path to your website on the server. The line of code should then look something like:

Code:
CERTPATH = "C:\websites\<your home dir>\<subdirectory>




I have never personally built an app that uses this tag, but I was able to find some sample code that I *think* should work. But I am not a developer Cool

Code:
<CFOUTPUT QUERY="RESULT">

PARMLIST: #PARMLIST#

<p>RESULTSTR: #RESULTSTR#

<p>VERSION: #VERSION#


</CFOUTPUT>



<CFOUTPUT>

<CFIF result.result IS "0">
Transaction #result.respmsg#

Result: #result.result#

PNREF: #result.pnref#

AuthCode: #result.authcode#

<CFELSE>
Transaction Declined: #result.respmsg#

</CFIF>

</CFOUTPUT>



Hope this gets you started!!!



-Dave
nuro305


Joined: 07 Apr 2008
Posts: 2
Reply with quote
Thanks,

This looks a bit sparse but I'll certinally start here.

Anyone else using this tag please post with your thoughts or code-snippets ;-)


THX.
PayFlow Pro Question
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic