Hi Norm,
I don’t believe my plugin is causing this issue, but won’t know until I see your form code. Can you copy and paste that in a code block here, please?
Also, have you tried disabling the InfusionSoft plugin and just submitting a plain Contact Form 7 form? Does the issue resolve itself if you do that?
-Ryan
Here is the <strong contact-form-7-infusionsoft-add-on/src/conn.cfg.php I added my app name and API Key to.
<?php
$infusionsoft_app_name = get_option( 'infusionsoft_app_name', 'bc234' );
$infusionsoft_api_key = get_option( 'infusionsoft_api_key', '936590ade40f2f85a03108b724a74730' );
$connInfo = array( $infusionsoft_app_name . ':' . $infusionsoft_app_name . ':i:' . $infusionsoft_api_key . ':This is the connection for ' . $infusionsoft_app_name . '.infusionsoft.com');
?>
In edit mode it has (inactive) after the title. Is that a problem?
<form action="/index.php/get-in-touch/#wpcf7-f57-p35-o1" method="post" class="wpcf7-form" novalidate="novalidate">
<div style="display: none;">
<input type="hidden" name="_wpcf7" value="57" />
<input type="hidden" name="_wpcf7_version" value="4.3" />
<input type="hidden" name="_wpcf7_locale" value="en_US" />
<input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f57-p35-o1" />
<input type="hidden" name="_wpnonce" value="8da9b20781" />
</div>
<p>Your First Name (required)<br />
<span class="wpcf7-form-control-wrap infusionsoft-first-name"><input type="text" name="infusionsoft-first-name" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" aria-invalid="false" /></span></p>
<p>Your Email (required)<br />
<span class="wpcf7-form-control-wrap infusionsoft-email"><input type="text" name="infusionsoft-email" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" aria-invalid="false" /></span></p>
<p>Your Message<br />
<span class="wpcf7-form-control-wrap infusionsoft-notes"><input type="text" name="infusionsoft-notes" value="" size="40" class="wpcf7-form-control wpcf7-text" aria-invalid="false" /></span></p>
<p><input type="submit" value="Let's Connect!" class="wpcf7-form-control wpcf7-submit" /></p>
<div class="wpcf7-response-output wpcf7-display-none"></div></form>
You shouldn’t need to edit any PHP files at all. Instead, you should define these keys in the WP-Admin…
When I turned off the Infusionsoft plug-in, it worked. I also just removed the API key and the app name from the contact-form-7-infusionsoft-add-on/src/conn.cfg.php file.
Where in the wp-admin panel do I add the API key and app name?
It will be under the “Settings” menu of your Dashboard. Here’s a screenshot: https://ww.wp.xz.cn/plugins/contact-form-7-infusionsoft-add-on/screenshots/
I found it, set it and it works. Sorry for the inconvenience. Thanks so much for building this plug-in.
Not a problem! That’s what these forums are for. Glad you got it working!
Cheers,
Ryan