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 Drupal Modules »
  • Drupal Webform Integration »
  • Webform membership form with multiple financial types
Pages: [1]

Author Topic: Webform membership form with multiple financial types  (Read 385 times)

sralsg

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.4.10
  • CMS version: Drupal 7
  • MySQL version: Hosted
  • PHP version: Hosted
Webform membership form with multiple financial types
December 15, 2014, 08:58:34 pm
Is it possible to have set-up a webform for memberships that records the financial type for a membership payment? We have a gift membership form (https://secure.wildsight.ca/giftmembership) that includes a CiviCRM contribution page with a few different membership types. Each membership type is associated with a different financial type in CiviCRM. Using the plain contribution page assigns the correct financial type to the membership contribution, but buying a gift membership through the webform gives the default financial type setting from the webform.

Is there a way to set this up correctly so that the correct financial type is recorded?

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Webform membership form with multiple financial types
December 16, 2014, 04:48:43 am
The webform-civicrm module uses the financia type assigned to the associated contribution page. Agree it's a bit simplistic. Patches/contributions toward improving it would be most welcome.
Try asking your question on the new CiviCRM help site.

sralsg

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.4.10
  • CMS version: Drupal 7
  • MySQL version: Hosted
  • PHP version: Hosted
Re: Webform membership form with multiple financial types
December 16, 2014, 07:14:44 am
Would it be enough to set contribution_page['financial_type_id'] to the financial type of the membership type in the case that a membership is being purchased? Or do we need to split the contribution per financial type and process multiple contributions?

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Webform membership form with multiple financial types
December 16, 2014, 06:11:27 pm
I think the correct fix would be to expose the financial type field on the membership object to the webform. So it would be an option when you confiure the membership along with the other membership fields (membership type, duration, etc).
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules »
  • Drupal Webform Integration »
  • Webform membership form with multiple financial types

This forum was archived on 2017-11-26.