Hey guys,
Im just playing with the Paypal IPN stuff im writing. In Boot.scala i
have something like:
LiftRules.addDispatchBefore {
case r @ RequestState("paypal":: "ipn" :: Nil, "", PostRequest)
if PaypalIPN(r).execute == true
=> () => Full(XmlResponse(<complete />))
}
Then in PaypalIPN I have a println() so I can take a look at the
passed RequestState - What im seeing in the console however is the
contents of RequestState printed out 4 times... This is not what we
want however as the any registered actions configured by the user
would then get executed multiple times.
How can I stop it creating 4 instances of PaypalIPN...?
Cheers
Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---