contact-form-drip provides the ability to integrate the contact-form plugin with Drip., (*1)
Requirements
This plugin requires Craft CMS 3.0.0-beta.20 or later, and of course craftcms/contact-form 2.0 or later., (*2)
This plugin makes calls to Drip's v2
API., (*3)
Installation
First install the Contact Form plugin, and then require contact-form-drip:, (*4)
composer require nathanheffley/contact-form-drip
Make sure to go to your site's Plugin control panel page and install the plugin, and then go to the setting page and enter your Drip account information and custom event name., (*5)
Using A Config File
If you don't want to use the settings page, you can create a contact-form-drip.php
file in your project's config/
folder. Inside that file you can set any of the settings that you see on the settings page., (*6)
<?php
return [
'accountId' => '1234567',
'apiToken' => 'apitokenvalue123456789',
'eventName' => 'My Custom Event'
]