开发者

cf_payflowpro installation

开发者 https://www.devze.com 2022-12-19 18:44 出处:网络
I\'ve inherited a little code that uses this custom tag: <cf_payflowpro query=\"RESULT\" hostaddress=\"pilot-payflowpro.paypal.com\"

I've inherited a little code that uses this custom tag:

<cf_payflowpro 
 query="RESULT"
 hostaddress="pilot-payflowpro.paypal.com"
 hostport="443" 
 timeout="30"
 pwd="#hpword#"
 partner="#hpartner#"
 vendor="xxxxxx"
 trxtype="#callPP#" 
 tender="C" 
 acct="#form.card_number#" 
 expdate="#form.expire_month##form.expire_year#" 
开发者_如何转开发 amt="#form.card_amount#"
 cvv2="#form.cvv2#"
 name="#cardholder#" 
 street="#cardstreet#" 
 city="#cardcity#" 
 state="#cardstate#" 
 zip="#card_zip#" 
 comment1="#card_comment1#" 
 comment2="#card_comment2#" 
 email="#card_email#"
 >

I'm very new to cold fusion. I suspect that the custom tag is form here: http://cf_payflowpro.riaforge.org/ but I'm not 100% sure. I downloaded it. It has a file in it PayFlowPro.cfm. How and where do I install this?


See Creating and calling custom tags on the ColdFusion docs. Quote:

Storing custom tag pages

You must store custom tag pages in any one of the following:

  • The same directory as the calling page
  • The cfusion\CustomTags directory
  • A subdirectory of the cfusion\CustomTags directory
  • A directory that you specify in the ColdFusion MX Administrator


Here is a good article about how to install custom tags. It has been a while, but if you have a global directory in the project, I think you can just drop it in there too...

0

精彩评论

暂无评论...
验证码 换一张
取 消