Handling IPN Cancel messages
Updated 2 years, 3 months ago
| Tim Perrett | Reviewers | ||
| wip_tim_issue_88 | |||
| 88 | dchenbecker, dpp, marius, heiko | ||
| None | LiftWeb-archive | ||
Patch to handle Cancel message from IPN not having the payment status parameter. Boxed the value so that now it returns Empty for a cancel message. Sweet.
Sample testing with the IPN Simulator on developer.paypal.com - when i figure out lift-testkit i'll write some specs for this stuff.
Posted 2 years, 3 months ago (October 9th, 2009, 9:52 p.m.)
Generally looks good but I have a few comments.
-
lift-paypal/src/main/scala/net/liftweb/paypal/Paypal.scala (Diff revision 1) -
Very minor, but that's a typo on incoming.
-
lift-paypal/src/main/scala/net/liftweb/paypal/Paypal.scala (Diff revision 1) -
What's the point of having a private ref here?
-
lift-paypal/src/test/scala/net/liftweb/paypal/PaypalIPNSpec.scala (Diff revision 1) -
I don't think that this file should be committed as part of this patch if the contents are entirely commented out.
Review request changed
Updated 2 years, 3 months ago (October 11th, 2009, 4:41 a.m.)
-
- added Diff r2
Removed the paramater val
