-
Notifications
You must be signed in to change notification settings - Fork 13
Run monthly donations
Loek van Gent edited this page May 3, 2014
·
1 revision
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.
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.