3

I am using CiviCRM 5.13.4 and Drupal Webform 7.x-4.20.

I am using the Webform to collect payments for Membership. The price of the available Membership Types is set up using a Price Set, which is called up by a Contribution Page, which itself is called up by the Webform.

When I change the price in the Price Set the amount charged by the Webform does not alter. If I open the Contribution Page directly in CiviCRM (as a test) it shows the new price, but the Webform still shows the old one.

I wish to retain the price setting in a single place, to avoid possible operational problems and inconsistencies, and the Price Set seems to logical way to do this. It there some other action needed to make it take effect, or is this a bug?

With thanks.

1

Have you added the 'Membership Fee' field to the webform under the memberships section?

Believe this will stop prices from being pulled from Civi.

Otherwise should pull across automatically as far as I am aware.

  • No, the 'Membership Fee' field is not selected. But as described above the price picked up on the Payments page has not been pulled across. – maynardsmith Sep 23 at 10:51
1

It turns out that the Webform is not picking the price up from the Price Set at all, but from the 'Minimum Fee' field of the Membership Type record. Even if the Minimum Fee is blank (NULL in the database) the Webform picks up zero rather than going to the Price Set. (I had forgotten that the Minimum Fee was set (or even existed)).

In fact, not clear why I need Price Sets at all - will save a level of complexity if I can do away with them.

Tony

  • 1
    Exactly! With Webform CiviCRM you can add-on a Contribution with additional line items which will give you a Contribution with line items (like a priceset does - but you build it as you need it on the webform) -> so buy a Membership, make.a Donation and buy a calendar all on the same form. – KarinG - Semper IT Oct 1 at 12:57
  • Hi KarinG, Could you point me at any description of just how to do that? – maynardsmith Oct 4 at 8:35
  • I have worked through that, and now don't have a (user generated) Price set at all. Much easier. Tony – maynardsmith Oct 14 at 11:45
  • Awesome! Glad to hear. – KarinG - Semper IT Oct 14 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.