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 (Moderator: Dave Greenberg) »
  • One contribution for multiple contribution types
Pages: [1]

Author Topic: One contribution for multiple contribution types  (Read 4260 times)

chankartat

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Joomla 2.5.7
  • MySQL version: 5.1.63
  • PHP version: 5.3.8
One contribution for multiple contribution types
June 23, 2007, 02:18:54 pm
Allow a lump sum contribution for multiple contribution types to be specified. User can specify the amount to be splitted to each contribution type.

Reason for this feature is to allow a single receipt to be generated for receiving a single payment amount but showing the split into which contribution type.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: One contribution for multiple contribution types
June 25, 2007, 08:44:36 am
One way to accomplish this w/ existing functionality is to create custom field(s) which are "Used For" Contributions - and which give the donor a chance to specify their "allocations". Then include the field(s) in a profile on your Online Contribution page. In general, it seems that organizations will want to present these kind of choices in varied ways - so custom fields might be best overall.
Protect your investment in CiviCRM by  becoming a Member!

chankartat

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Joomla 2.5.7
  • MySQL version: 5.1.63
  • PHP version: 5.3.8
Re: One contribution for multiple contribution types
July 02, 2007, 06:00:12 am
Hi Dave,

I have created multiple Contribution Types with accounting codes for each. Each contribution type represents a fund (eg: child home fund, handicapped fund, etc...) Donors would like to pay a lump sum and specify the split amount for each fund. For the ease of administration, instead of creating a receipt for each fund contributed, I am thinking if its possible to have a list of funds and it's amount all in one single receipt issued to a Donor.

However, there are cons doing this way. As the list of funds (contribution types) grows longer it may not fit into a small receipt page (receipts are normally A5 size) and may span into a second page.


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: One contribution for multiple contribution types
July 02, 2007, 06:06:46 pm
CiviContribute currently only supports a single contribution type per Contribution - so you would have to process contributions "manually" to accomplish things in the way you're describing.
Protect your investment in CiviCRM by  becoming a Member!

jday

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 6
  • CiviCRM version: 4.2
  • CMS version: 7.15
Re: One contribution for multiple contribution types
October 18, 2010, 06:27:37 pm
Has there been any progress on multiple contribution types on a single contribution form? When you say you have to process "manually" does that mean if you want to designate portions of a contribution to different contribution types then you have to create multiple contribution records? So the user will receive multiple receipts for a single transaction?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: One contribution for multiple contribution types
November 03, 2010, 03:54:49 pm
No progress on multiple contribution types per single contribution ... however in 3.2 there is support for Price Sets on a contribution page (which you could potentially use to create multiple 'line items' for a single contribution). In this approach, you'd create a price set field for each "fund" (price set field type = text, with value of $1). User could then enter an amount for each field / fund:

[ 50] - Child Home Fund
[ 25] - Handi-capped Fund
===========
75 - Total

Might be some display issues to tweak but I think this could work.
Protect your investment in CiviCRM by  becoming a Member!

ToddW

  • I’m new here
  • *
  • Posts: 16
  • Karma: 1
Re: One contribution for multiple contribution types
May 06, 2011, 02:51:41 pm
Just thought I'd mention that I'm working on a payment processor for Vanco gateway (which apparently is used by many churches). Their API supports a single payment transaction split into various funds. I'm planning on using a price set as Dave outlined above for this. For the first pass, the admin will need to keep the price set synced up with the fund category's in their Vanco account. Eventually, I might try to programmatically keep the price set in sync with the gateway account.

 It's possible to query Vanco API to get a list of fund names and codes. Then the price set could be updated to match (prior to displaying a contribution form?). Not sure the best place to put that. I might have to hard code this special price set id, or add a config setting. Would be nicer if there was a way to have hook-built price sets, but that seems out of Civi's scope.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: One contribution for multiple contribution types
May 06, 2011, 02:58:39 pm
Todd - you might get some ideas for automating price set instantiation from Xavier's recent blog post:
http://civicrm.org/blogs/xavier/api_batch_tools
Protect your investment in CiviCRM by  becoming a Member!

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: One contribution for multiple contribution types
May 06, 2011, 03:09:00 pm

todd:

you might want to talk to paul or dave from backoffice thinking (who also do a lot of work for churches). i think they have a vanco payment processor and you might want to build on the work they have done

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

ToddW

  • I’m new here
  • *
  • Posts: 16
  • Karma: 1
Re: One contribution for multiple contribution types
May 06, 2011, 04:05:42 pm
Thanks. I pretty much have the gateway code done, but I'll look them up.

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: One contribution for multiple contribution types
May 30, 2011, 09:10:45 pm
You should also consider contributing to the CiviAccounting project at: http://civicrm.org/civicrm/contribute/transact?reset=1&id=11

As this project will allow one transaction/payment to be associated with multiple contribution types/funds.  The details are on the wiki at: http://wiki.civicrm.org/confluence/display/CRM/Finance+and+Accounting

 
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • One contribution for multiple contribution types

This forum was archived on 2017-11-26.