Is there a way to set the authToken in the instance rather than
globally?

On Sep 23, 12:29 pm, Tim Perrett <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> Ok, i've abstracted it all out into a class which you call a little
> like this:
>
>     var paypal: PayPal = new PayPal("sandbox")
>     paypal.transactionToken = S.param("tx").openOr("")
>     paypal.execute("pdt")
>
> And as your authentication token is global to your account, you can
> specify it by doing:
>
>     PayPal.authenticationToken = "dfgdfgdfgdfgdfgdfgd"
>
> which I palced in boot. So far i've only implemented PDT, but have
> allowed for implementing IPN too - which should be a minimal amount of
> work ontop of what i already have.
>
> Thoughts?
>
> Cheers
>
> Tim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to