At Kieran's request I moved my CiviCRM/E-Commerce support issue over here from the Generel Forum (http://drupal.org/node/43607):

Is there any experience out there with the combination of CiviCRM and E-Commerce? If so, how well are they integrated? I have been experimenting a little bit with them, but I'm not sure what to make of it. There is an 'ecivicrm' module which is supposed to 'Automatically syncronize data between Drupal's ecommerce module and CiviCRM', but after having added a person to the E-Commerce address book, it doesn't show up in CiviCRM. I have to admit that I haven't found the E-commerce address book yet, so I haven't been able to verify if the address actually has been added to address book at all.

Comments

jeremy’s picture

Assigned: Unassigned » jeremy

At this time, the ecivicrm module simply tracks donations and other purchases. The e-commerce transaction activity is stored in the user's civicrm activity history, making special note of any donations.

I am now working on making it so civicrm addresses are available to the e-commerce module (essentially replacing the existing address book). Assuming I don't run into any issues with the civicrm location API, I should have a functional version of this sometime this week that should work with CiviCRM 1.2+.

(BTW: To use the e-commerce address book instead, enable the address module.)

pjdevries’s picture

Thanks for the follow up Jeremey. Sounds good an I didn't expect it to be available that soon. But I assume it will be available for 4.7.0 and not for 4.6.5?

jeremy’s picture

The module will first be available for 4.6. Once the ecommerce upgrade to 4.7 is complete, then the module will also be ported to 4.7.

pjdevries’s picture

Great! I'm looking forward to it.

pjdevries’s picture

Any progress on the CiviCRM address book integration Jeremy? If so, I might attempt to get E-Conmmerce to work in my current project after all. That is, if I can also find a work around for the problem of anonymous users not being able to subscribe.

dgeilhufe@yahoo.com’s picture

Category: support » feature
Priority: Critical » Normal

Just a note, with CiviCRM 1.3 and CiviContribute, Ecommerce transactions should be recorded as contributions rather than activities. Just in case that wasn't on the radar screen. :)

mayschool’s picture

Hello!

I've just downloaded the most recent version of E-Commerce and Ecivicrm but it seems ecivicrm is still sending transactions as Activities rather than contributions - any idea when this functionality will be available?

Also, I am using just ecivicrm and not the address book module. Everything seems to work pretty well except when adding a new shipping or billing address. Here, on selecting a country with no states (Viet Nam) it tells me a Province / Region is required, despite there being no required star. If I enter one it then tells me
"State or Provice must be a valid name or abbreviation"

when I am entering a valid province name. Is there anyway to disable this check?

Many thanks - everything's looking pretty slick apart from that issue, and i'd love to see our charity christmas card sales appear as donations in civicrm.

gordon’s picture

I have actually taken over the development of ecivicrm and have done all of the updates to 4.7.

The main reason that this has not been implemented is that AFAIK no one has asked for it.

gordon’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)
Hubert_r’s picture

Version: » 4.7.x-1.x-dev
Component: other » ecivicrm
Category: feature » support
Status: Closed (fixed) » Active

Hello,

I have a basic install of Drupal 4.7, and have just installed the CiviCRM and E-commerce modules.
I have read a few topics on how the two should integrate with ecivicrm, but it doesn't seem to work here. Both modules work fine, but if I add a donation or buy a product through e-commerce, it doesn't show up in CiviCRM (Of course I've enabled ecivicrm). Should these modules be installed in a specific order? (I've installed civicrm, ecommerce and ecivicrm - in that order)

Many thanks for your help,

Hubert.

gordon’s picture

Status: Active » Fixed

By default only donations are added to the activities, and only once the payment has been completed.

If you complete the payment, then you should fine the activities created.

Hubert_r’s picture

Thank you for your reply.

Well even with a completed donation doesn't appear in CiviCrm. You can test it here:
http://88.208.208.193/
login: john_smith, password: john_smith
Again, it's a basic Drupal 4.7 install, with CiviCRM and ecommerce.

Incidentally, I also get an error during checkout if I try to add an address (I assume this is part of ecivicrm as well). After I fill in all the fields, I get the following:
Cannot use object of type CRM_Core_DAO_Phone as array in ...modules/civicrm/api/utils.php on line 57

Anonymous’s picture

I also see this error while adding an address. I am using CiviCRM 1.5 but am not sure how new the ecivicrm module but I believe it is from the end of August.

Hubert_r’s picture

I'm using CiviCRM 1.5 too, and the latest version of ecommerce (which I assume contains the latest version of ecivicrm).

Actually I couldn't get donations to appear in civicrm 1.4 either.

Hubert_r’s picture

So has anyone managed to have CiviCrm and Ecommerce to work together with ecivicrm? I am sorry to get back to this again, but I don't understand why I can't get it to work with a clean install.

Here is what I've done step by step:

- install Drupal 4.7.3 (works fine)
- install CiviCRm 1.5 (works fine - incidentally if I install 1.4 I get the same result as describe below)
- install Ecommerce (works fine)
- enable ecivicrm (the one included in the latest download of ecommerce)

Then I create a donation product, and perform a few donations with different users. Nothing appear in their "activities" or "contributions" records in CiviCRM.

I have used COD as the payment method - maybe I need to use something else?

Also, the error described above in the "add address" is worth considering.

allan niass’s picture

I need to set-up a basic e-commerce site to sell clothes for a client. He needs to be able to change the stock regularly and wants to have 3 sets of customers - Retail, Wholesale-shops he controls & Wholesale-shops controlled by others. Wholesalers will have login IDs.
Plus, he needs to use the stock database for basic stock control reporting.
I have Drupal with CiviCRM for another application and would like to just extend that, but is Drupal just the wrong tool for this job?

Hubert_r’s picture

A quick note: I've downloaded the version of ecivicrm that's on CVS (4.7), on now it works fine.

Anonymous’s picture

Status: Fixed » Closed (fixed)