[Seaside] tutorial1: form submit method
Nevin Pratt
nevin@smalltalkpro.com
Fri, 26 Apr 2002 10:08:20 -0600
Kamil Kukura wrote:
>
> But it might be you want to process the payment notification within your
> application [not session - I assume PayPal's server doesn't expect to
> have session from your server].
Yes, this is exactly why I want Seaside to process the PayPal notification.
> Then I would go by having own
> IAApplication's subclass with:
>
> handleRequest: request response: response url: url
> url at: 1 ifPresent: [:special |
> special = 'processIPN' ifTrue: [
> "process this notification with fields found in request and
> sent something back using response"
>
> ^ self]].
>
>
> "otherwise continue as normaly"
> super handleRequest: request response: response url: url
>
> and thus URL for PayPal will look like
> http://www.somewhere/seaside/someapp/processIPN
>
This looks good. Thanks.
Nevin