Absolutely,

Here is the code for the method causing the problem

<cfcomponent>
        
        <cffunction access="public" name="verisignCharge" output="true"
returntype="query" hint="Process Credit Card (charge) using verisign.">
                
                <cfargument name="query" type="string" required="true"
hint="Name element of the return query from Verisign.<br>">
                <cfargument name="hostaddress" type="string"
required="true" hint="Host Address of the Verisign server.<br>">
                <cfargument name="hostport" type="string"
required="false" default="443" hint="Host Port of the Verisign
server.<br>">
                <cfargument name="timeout" type="string"
required="false" default="30" hint="Timeout (in seconds) for the
transaction request.<br>">
                <cfargument name="trxtype" type="string"
required="false" default="S" hint="Transaction Type: S = Sale | C =
Credit<br>">
                <cfargument name="tender" type="string" required="false"
default="C" hint="The tender type (method of payment). Use only the
value 'C' for credit card transactions.<br>">
                <cfargument name="partner" type="string" required="true"
hint="The authorized VeriSign Reseller that registered you for the
Payflow Pro service provided you with a Partner ID. If you registered
yourself, use 'VeriSign'.<br>">
                <cfargument name="user" type="string" required="true"
hint="Case-sensitive login ID for the Payflow account that you defined
while registering for the account.<br>">
                <cfargument name="pwd" type="string" required="true"
hint="Case-sensitive 6- to 32-character password that you defined while
registering for the account.<br>">
                <cfargument name="acct" type="string" required="true"
hint="The credit card or purchase card number may not contain spaces,
non-numeric characters, or dashes.<br>">
                <cfargument name="expdate" type="string" required="true"
hint="Expiration date of the credit card in mmyy format. For example,
0308 represents March 2008.<br>">
                <cfargument name="amt" type="string" required="true"
hint="Amount (US Dollars) U.S. based currency. Specify the exact amount
to the cent using a decimal point-use 34.00, not 34. Do not include
comma separators-use 1199.95 not 1,199.95. Your processor and/or
internet merchant account provider may stipulate a maximum amount.<br>">
                <cfargument name="parmlist" type="string"
required="false" default="" hint="Additional parameters specified in
name / value pairs. For example, 'trxtype=S&tender=C'.<br>">
                <cfargument name="proxyaddress" type="string"
required="false" default="" hint="Proxy server address. Use the PROXY
parameters for servers behind a firewall. Your network administrator can
provide the values.<br>">
                <cfargument name="proxyport" type="string"
required="false" default="" hint="Proxy server port<br>">
                <cfargument name="proxylogon" type="string"
required="false" default="" hint="Proxy server logon ID<br>">
                <cfargument name="proxypassword" type="string"
required="false" default="" hint="Proxy server logon password<br>">
                <cfargument name="certpath" type="string"
required="false" default="C:\CFusionMX\CustomTags\Verisign\certs"
hint="The physical path to the cert file on your server. For example,
'C:\CFusionMX\CustomTags\Verisign\certs' (also the default).<br>">
                
                
                <cfx_payflowpro query = "ccprocess"
                        hostaddress = "#hostaddress#"
                        hostport = "#hostport#"
                        timeout = "#timeout#"
                        trxtype = "#trxtype#"
                        tender = "#tender#"
                        partner = "#partner#"
                        user = "#user#"
                        pwd = "#pwd#"
                        acct = "#acct#"
                        expdate = "#expdate#"
                        amt = "#amt#"
                                        parmlist = "#parmlist#"
                                        proxyaddress = "#proxyaddress#"
                                        proxyport = "#proxyport#"
                                        proxylogon = "#proxylogon#"
                                        proxypassword =
"#proxypassword#"
                                        certpath = "#certpath#">

        </cffunction>

</cfcomponent>

AND here is the call,

<cfset query = "thisQuery">
<cfset hostaddress = "test-payflow.verisign.com">
<cfset partner = "verisign">
<cfset user = "username">
<cfset pwd = "password">
<cfset acct = "4111111111111111">
<cfset expdate = "1205">
<cfset amt = "13.50">

        
<cfobject component="processPayment" name="objProcPay">

<cfset execPayment =
objProcPay.verisignCharge(query,hostaddress,'','','','',partner,user,pwd
,acct,expdate,amt)>


Fairly straight forward unless im missing something. 

Thanks for the help!

-chris.alvarado 
[ application developer ] 
4 Guys Interactive, Inc. 
http://www.4guys.com 
phone: 281.807.4344 x1716 
fax: 281.807.4384



> -----Original Message-----
> From: Raymond Camden [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 11, 2003 12:40 PM
> To: CF-Talk
> Subject: RE: CFC Problem
> 
> 
> Can you show us both the call and the code to processPayment? 
> (I mean th
> emethod in question).
> 
> ==============================================================
> ==========
> ===
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> (www.mindseye.com)
> Member of Team Macromedia 
> (http://www.macromedia.com/go/teammacromedia)
> 
> Email    : [EMAIL PROTECTED]
> Blog     : www.camdenfamily.com/morpheus/blog
> Yahoo IM : morpheus
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> > -----Original Message-----
> > From: Chris Alvarado [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, September 11, 2003 11:09 AM
> > To: CF-Talk
> > Subject: CFC Problem
> > 
> > 
> > I have built this CFC to invoke the Verisign Payflow Pro tag 
> > and I am getting a strange error.
> >  
> > Error Occurred While Processing Request     
> > 
> > 
> > 
> > For input string: "" 
> > 
> >     
> >     
> > The error occurred in
> > E:\Data\Published\wwwroot\developmentmx\verisignCFC\processPay
> > ment.cfc:
> > line 31
> >     
> > 
> > 29 :                        trxtype = "#trxtype#"
> > 
> > 30 :                        tender = "#tender#"
> > 
> > 31 :                        partner = "#partner#"
> > 
> > 32 :                        user = "#user#"
> > 
> > 33 :                        pwd = "#pwd#"
> >  
> > the variable "partner" is defined, and a value is specified. 
> > I am assuming that is what this error means (that it cant 
> > evaluate the variable or something of the like) since the 
> > actual error message is very non-descript.
> >  
> > anyone have any ideas?
> >  
> > 
> > -chris.alvarado 
> > [ application developer ] 
> > 4 Guys Interactive, Inc. 
> > http://www.4guys.com <http://www.4guys.com/>  
> > phone: 281.807.4344 x1716 
> > fax: 281.807.4384
> > 
> >  
> > 
> > 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Reply via email to