CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • CiviContribute Suggestions »
  • Contributions of Multiple Contribution Types?
Pages: [1]

Author Topic: Contributions of Multiple Contribution Types?  (Read 4198 times)

dandaman

  • Guest
Contributions of Multiple Contribution Types?
August 25, 2008, 11:45:21 am
I did a search around the forum, and I don't seem to see any solution that currently addresses this problem.  However, I wanted to run this by the developer forum because it could be that I'm missing something as well.

A client of ours would like the ability for persons (and site administrators) to designate portions of a contribution as one Contribution Type and another portion to another type.  They often take contributions that come in that are partially donation and partially payments for services, thus the distinction is very important to them, but they also don't want their customers have to make entirely separate payments.

Is there a way within CiviCRM to do this?  Is there a modification that does this easily?  Any tips on how to go about this?  From my searches on the forum, it seems that this sort of thing does not exist and maybe that a couple people have been working on it, but no real results.

Thanks,

Dan

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contributions of Multiple Contribution Types?
August 25, 2008, 12:07:56 pm

the data model for online contribution pages does not allow for multiple contribution types. Each contribution page is associated with 1 contribution type which then gets propagated to the contribution. We also dont have a way of breaking up a contribution into multiple smaller chunks (though we do have the option of separate transactions for membership vs contribution)

Not sure how the client wants to split the contribution, but you can potentially have a cron job which goes in and "fixes" the contributions that are associated with the page and breaks them up appropriately and associate the types as needed.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

dandaman

  • Guest
Re: Contributions of Multiple Contribution Types?
December 17, 2008, 12:01:08 pm
Would there be any interest among others on making something like the ability to designate the contribution to a certain group within realms of the configuration of the Contribution Pages?  Lobo, do you have any thoughts on how much modification to the system this would entail?

Thanks,

Dan



Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contributions of Multiple Contribution Types?
December 17, 2008, 02:46:38 pm

Dan:

How would you distinguish between how much payment is of type A and how much is of type B. I suspect the rules for this might get a bit too complex and/or specific to an org

Might be worth storing this in a join table with: contribution id, contribution type id, amount. That way you can write custom rules for your use case. I'm not sure how generic we can make this. You can maintain and manipulate this table outside CiviCRM

lobo



A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • CiviContribute Suggestions »
  • Contributions of Multiple Contribution Types?

This forum was archived on 2017-11-26.