This morning I was working on migrating an old set of Paypal forms to a new site. I needed to create a shipping dropdown menu, something not supported by Paypal’s hosted buttons.

But after looking around for a bit unsuccessfully I found the Button Code Example Site, an amazing treasure trove of code snippets and examples for customizing Paypal cart form elements for Website Payments Standard.

I used (and modified) a few examples for my page – the script for local shipping selection and the one for radio button product selection.  It took a little tweaking because I needed script variations for multiple forms of the same type, but I’ve got it all working fine.