website/www
Bradley M. Kuhn 6b9bdb335e Modify PayPal "no_shipping" var via t-shirt choice
According to
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/

  no_shipping has the following values:
      0: prompt for an address, but do not require one
      1: do not prompt for an address
      2: prompt for an address, and require one
      The default is 0.

Ideally, any time they change wantGift, even in a pure HTML form, we'd
change it between 0 and 2 as appropriate (i.e., we need the address if
they want the t-shirt).

However, I couldn't find an easy way to make this modification in pure
CSS or HTML, so it only happens in Javascript-enabled browsers.

This is still graceful degradation, since the only impact is in cases
where a non-Javascript user fails to give us an address, and we have to
email later to get the shipping address.
2014-12-03 18:50:53 -05:00
..
conservancy Modify PayPal "no_shipping" var via t-shirt choice 2014-12-03 18:50:53 -05:00
conservancy_ssl_wrapper.py SSL site from previous running instance on conservancy.softwarefreedom.org 2010-09-26 19:37:01 -04:00
conservancy_wrapper.py Fixed canonical hostname 2010-09-30 10:23:53 -04:00
modpythoncustom.py modpythoncustom was needed for Django operation 2010-09-29 20:35:21 -04:00