Software Freedom Conservancy's Website
Find a file
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
apache2/sites-available Created source links. 2010-10-03 22:28:24 -04:00
cron/cron.monthly Added cron job. 2010-09-26 19:41:19 -04:00
www Monthly supporter can enter variable amount. 2014-12-03 18:10:45 -05:00
.gitignore Ignore the subdirectory logs. 2014-04-23 13:20:56 -04:00
AGPLv3 License texts 2010-09-26 18:53:20 -04:00
CC-By-SA-3.0 Added CC-By-SA-3.0 license 2010-10-03 21:59:53 -04:00
compile-all.py All files in static should be world readable. 2010-10-03 18:07:43 -04:00
ISC_LICENSE License texts 2010-09-26 18:53:20 -04:00
README Update the distro release 2012-04-05 21:14:04 -07:00

                           SERVER CONFIGURATION
                           ====================

conservancy's webserver runs on a machine called
dogwood.sfconservancy.org, which is a standard Debian installation.

The following packages are installed to make Django and Apache work on a
squeeze install:

$ aptitude install python-django apache2 sqlite3 python2.5-sqlite libapache2-mod-python



                           DJANGO SETUP
                           ============

0. Make sure the Python module 'djangopw', with the global variable
   'djangoadmin_password' is somewhere importable in the default
   PYTHON_PATH.