Need to add a status to the registration schema with at least pending and complete values. This will be used for paid registrations, verifying anonymous registrations, etc.
Need to add a status to the registration schema with at least pending and complete values. This will be used for paid registrations, verifying anonymous registrations, etc.
Comments
Comment #1
dpiWhen a user adds other account/email. What should default Registation status be?
Does this mean #1525252: Allow anonymous users to unregister from entities should also cover verifying a Registration's status? specifically from PENDING to COMPLETE?
Comment #2
levelos commentedI was going to start out with 3 states, pending, complete, and canceled. Maybe providing a hook so the list can be altered.
Other account likely complete, other email, depends if we have an email based verification system, in which case pending then complete when verified.
Yep, I was thinking #1525252: Allow anonymous users to unregister from entities should definitely coordinate with this change. I'm in progress on it now and will commit today most likely.
Comment #3
dpiWhy wouldn't optionally/requiring an admin to add a status field to Registration bundles work out?
E.g: a core 'list' field with hook-able allowed_values.
Would be great to inherit all the fun and good times of the field system.
Comment #4
levelos commentedGood idea, but I haven't been thrilled with create new field instances when a bundle is created and then basing a bunch of logic around it. Just committed a first pass, including a hook for adding additional types. Feedback welcome.