This module is a port of uc_civcrm to provide the same functionality for commerce.
TODO This module assumes that email and phone fields for the customer address
are fields named 'email' and 'phone' respectively. These assumptions should
be made configurable by a setting.
TODO Payment integration still needs to be completed
TODO Support for commerce standard but not default fields. First name, Last name, Organisation etc.
TODO Support for addresses beyond the initial billing address.
To install this module, copy the commerce_civicrm directory and its contents to the
ubercart/contrib directory, then visit the admin/build/modules page and enable
Commerce/CiviCRM Integration module in the Commerce - extra section.
When a customer buys something from the Commerce store, the name and address
information they provide is added to CiviCRM. If the customer has a simple
contact record generated by syncing CiviCRM from the Drupal user table, that
record is updated with the new information. If no contact record exists, one is
Then the new or updated contact is added to the 'Purchasers' group or group
selected in the admin screen. A contribution record is added to the contact's
history and the 'Purchases' tab on the contact's dashboard entry is populated
with a link to the contact's order history in Commerce.