Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module demonstrates how to integrate Drupal Commerce with CiviCRM Events, allowing users to register for CiviCRM events through a Drupal Commerce checkout process. It creates participant records and contributions in CiviCRM based on event purchases made via Drupal Commerce.

Commerce CiviCRM Event Registration provides an example integration between Drupal Commerce and CiviCRM Events.
Intended to be an example, and demonstration of integration possibilities between the two ecosystems.

Installation and Configuration

Requires Drupal Commerce and CiviCRM Entity

Requires Field Formatter Class

Install module per Drupal norms

Setup a Commerce store: /admin/commerce/config/stores
click "Add store" and fill out form. This is only necessary for a new Commerce installation.

At least one payment gateway is requierd to complete checkout, create one at admin/commerce/config/payment-gateways if necessary.

Set order type to use new checkout workflow
Assuming "Default" order type: /admin/commerce/config/order-types/default/edit
"CHECKOUT SETTINGS" fieldset, "Checkout flow" field
set to "CiviCRM Event Checkout Flow" and save.

Also, assuming there exists a "default" order type. a "CiviCRM Contribution" field will be created. If you do not have the "default" order type. Manually create a with machine name field_civicrm_contribution on your order type. Entity Reference, referencing entities of type "CiviCRM Contribution". This should be the same order type that uses the "CiviCRM Event Checkout Flow"

Provides a Product and Product Variation type, "CiviCRM Event"

Create CiviCRM Event product:
product/add/civicrm_event
Make sure to reference the CiviCRM event in the "CiviCRM Event" field. On checkout, CiviCRM participant records will be created for the referenced event, with a CiviCRM Contribution.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.5 Stable 9–11 Feb 6, 2025