Hey chaps... sorry for my late reply (just flew in from Egypt!)

The pdtPath is configurable already, right?

object SimplePaypal extends PaypalPDT {
  def pdtPath: String = "yourendpoint"
  ....
}

Im not sure why this would cause an issue as if you look at the
dispatch:

Req(RootPath :: PDTPath :: Nil, "", PostRequest)

Its just concatenating both the rootPath and the pdtPath defs (via
lazy vals) - so you can set it to whatever you want within some basic
guidelines. What is it thats not happening for you exactly or in what
way do you feel its not configurable?

Cheers, Tim

On Jun 19, 2:07 am, David Pollak <feeder.of.the.be...@gmail.com>
wrote:
> On Thu, Jun 18, 2009 at 3:17 PM, Derek Chen-Becker 
> <dchenbec...@gmail.com>wrote:
>
> > It seems to me that the pdtPath should be configurable. If other people
> > agree we should at least open an issue on GitHub to track this.
>
> Sure.
>
>
>
>
>
>
>
> > Derek
>
> > On Thu, Jun 18, 2009 at 3:07 PM, Dano <olearydani...@gmail.com> wrote:
>
> >> Resolved.
>
> >> I backed out my override on pdtPath and adjusted my paypal
> >> configuration to point to /paypal/pdt and things worked.
>
> >> Moral of the story: Do NOT override pdtPath!!
>
> >> On Jun 18, 12:07 pm, Dano <olearydani...@gmail.com> wrote:
> >> > Sorry, my post got submitted too early.
>
> >> > When I commented out the line: override def pdtPath = "complete"
>
> >> > I get the same failure mode as in production.
>
> >> > Do I need to set pdtPath or what do I change to work with the default?
>
> >> > Thanks.
>
> >> > Dan
>
> >> > On Jun 18, 12:04 pm, Dano <olearydani...@gmail.com> wrote:
>
> >> > > More information:
>
> >> > > In my object which extends PaypalPDT, I had a line which overridded
> >> > > the variable pdtPath:
>
> >> > > override def pdtPath = "complete"
>
> >> > > On Jun 18, 11:58 am, Dano <olearydani...@gmail.com> wrote:
>
> >> > > > I trying to get our site (buyafeature.com) live today and ran into
> >> a
> >> > > > problem with the paypal feature.  I am using the lift-paypal module
> >> > > > and things have been working just fine in development.
>
> >> > > > The problem I am seeing is that when I press the "Return to Website"
> >> > > > button in paypal, it tries to redirect to the following URL:
>
> >>http://buyafeature.com/paypal/complete?tx=36627495TV601683L&st=Comple...
>
> >> > > > And then the browser shows the following error:
>
> >> > > > The Requested URL /paypal/complete was not found on this server
>
> >> > > > I tried to reproduced this on the development sandbox but it works
> >> > > > fine (i.e. returns to the starting page in my app and my server gets
> >> > > > the PDT event).
>
> >> > > > Has anyone seen this or have any ideas on what to try?
>
> >> > > > Thanks in advance.
>
> >> > > > Dan
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~---------~--~----~------------~-------~--~----~
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 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to