Now this is an interesting one.. But I can imagine scenarios where someone wants to donate on behalf of someone else without needing to login as that user. In this case we would have to have some system in place where we would need to ask for some additional information.
I have no idea how this would work but it probably make sense to add this to the donation check out.
During the donations check out process they would tick a box
"This donation is on behalf of someone else"
A dropdown appears asking
"I want to donate on behalf of a member of CFCommunity"
"I want to donate on behalf of a group of CFCommunity"
"I want to donate on behalf of someone else.."
When a user selects the Group or Member option they get a ajax Member search (similar to InviteAnyone plugin) where they type the name of the member. Once they have found the member they select the correct member/groups
Once the donation is finished the donation is recorded in the database as belonging to that user.
Potential Problems
Should we send out an email notification to the user that someone donated on there behalf? Should we add a way for that user to distance himself of the donation (I don't know if this could/would be abused in any way)
Should we show the donation receipt in the dashboard of that user?
How would this work in combination with the shortcodes described in #3? Would this massively complicate outputting a loop of donators?
Now this is an interesting one.. But I can imagine scenarios where someone wants to donate on behalf of someone else without needing to login as that user. In this case we would have to have some system in place where we would need to ask for some additional information.
I have no idea how this would work but it probably make sense to add this to the donation check out.
Potential Problems