[WMDE-Fundraising] Validate membership application
Closed, ResolvedPublic10 Story Points

Description

Add validation of membership information:

  • address and name fields (PersonalInfoValidator can be reused)
  • bank data (BankDataValidator)
  • the membership amount needs to be at least 24 EUR/year for person, 100 for company. AmountPolicyValidator can't be used as is because it only checks for max amounts.

@kai.nissen: Do we have an upper limit?

The current application uses the same limit as it uses for donations: 1000 Euro. As with donations this does not lead to an error, but to a need for moderation of the data set.

I introduced the validator class in https://github.com/wmde/FundraisingFrontend/pull/356, it's still a stub without any actual validation though.

JeroenDeDauw added a comment.EditedMay 12 2016, 3:03 AM

What kind of validation do we need for date of birth (apart from it being a date)? Do we accept 30.02.9999? Is there a min age?

Question is about what we need to match the old app and run the campaign. We can create a ticket to make things nicer after

We achieve feature parity by making sure the entered data is actually a date.

More work done in https://github.com/wmde/FundraisingFrontend/pull/459

Probably finished with https://github.com/wmde/FundraisingFrontend/pull/461. Looked over all the fields and they all seem to be handled.

Tobi_WMDE_SW closed this task as Resolved.Apr 7 2017, 11:26 AM
Tobi_WMDE_SW claimed this task.
Restricted Application added a project: WMDE-Fun-Team. · View Herald TranscriptApr 7 2017, 11:26 AM