Skip to content

Run monthly donations

Loek van Gent edited this page May 3, 2014 · 1 revision

So what's the fuzz?

Next to one off donations people can also set a monthly donation. The only option for this is direct debit through a Dutch bank account. When setting a monthly donation one can choose project s to donate to. If none are selected then the monthly donation amount is split over the Top 3, the three most 'popular' projects.

Running monthly donations

For now monthly donations are run by hand. This are the steps you should take:

  • Check in admin that all users that have a monthly donation have a valid IBAN. When filling out their monthly donation they set there 'plain' bank account number. So check /admin/fund/recurringdirectdebitpayment/ if any entries fail the IBAN check. Also check that no one has set a amount 0.00 euro.
  • Shell into the server and run ./manage.py process_monthly_donations --settings=onepercentclub.settigns.production. You can might first want to run it with --export-csv to review what donations will be parsed and/or run a single donation first with --process-one-recurring-payment=<id>

For now it makes sense to run the entire thing locally with a fresh live db restored first, because there are still some weird things sometimes e.g. Docdata changing things.

Clone this wiki locally