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) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Add relationship on paiement
Pages: [1]

Author Topic: Add relationship on paiement  (Read 2047 times)

Pierre Coutant - Cyim

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7
  • MySQL version: 5.1.65-community
  • PHP version: 5.3
Add relationship on paiement
June 18, 2013, 12:40:52 am
Hi,

I am currently working on civiContribute.
I would like to add a relationship on contribution paiement.
This contribution is linked to a membership.
I am using a price set on this contribution and I want to automatically link my relationship with the selected price.
To be precise, this relationship is beetween contact and organization.
Exemple : - Price 100€ -> relationship Simple Member
        - Price 200€ -> relationship Special Member
        - Price 500€ -> relationship Full Member
       
Could you tell me how to do this ?

Thank you in advance.

Pierre COUTANT - Cyim.
« Last Edit: July 16, 2013, 09:01:48 am by Pierre Coutant - Cyim »

Matthias de MAUROY - CYIM

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 4
  • Working at CYIM
    • CYIM
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7
  • MySQL version: 5.1.66-community-log
  • PHP version: 5.3
Re: Add relationship on paiement
July 23, 2013, 06:15:30 am
Hi,

I'm working on this with Pierre Coutant, can someone be of any help ?

Thanks
Matthias de MAUROY
Analyste Web Developpeur
BU WEB
Tél. : +33 (0)2 99 22 83 40
Fax : +33 (0)2 99 22 83 41
Mail : m.mauroy@cyim.com
CYIM
31, rue de la Frébardière
35135 CHANTEPIE
FRANCE

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Add relationship on paiement
July 25, 2013, 03:20:19 pm
This sounds like you'll need a hook - though fortunately that sounds like only a dozen or so lines of code.  Alternatively, if you're on Drupal you can try to use Eileen's civicrm_entity module along with Rules, but that code isn't production-ready, so use at your own risk!

Jon
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Add relationship on paiement

This forum was archived on 2017-11-26.