Bud,
I think you have to use their SetValue method:
<cfset oRequest.SetValue("billTo_firstName", "Jane")>
Dan
On 6/11/05, Bud <[EMAIL PROTECTED]> wrote:
> Hi all. I'm trying to use a COM object to connect to CyberSource
> payment gateway. I'm converting their ASP script sample. Here is my
> problem. I'm trying to set a value within the object (oRequest). The
> ASP command for this is as follows.
>
> oRequest.Value("billTo_firstName") = "Jane"
>
> If I try to use this within cfscript or if I use cfset as follows:
>
> <cfset oRequest.Value("billTo_firstName") = "Jane"> I get the following
> error:
>
> Illegal left hand side of assignment near line 50, column 7. Left
> hand side cannot be a function call.
>
> I've tried everything in my power to get the property set. Nothing
> works. Any clues?
> --
>
> Bud Schneehagen - Tropical Web Creations, Inc.
>
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> Web Based Solutions / eCommerce Development & Hosting
> http://www.twcreations.com/ - http://www.cf-ezcart.com/
> Toll Free: 877.207.6397 - Local & Int'l Phone/Fax: 386.789.0968
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209233
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54