Hi Jer,

To start, why don't you use <cfscript>? It will come a lot closer to the
original ASP code...

<cfscript>
hm = Webpay.newBundle();
</cfscript>

You can probably paste all the ASP code within CFScript tags and start to
work your way through it, as for your problem
webpay.put_certificatePassword (bundle, "webpay" webpay.put) 
Maybe?

Taco Fleur
Blog http://www.tacofleur.com/index/blog/
Methodology http://www.tacofleur.com/index/methodology/

Tell me and I will forget
Show me and I will remember
Teach me and I will learn 


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy
> Sent: Friday, 13 February 2004 11:57 AM
> To: CFAussie Mailing List
> Subject: [cfaussie] Converting ASP to CF.
> 
> 
> I'm having a few issues with converting an ASP page to a CF page. 
> 
> I need any CF programmers that have programmed in ASP to help 
> me here...
> 
> Set webpay = Server.CreateObject( "WebpayATL.Webpay" )
> bundle = webpay.newBundle
> 
> ' set certificate information
> webpay.put_certificatePath bundle, "c:\webpay\gateway.cer" 
> webpay.put_certificatePassword bundle, "webpay" webpay.put 
> bundle, "CLIENTID", "10000000"
> 
> I have the first part converted in CF.
> 
> <cfset hm = Webpay.newBundle()>
> 
> Which works
> 
> But the second part I'm not sure how to write the syntax... 
> webpay.put_certificatePath bundle, "c:\webpay\gateway.cer"
> 
> 
> Any ideas?
> 
> Jeremy
> 
> ---
> You are currently subscribed to cfaussie as: 
> [EMAIL PROTECTED] To unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia 
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to