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 CiviMember (Moderator: Deepak Srivastava) »
  • Membership types and renewal of back office free memberships to paid
Pages: [1]

Author Topic: Membership types and renewal of back office free memberships to paid  (Read 2563 times)

Paul E

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Membership types and renewal of back office free memberships to paid
July 20, 2011, 12:45:04 pm
Hi,

Drupal 7/Civi 4.0.4 question:

My organization has been using CiviCRM for back office work of tracking memberships for contacts. Contacts are added to the system via back office and manually assigned a complementary membership of membership type called "Complementary First Year," a membership type only available through the back end (not marked as public). As such, there is no contribution tied to these complementary memberships and when contacts view their contact dashboard, there is no renew link. The lack of a link isn't an issue in this case.

We would like members to have the choice to come back after the fact and renew their membership with a fixed contribution. We created a contribution page with a membership type of paid yearly or paid monthly--two separate membership types and amounts associated. When a contact hits the contribution page, Civi treats it as adding a new membership (the new membership portion of the contribution page is loaded, not the renewal part). The contact enters the payment, selects one of the two options--either monthly or yearly and enters credit card information. Once the payment is processed, Civi does not update the membership type--it still shows as "complementary first year." At this point, the contact dashboard shows the complementary membership with a renew link. When a contact attempts to use that renew link, they get a message that says:

Oops. The membership you're trying to renew appears to be invalid. Contact your site administrator if you need assistance. If you continue, you will be issued a new membership.

Is what I'm trying to do possible within Civi? Expected behavior would be that the membership would be updated to the correct membership type selected on the contribution page and that the renew link would work.

Best,
Paul

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Membership types and renewal of back office free memberships to paid
July 20, 2011, 01:20:56 pm
when they visit the contribution page are they seeing the radio buttons to select their membership type - ie annual or monthly - and if so, are you saying that even after selecting the required membership it only extends the original 'complimentary'?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Paul E

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: Membership types and renewal of back office free memberships to paid
July 20, 2011, 01:23:33 pm
That is correct, they see the "new membership" section and radio buttons and only get the original extended.

This post looks to be similar: http://forum.civicrm.org/index.php/topic,20225.msg84520.html#msg84520

Paul E

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: Membership types and renewal of back office free memberships to paid
July 20, 2011, 01:49:47 pm
I am able to replicate on http://drupal.demo.civicrm.org/. See http://drupal.demo.civicrm.org/civicrm/contact/view?reset=1&cid=163

Paul E

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: Membership types and renewal of back office free memberships to paid
July 20, 2011, 02:08:56 pm
Steps to replicate:

1. Use back office to add membership of type "Free"
2. Log in as contact and attempt to contribute via http://drupal.demo.civicrm.org/civicrm/contribute/transact?reset=1&id=6

Contact gets renewed "Free" membership instead of "Paid"


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Membership types and renewal of back office free memberships to paid
July 20, 2011, 03:45:22 pm
Paul - This definitely not expected behavior. The existing FREE membership should be renewed AND the membership type should be changed to PAID. I've escalated an already open issue with your bug report.

http://issues.civicrm.org/jira/browse/CRM-8141

Protect your investment in CiviCRM by  becoming a Member!

Paul E

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: Membership types and renewal of back office free memberships to paid
July 20, 2011, 06:43:57 pm
Is there a workaround? I read through the existing bug you linked to and it seems to be a different issue involving memberships across different organizations. Is this the same issue?

Paul E

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: Membership types and renewal of back office free memberships to paid
July 20, 2011, 08:45:57 pm
I believe I've fixed this by adding the following at line 1363 of CRM/Member/BAO/Membership.php:
Code: [Select]
                $currentMembership['reminder_date'] = CRM_Utils_Array::value( 'reminder_date', $dates );
                $currentMembership['is_test']       = $is_test;
               +// Attempted fix
               +$currentMembership['membership_type_id'] = $membershipTypeID;

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: Membership types and renewal of back office free memberships to paid
July 21, 2011, 08:57:03 am
Hi Paul,
I'm working on the JIRA issue and believe your symptoms, though different, spring from the same cause of not having membership type update properly. The workflow you describe would end up creating payments for a membership that is a free membership type. Thanks for your detailed reporting. I'll be posting a patch for this today I expect.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

crispinbailey

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
  • CiviCRM version: 4.0.5
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Membership types and renewal of back office free memberships to paid
August 26, 2011, 11:28:27 am
Hey Joe, any update on this? I checked the JIRA issue just now but it seems that the problem has not been fixed yet (according to Paul E) and there's been no update to the issue log for over 2 weeks. I expect I'm going to run into this issue myself soon as my client's free trial memberships all lapse a couple months from now. :-\

Please let me know if there's anything I can do to help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Membership types and renewal of back office free memberships to paid

This forum was archived on 2017-11-26.