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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Matching donations
Pages: [1]

Author Topic: Matching donations  (Read 1464 times)

dalin

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 8
  • CiviCRM version: many
  • CMS version: Drupal 6
  • MySQL version: 5.0
  • PHP version: 5.2
Matching donations
April 22, 2008, 01:58:55 am
For the same bid as the previous message the client also wants to track matching donations.  This would require relating contributions to pledges which AFAIK doesn't yet exist.  Here's my thoughts on workflow:

  • An organization agrees to match contributions based on some criteria (time frame etc.). 
  • A “matching pledge” object is created for the organization with fields for criteria (time start, time end, amount min, amount max). 
  • Several contributions are recorded to various contacts that match the criteria.  If they match the criteria they are recorded as a match.
  • Once the time frame has ended all matching contributions are totalled and the organization makes one contribution.

I think this could be done as an independent module, only using the post hook to integrate with contributions.  Or is there more required here.  What might this take to build as far as actual components and the time required?
 
--
Dave Hansen-Lange
Web Developer
Advomatic LLC
http://advomatic.com
Hong Kong office

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Matching donations

This forum was archived on 2017-11-26.