website/www/conservancy
Bradley M. Kuhn e0f0ee820f Monthly supporter can enter variable amount.
This required some doing.  I'm not completely sure it works, but I
roughly followed the tutorial available at:
  https://www.paypal.com/webapps/mpp/get-started/create-recurring-donation-button
with back-reference to this:
  https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/

My main concern with this setup currently is that 'p3' must be set to
'1', which would seem from the documentation to be saying the payment
will recur only once.  There is a subtle hint via the tutorial that
setting 'src' to 1 will override 'p3' with whatever is found in 'srt',
but that's not said anywhere explicitly that I can find.  So, I'm going
with this and I'll just test it myself with a monthly subscription to
see if it's indefinite (which is the behavior we herein desire).

Finally, note that "amount" is now a class rather than id, since I'm now
using the associated jQuery .on('input') code for both the annual and
monthly amount boxes.
2014-12-03 18:10:45 -05:00
..
apps Keep blog posts on front page for 30 days. 2012-02-15 15:13:30 -08:00
static Monthly supporter can enter variable amount. 2014-12-03 18:10:45 -05:00
templates Remove male dominated placeholder. 2014-12-03 13:49:06 -05:00
__init__.py Conservancy website as it currently looks; unfortunately, old history before this cannot easily be retrieved 2010-09-26 17:20:05 -04:00
feeds.py No longer "stash" the GET object in self. 2014-07-14 14:39:10 -04:00
frontpage.py Corrected front page code and template so that blog posts appear. 2010-10-04 11:27:04 -04:00
manage.py Added middleware and management file 2010-09-26 19:03:53 -04:00
middleware.py Incorporate conservancy_ssl middleware, etc. into main site, now that HTTPS fully supported. 2013-04-26 13:09:24 -04:00
settings.py Test thing for redirect table. 2010-10-11 15:48:17 -04:00
urls.py .* no longer desirable in /admin in urls.py 2014-07-14 14:49:17 -04:00