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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Civicrm API Contribution/Subscription Forms
Pages: [1]

Author Topic: Civicrm API Contribution/Subscription Forms  (Read 404 times)

ojkelly

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
Civicrm API Contribution/Subscription Forms
August 25, 2014, 10:16:43 pm
Hey all,

What's the feasibility of building a contribution/subscription page that is completely independent to civicrm and only interacts via the API?

A fair amount of the work I'm doing to trying to do is not very manageable with the subscription forms as they currently are, and after using the API more and more, I'm considering what it would take to build a form independent of CIVI.

Now, it wouldn't be completely separate, I want to be able to make heaps of forms quickly that have all our extra stuff on them. So I imagine extending webform or making a custom drupal module, and pulling a list of subscriptions that could be chosen as options.

I also want to be able to do some custom stuff on the subscription forms that isn't currently possible, such as allowing someone to renew someone else's subscription.

So here's my main question, can I do this all via the api without loosing functionality?
Payment etc?

Thanks
Owen


« Last Edit: August 25, 2014, 10:49:19 pm by ojkelly »

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Civicrm API Contribution/Subscription Forms
August 25, 2014, 11:23:13 pm
Hi Owen,

without guarantees: yes I think you should be able to do what you need to do using the API. If you run into specific functional demands for your specific situation you can always create your own api wrapper. I am assuming you are using the Webform - CiviCRM integration module?
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Civicrm API Contribution/Subscription Forms
August 26, 2014, 12:07:12 am
It's already been done:
http://drupal.org/project/webform_civicrm
Try asking your question on the new CiviCRM help site.

ojkelly

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
Re: Civicrm API Contribution/Subscription Forms
August 26, 2014, 06:15:36 pm
Hey Erik and Coleman,

Thanks for your replies.

I thought the same, that I could extend out the API's.

I'm looking into webform_civicrm. I'm trying to solve some very specific problems with gift memberships (purchasing and renewing), and I'm exploring every option I can find.



Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Civicrm API Contribution/Subscription Forms
August 27, 2014, 12:13:31 am
http://civiteacher.com/video/how-gift-memberships-webform
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Civicrm API Contribution/Subscription Forms

This forum was archived on 2017-11-26.