YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

payPal with Mach II Options
fumeng
#1 Posted : Monday, August 01, 2005 7:33:08 PM
Rank: Starting Member

Groups: Registered

Joined: 8/1/2005
Posts: 5
Location: ,
hi. just wanted to know if anyone has implemented paypal with mach ii. i'm very lost on how to get started, for example i take this code example from the PayPal MX 1.0 files: <!--- for a single request call ---> <cfset myForm = createObject("component","payPalPDT").init("sandbox","paypal.xml").getForm("productOfMine")> <cfoutput>#myForm#</cfoutput> but i don't see a "payPalPDT" component. am i right in thinking that it gets constructed in the paypal.xml file? what am i missing? any helpful tips are appreciated. thanks. fumeng.
Sponsor  
 
fumeng
#2 Posted : Tuesday, August 02, 2005 12:45:08 PM
Rank: Starting Member

Groups: Registered

Joined: 8/1/2005
Posts: 5
Location: ,
quick update: i believe i was going about it in the wrong way and i'm a lot closer now. here's the code i am using to now instantiate the PayPalService.cfc. the only problem now is that it is having problems finding the value specified in 'xmlConfigPath' and i'm not sure why. i'm giving it a relative path, but it's still not working. does anything jump out at anyone??

&lt;cffunction name="startPayPal" access="public" returntype="void" output="true" displayname="Instantiate PayPal Service" hint="I start the PayPal Service"&gt;
&lt;cfargument name="event" type="MachII.framework.Event" required="yes" displayname="Event" hint="I am the current event." /&gt;
&lt;cfset PayPalSVC = createObject("component","PayPalService").init("sandbox","paypal.xml")&gt;
&lt;/cffunction&gt;

any tips are appreciated. thanks for following along.

fumeng.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.089 seconds.