WeFoster / buddypress-give

BuddyPress Give Add-on
GNU General Public License v3.0
10 stars 2 forks source link

Allow a user to donate on behalf of another member (or group?) #8

Open BoweFrankema opened 9 years ago

BoweFrankema commented 9 years ago

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.

  1. During the donations check out process they would tick a box "This donation is on behalf of someone else"
  2. 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.."
  3. 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
  4. Once the donation is finished the donation is recorded in the database as belonging to that user.

    Potential Problems

  5. 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)
  6. Should we show the donation receipt in the dashboard of that user?
  7. How would this work in combination with the shortcodes described in #3? Would this massively complicate outputting a loop of donators?
  8. Any other concerns related to this?