[Seaside] Anyone using Seaside & Paypal?

Nevin Pratt nevin at bountifulbaby.com
Tue Oct 31 20:48:29 UTC 2006


>
> The ESUG registration application is using PayPal. I just generate a
> redirect with some dynamic parts. You can plug this into an
> anchor/button callback:
>
> self session redirectTo: (WAUrl new
>     scheme: #https;
>     hostname: 'www.paypal.com';
>     port: 443;
>     addToPath: 'cgi-bin';
>     addToPath: 'webscr';
>     addParameter: 'cmd' value: '_xclick';
>     addParameter: 'business' value: 'esug-info at esug.org';
>     addParameter: 'item_name' value: 'Registration to ESUG 2005 Event';
>     addParameter: 'item_number' value: 'ESUG2005Registration';
>     addParameter: 'amount' value: self attendee totalFees asString;
>     addParameter: 'no_shipping' value: '1';
>     addParameter: 'no_note' value: '1';
>     addParameter: 'currency_code' value: 'EUR';
>     addParameter: 'charset' value: 'UTF-8';
>     asString).
>
> Hope this helps?
>
> Lukas
>

This is interesting.  I wasn't aware that there was any https support in 
Squeak.

I also connect to PayPal, but I use Stunnel for SSL.  That way the POST 
is just a normal http POST.

What exactly is the current level of https support in Squeak?  And, how 
realiable?

Opinions would be great.

Nevin



More information about the Seaside mailing list