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 CiviEvent (Moderator: Yashodha Chaku) »
  • Purchasing membership during event signup
Pages: [1]

Author Topic: Purchasing membership during event signup  (Read 806 times)

Thinkling

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
Purchasing membership during event signup
March 24, 2010, 11:46:42 pm
I'm trying to set up some custom membership/event fee logic and would appreciate advice on how to translate this into CiviCRM mechanisms.

My client is a non-profit that has both individual memberships (1 person) and family memberships (everyone at 1 address). They regularly have classes and events and charge members a discounted price. (Or you can think of it the other way around--non-members have to pay for a membership as well as the class. :)

We want to support the following event pricing logic:

1 person attending, you're already a member --> $25 class fee
1 person attending, you're not a member --> $25 membership + $25 class fee = $50 fee
2+ people at one address, not a member --> $40 family membership + 2x member fee for class = $90 fee
2+ people at one address taking class, already have a 1-person membership --> $15 membership upgrade + 2x class fee = $65.

And:
- One user should be able to register all attendees from the household and pay at once
- Two trips through paypal is not an option. So non-members should be able to become members as part of an event signup.

Is this reasonably feasible? We don't want to put the burden on the user to select the right pricing option for different attendees. As far as I can tell the same pricing options are always given for all of the attendees. I'd much prefer to collect the necessary information ("are you a member already? how many people will be attending?") and have the registration wizard determine the right choices.

Ideally, a membership would be created as a side-effect of the event signup. I don't see a way to include membership purchase with event registration the way you can with CiviContribute. I'd probably be willing to graft this in -- either insert a call to the civicrm_create_membership() API or set up a batch process that creates the memberships for attendees.

Also, in researching here on the forums I've seen suggestions about separate event listing for members vs non-members and for using price sets to create "extra attendee" fees; I don't want to go down routes that distort the participant data in the database--I need to be able to pull simple, accurate attendee lists.

Thanks in advance for any pointers.

Maarten.

lentilsoup

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 6
Re: Purchasing membership during event signup
July 23, 2010, 11:29:49 am
Did you ever figure out how to do this?

Thinkling

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
Re: Purchasing membership during event signup
July 26, 2010, 04:16:50 pm
Quote from: lentilsoup on July 23, 2010, 11:29:49 am
Did you ever figure out how to do this?

Not really. I attended a CiviCRM training day and talked with the CVC team about it. They suggested an approach (high level) so I took another look at the code base, and found that I had more questions than answers. I didn't have the bandwidth to do a deep-dive into the CiviCRM code base, and you have to do that to understand what you need to do to make this work. I decided to implement it on the Drupal side for now using Ubercart and to pull data into CiviCRM later.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Purchasing membership during event signup

This forum was archived on 2017-11-26.