Closed (works as designed)
Project:
RedHen CRM
Version:
7.x-1.x-dev
Component:
Shared
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2012 at 20:12 UTC
Updated:
23 Apr 2014 at 16:32 UTC
Jump to comment: Most recent
Comments
Comment #1
seanberto commentedNot yet, but that is a use case that we'll be addressing hopefully in the not too distant future.
Comment #2
summit commentedThanks in advance for building it!
Greetings, Martijn
Comment #3
CraigBertrand commentedWould love to have a status update. Looking at using these together for a non-profit I am working with.
Comment #4
m4oliveiNot sure if I'm looking for exactly the same thing as the OP. We are looking for an integration between RedHen and Drupal Commerce that would accomplish a simple donation form. Like the donation forms in CiviCRM, we'd want something that collects data to create/update a contact record and collects a donation at the same time.
Anything in the works? Any ideas along those lines? I'm a developer and we may have a client in need of this coming up. RedHen seems like a great fit for them for storing their contact data, they'll also need a donation form though.
Thanks,
Matt
Comment #5
seanberto commentedUpdate on Drupal Commerce integration:
One of the early goals for Drupal Commerce was a hook system that allowed other modules to provide their own Commerce customer profiles. However, this effort was put on hold by the Commerce team. Therefore, there's no way to use RedHen Contact bundles in place of Commerce customer profiles.
So, the solution is to map fields between the commerce profile entity bundle and your RedHen contact bundle(s). Glue code is then needed to keep these two entities in sync.
In some ways, this could be seen as a feature, in that you could connect multiple custom profile entities with a single RedHen contact entity.
We've been thinking through some interesting helper modules that would allow you to pull in RH contact field data when filling out a custom profile in the Commerce checkout process. However, we've not yet found an abstract-enough approach to put into a contrib module. For now, we're approaching these questions in our own client work with custom code. As we get more experience solving this problem, we will work towards a more generic, abstract solution.
Contrib modules to solve this problem would be great if anyone's interested in tackling the issue.
We'll ping this ticket back with more info and examples of how we're addressing the issue.
-Sean
Comment #6
m4oliveiThanks Sean, that's helpful, please do keep this up to date.
Been doing some research and there isn't a whole lot out there on Commerce + Donations. Best thing I've found so far is this: http://commerceguys.com/blog/using-custom-line-items-provide-donation-fe.... Basic idea here is you have a donation product that the user sets the price on (their chosen donation amount). However, this and other approaches I've seen don't tackle the awkwardness of using a cart workflow for a donation.
Another approach that is used is on this site:
https://ioby.org
Which seems to use a custom FAPI form that creates a product with price set to the users chosen donation amount on the fly and adds that to the cart, they then push the user through the cart flow. They talk about it here:
http://www.newsignature.com/blog/2011/05/06/drupal-7-commerce-in-action-...
I think for Commerce/RedHen integration, the most likely use case would be a donation form like CiviCRM offers (eg. https://www.broadbentinstitute.ca/en/civicrm/contribute/transact?reset=1...). Which is Step 1 give us your contact and payment info, Step 2 confirm, done. In the backend a contact record is created/updated and the donation is processed. Have you guys achieved something like this in your custom work? My biggest challenge is filling the gap when you disable Commerce Cart.
Thanks,
Matt
Comment #7
nedjo@m4olivei: Thanks for the comments and details. I'm also interested in working with RedHen and donations. Have you looked at http://drupal.org/project/commerce_donate?
Comment #8
m4oliveiI haven't looked at it specifically, although, reading the project page description, it sounds exactly like Randy Fay's video tutorial which I referenced in my last comment. There is still the awkwardness with the cart. Need to figure out how you can just have a two step form (contact/payment, then confirm, done). It will definitely need to be a custom solution, I don't think there is any combination of contrib modules that would do it. Would likely be a matter of building a custom FAPI form, that on submit hooks up with the appropriate Commerce and RedHen API functions to get the work done.
Comment #9
skesslerHave any progress been made on this because I am looking at either integrating Drupal Commerce and CiviCRM or Using Red Hen. I am willing to put in work on making the connection with Red Hen and DC but I want to see if anything else have moved forward in this so I know where things are before I start.
Thanks,
Steve
Comment #10
seanberto commentedSo, there are two conversations going in this ticket. Re: general RedHen/Commerce integration, we are still largely blocked by customer profiles not being "swappable" in Commerce. Therefore, I'm not exactly sure what an integration would look like, other than some glue code to keep custom profile entities and RedHen contacts synced. This is a bit limiting,however, b/c the two entities could have different fields....
We just RH and Commerce together all the time on our projects, and the glue code isn't hard to write/maintain....
Re: donations, that's not really a RedHen question, so much as a Commerce question. It'd be great if someone wanted to start a separate ticket thread on that.
Closing for now b/c we're doing some ticket queue cleaning.
Oh, and check out the new dedupping feature in the latest release of RH!
Comment #11
seanberto commentedSo, there are two conversations going in this ticket. Re: general RedHen/Commerce integration, we are still largely blocked by customer profiles not being "swappable" in Commerce. Therefore, I'm not exactly sure what an integration would look like, other than some glue code to keep custom profile entities and RedHen contacts synced. This is a bit limiting,however, b/c the two entities could have different fields....
We just RH and Commerce together all the time on our projects, and the glue code isn't hard to write/maintain....
Re: donations, that's not really a RedHen question, so much as a Commerce question. It'd be great if someone wanted to start a separate ticket thread on that.
Closing for now b/c we're doing some ticket queue cleaning.
Oh, and check out the new dedupping feature in the latest release of RH!
Comment #12
seanberto commentedSo, there are two conversations going in this ticket. Re: general RedHen/Commerce integration, we are still largely blocked by customer profiles not being "swappable" in Commerce. Therefore, I'm not exactly sure what an integration would look like, other than some glue code to keep custom profile entities and RedHen contacts synced. This is a bit limiting,however, b/c the two entities could have different fields....
We just RH and Commerce together all the time on our projects, and the glue code isn't hard to write/maintain....
Re: donations, that's not really a RedHen question, so much as a Commerce question. It'd be great if someone wanted to start a separate ticket thread on that.
Closing for now b/c we're doing some ticket queue cleaning.
Oh, and check out the new dedupping feature in the latest release of RH!
Comment #13
seanberto commentedSo, there are two conversations going in this ticket. Re: general RedHen/Commerce integration, we are still largely blocked by customer profiles not being "swappable" in Commerce. Therefore, I'm not exactly sure what an integration would look like, other than some glue code to keep custom profile entities and RedHen contacts synced. This is a bit limiting,however, b/c the two entities could have different fields....
We just RH and Commerce together all the time on our projects, and the glue code isn't hard to write/maintain....
Re: donations, that's not really a RedHen question, so much as a Commerce question. It'd be great if someone wanted to start a separate ticket thread on that.
Closing for now b/c we're doing some ticket queue cleaning.
Oh, and check out the new dedupping feature in the latest release of RH!
Comment #14
seanberto commentedSo, there are two conversations going in this ticket. Re: general RedHen/Commerce integration, we are still largely blocked by customer profiles not being "swappable" in Commerce. Therefore, I'm not exactly sure what an integration would look like, other than some glue code to keep custom profile entities and RedHen contacts synced. This is a bit limiting,however, b/c the two entities could have different fields....
We just RH and Commerce together all the time on our projects, and the glue code isn't hard to write/maintain....
Re: donations, that's not really a RedHen question, so much as a Commerce question. It'd be great if someone wanted to start a separate ticket thread on that.
Closing for now b/c we're doing some ticket queue cleaning.
Oh, and check out the new dedupping feature in the latest release of RH!
Comment #15
davidwbarratt commentedHere's the #2248103: Donations thread if anyone is interested in continuing the conversation about Donations. :)
Thanks!