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) »
  • Free Membership + Additional Donation Enabled + Credit Card Fields
Pages: [1]

Author Topic: Free Membership + Additional Donation Enabled + Credit Card Fields  (Read 560 times)

Traveler777

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.2
Free Membership + Additional Donation Enabled + Credit Card Fields
December 26, 2011, 12:08:21 pm
Hi,

I am struggling setting up our Free Membership form correctly.

We have several different member levels, organization, professional, student. They all have a fixed membership amount and don't allow for additional donations.

I am now trying to set up a Free Membership, which has the following requirements:

1) Membership is free
2) Allow for additional donations

IF no additional donation selected, credit card fields should not show up (authorize.net) since it is a Free Membership. If additional donation selected, credit card fields show in form.

I tried to set this up, but it seems to me that the credit card fields are always displayed. Would like to get this to work, since Free Membership is important to us to collect user data, but we don't want to scare away people by asking their credit card information for a Free Membership.

Related post did not help me so far:

http://forum.civicrm.org/index.php/topic,10241.msg43859.html#msg43859
&
http://forum.civicrm.org/index.php/topic,1528.msg6623.html#msg6623

Am I missing anything or is it not possible?

Thanks for any help!

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: Free Membership + Additional Donation Enabled + Credit Card Fields
December 26, 2011, 05:47:35 pm

how about using some jQuery to do what you need.

On initial page load, hide the billing address section. If the user types in an additional donation show the billing address. Should not be too hard a snippet

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Free Membership + Additional Donation Enabled + Credit Card Fields

This forum was archived on 2017-11-26.