This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Contact Form 7 CiviCRM integration

Description

This plugin adds integration for CiviCRM to Contact Form 7. With this plugin it is possible to submit a contact to a local or remote CiviCRM system.

This adds a CiviCRM tab to Contact Form confgurations. If you enable CiviCRM processing the form will be submitted to the CiviCRM API v3. For information about using CiviCRM’s API see https://docs.civicrm.org/dev/en/latest/api/

The API requires an Entity and an Action. You may need to add additional parameters depending for the Entity/Action you specify. Use the API Explorer on your CiviCRM system to determine what additional parameters are required. The form parameters will automatically be included in the API call and the form variables need to match those expected by the API.
For example, if the API call needs a field called first_name then your form template should have a field called first_name (not first-name or firstName etc)

Screenshots

  • This screenshot shows the settings screen
  • This screenshot shows the screen for enabling and setting up CiviCRM integration on a contact form.

Installation

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings > CiviCRM Contact Form 7 Settings screen to configure the plugin, or follow the Settings link from the plugins page
  4. Enable CiviCRM on each CF7 form.

Reviews

June 28, 2022 3 replies
Since I got this working (with some quick and helpful advice from the author) it has worked very well. I love the flexibility of the API/form processor approach, which basically lets you do anything API v3 can do. The functionality is better than the Caldera Forms it replaced and it's free! The catch is it's really quite difficult to set up because the documentation is incomplete and debugging is difficult (the "API REST Log" extension in CiviCRM looks useful but I couldn't get it to work). The two big "gotchas" that caught me were the example CiviCRM path was wrong for WordPress (should be wp-json/civicrm/v3/rest) and the names of the form fields must match the entity names in the API, some of which (custom fields) are quite hard to discover. The problem is, there are a lot of things you have to get right (paths, permissions, API keys, variable names, API and PHP versions) and there are so many permutations of all of these that if it doesn't work you can spend days and days googling for clues and tearing hair out.
Read all 1 reviews

Contributors & Developers

“Contact Form 7 CiviCRM integration” is open source software. The following people have contributed to this plugin.

Contributors

Change log

1.9

Fix for WordPress 5.8

1.8

Fix for validation when no local CiviCRM

1.7

Added validation to settings page
Added link to settings from plugins page

1.6

  • Updated readme

1.5

  • Updated readme

1.4

  • Updated text domain

1.3

  • Updated data handling and added a path for the civicrm installation

1.2

  • Updated readme

1.1

  • Changed text domain

1.0

  • Initial commit