Skip to content

Instantly share code, notes, and snippets.

@tjweir
Created March 16, 2009 21:02
Show Gist options
  • Save tjweir/80070 to your computer and use it in GitHub Desktop.
Save tjweir/80070 to your computer and use it in GitHub Desktop.
object MyPayPalPDT extends PayPalPDT {
override def pdtPath = "paypal_complete"
def paypalAuthToken = Props.get("paypal.authToken") openOr "cannot find auth token from props file"
def pdtResponse: PartialFunction[(PayPalInfo, RequestState), LiftResponse] = {
case _ => println("--- in pdtResponse"); DoRedirectResponse("/account_admin/index");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment