Easy Digital Downloads - Gravity Forms Checkout
meteorgpl-plugin/edd-gravity-forms
Integrate Gravity Forms purchases with Easy Digital Downloads
This is the most powerful Salesforce integration available for WordPress.
Releases named in the vendor’s changelog or on WordPress.org that the repository does not have yet.
Added: Web-to-Lead setting to choose date formats for date fields (mm/dd/YYYY or dd/mm/YYYY)
Fixed: Warning in Gravity Forms 1.9 about Add-on requiring an update
Thank you to @zmonteca for this update. The great new functionality was added by him!
Fixed: Removed field vardump
Fixed: Issue saving Web-to-Lead settings for Gravity Forms 1.8.10 or higher. Thanks, @twiginteractive
If you haven't read the 3.0.5 notes, please do so!
If you haven't read the 3.0.5 changelog notes, please do so!
!!MAJOR UPDATE!! Please read through the changes below.
Fixed: Threw invalid API warning if settings hadn't been saved.
Fixed: Finally nailed the OAuth Refresh Token flow. It's all working nicely now.
Fixed: ispluginactive() not defined fatal error on activation
Modified: Hide Daddy Analytics custom API Name settings, unless the gfsalesforcecustomdaapinames filter returns true.
Fixed (API Version): Entry update improvement when set to manually export to Salesforce
Fixed (API Version): Live Remote Field Mapping improvements
Added (API Version): new hook "gfsalesforceshowmanualexportbutton" to disable "send to salesforce" button/checkbox
Web-to-Lead: Re-added the functionality to show the "Salesforce enabled" icon in the forms list that indicate active feeds are enabled for t...
API Version: Added a check to make sure server supports SOAP
Added: Add a new filter gfsalesforceformatdate to change date format for Date field type before exporting to Salesforce
Added: Manual export of leads - a new setting in the Form settings configuration that prevents all entries from being sent to Salesforce; on...
Fixed: Minor PHP static method warning
Fixed: Minor PHP static method warning
Added "Upsert" functionality - if an object (Lead or Contact for example) already exists in Salesforce, update it rather than creating anoth...
Web-to-Lead: Completely re-wrote the add-on to provide full Feed capability. See the FAQ to learn how to set up the new feeds: "Web-to-Lead:...
Added more filters: gfsalesforcemappedfieldname, gfsalesforcemappedvalue, gfsalesforcemappedvalue{$fieldname}. Thanks, @sc0ttkclark!
Added filters to modify connection details. See the FAQ item "How do I modify the Soap, Proxy, WSDL and connection settings?"
API
Updated Web to Lead
Updated Web to Lead to work with Gravity Forms 1.7+ form settings screens
Fixed Web to Lead picklist functionality. Thanks, Ryan Allen!
Fixed issue that should never have happened, but did: the "Gravity Forms Not Installed" message showed up for an user on the front-end of th...
Fixed one more issue with "Array" as submitted value when using select dropdown lists and Salesforce Field Mapping. Note: after updating the...
Fixed issue introduced in 2.2.4 that prevented options from being editable when Salesforce Field Mapping was not enabled.
Fixed issue with selecting Live Field Mapping where object information wouldn't load if there was an apostophe in the field name or descript...
Fixed issue where Web to Lead Form Editor would no longer load if Salesforce API plugin was enabled and not configured. As reported here and...
Added Edit Form and Preview Form links to Salesforce.com Feeds list
API: Made live updating optional with radio button
Added Salesforce picklist value mapping with Checkbox, Radio, Drop Down, and Multi Select fields. This feature dynamically pulls in fields f...
Fixed issue reported here with fatal error
Fixed: Added support for multiselect fields other fields with multiple responses
Fixed issue with HTML encoding to fix SOAP fatal error. Thanks, gmcinnes!
Renamed the plugin files so that you wouldn't need to re-activate.
Added API plugin. A complete rewrite; switched to SOAP API. Will require re-configuring the plugin.
Fixed issue with latest Gravity Forms preventing Salesforce checkbox from showing up - thanks Michael Manley!
Fixed issue where entered Salesforce field mapping labels were being overwritten by auto-labeling.
Fixes issue where all forms get submitted to Salesforce, not only enabled forms (reported on support forum).
Added support for Custom Fields (view the FAQ here, or the Gravity Forms Salesforce Add-on Settings page for this plugin)
Launch!
This is the most powerful Salesforce integration available for WordPress.
Add one setting, check a box when configuring your forms, and all your form entries will be added to Salesforce from now on. Integrating with Salesforce has never been so simple.
###Gravity Forms + Salesforce = A Powerful Combination
This free Salesforce Add-On for Gravity Forms adds contacts into Salesforce automatically, making customer relationship management simple. The setup process takes a few minutes, and your contact form will be linked with Salesforce.
Read the FAQ for information on how to integrate with Custom Fields.
The Gravity Forms Salesforce API Integration requires PHP 5.3 or higher.
If you have the following Salesforce Editions, you can use the included API Add-on:
If you use the following Editions, you will use the included Web-to-Lead Add-on:
When using the Web-to-Lead Add-on, you can choose to have form entries sent to Salesforce as Cases (like when using the Web-to-Case form) instead of as Leads.
If you have questions, comments, or issues with this plugin, please leave your feedback on the Plugin Support Forum.
The plugin fully supports multiple languages! Please help translate the plugin!
If you are using the Web-To-Lead Add-on you must have Web-To-Lead enabled. Read how to enable Web-to-Lead on Salesforce.com.
This is a known issue. We've tried everything to get this working, but Salesforce won't accept any submitted DateTime formats.
Here's how to enable the functionality. If you find a solution, let us know on that page.
Please check the box "Enable Salesforce debugging emails" in the Web-to-Lead settings page. Salesforce will send you an email with a reason the lead or case wasn't added.
See "Web-to-Lead: How do I create a Feed" below.
To create a feed:
The Salesforce debugging emails are sent to the website administrator by default. To modify this, add a filter to gf_salesforce_salesforce_debug_email_address that returns an email address.
To associate a Web-to-Lead with a Campaign, you must also set the "Member Status". Read the Salesforce help article
902A0000000aBC1). For Advanced Users: Alternately, you can make this form a Radio Button field with different Campaign IDs values for different options.If you are submitting to a "Multi PickList" field in Salesforce, the values need to be separated with ';' instead of ','. Add a filter to your functions.php file:
` add_filter('gf_salesforce_implode_glue', 'change_salesforce_implode_glue');
/**
Change the way the data is submitted to salesforce to force submission as multi picklist values.
@param string $glue ',' or ';'
@param array $field The field to modify the glue for
@return string ',' or ';' */ function change_salesforce_implode_glue($glue, $field) {
// Change this to the Salesforce API Name of the field that's not being passed properly. $name_of_sf_field = 'ExampleMultiSelectPicklist__c';
// If the field being checked is the Salesforce field that is being truncated, return ';' if($field['inputName'] === $name_of_sf_field || $field['adminLabel'] === $name_of_sf_field) { return ';'; }
// Otherwise, return default. return $glue; }
`
gf_salesforce_wsdl - Path to the WSDL (string)gf_salesforce_proxy - Proxy settings as an object with properties host, port (integer, not a string), login and password (object, ideally a ProxySettings object)gf_salesforce_soap_options Additional options to send to the SoapClient constructor. (array) See http://php.net/manual/en/soapclient.soapclient.phpgf_salesforce_connection - Modify the SforcePartnerClient object before it's returned.See the FAQ item above for an example of using a filter.
No, you only need one, and the API plugin is recommended: the Web-to-Lead plugin is no longer being actively developed. If you are using Web-to-Lead, you don't need the API plugin activated. If you are using the API plugin, you don't need the Web-to-Lead activated.
Your server must support the following:
Add the following to the bottom of your theme's functions.php file, before ?>, if it exists:
add_filter('gf_salesforce_enterprise', '__return_true');
This feature support was added in version 1.1.1. gf_salesforce_lead_source is the filter.
Add the following to your theme's functions.php file. Modify as you see fit:
` add_filter('gf_salesforce_lead_source', 'make_my_own_lead_source', 1, 3);
function make_my_own_lead_source($lead_source, $form_meta, $data) { // $lead_source - What was about to be used (normally Gravity Forms Form Title) // $form_meta - Gravity Forms form details // $data - The data passed to Salesforce
return $lead_source; // Return something else if you want to.
} `
` add_action('gf_salesforce_connection', 'gf_salesforce_set_default_assignement_rule');
function gf_salesforce_set_default_assignement_rule($client) { // Two Options for Setting Assignment Rule // 1. Pass in AssignmentRule ID and "false" to use a specific assignment rule. // 2. Pass in null and true to trigger the DEFAULT AssignementRule $header = new \AssignmentRuleHeader(null, true);
$client->setAssignmentRuleHeader($header);
return $client;
} `
You can. When you are trying to map a custom field, you need to set either the "Admin Label" for the input (in the Advanced tab of each field in the Gravity Forms form editor) or the Parameter Name (in Advanced tab, visible after checking "Allow field to be populated dynamically") to be the API Name of the Custom Field as shown in Salesforce. For example, a Custom Field with a Field Label "Web Source" could have an API Name of SFGA__Web_Source__c.
You can find your Custom Fields under [Your Name] → Setup → Leads → Fields, then at the bottom of the page, there's a list of "Lead Custom Fields & Relationships". This is where you will find the "API Name" to use in the Admin Label or Parameter Name.
If that doesn't work
If the fields are not submitting properly still, you may need to try a different approach: under "Lead Custom Fields & Relationships", click on the name of the field. The URL of the page you go to will be formatted like this: https://na123.salesforce.com/12AB0000003CDe4?setupid=LeadFields. You want to copy the part of the URL that looks similar to 12AB0000003CDe4. Use that value instead of the API Name.
Salesforce makes this a little difficult, sorry!
You need to add the following to your theme's functions.php file:
` add_filter('gf_salesforce_use_datetime', 'filter_the_gf_salesforce_datetime', 10, 3);
/**
Modify whether to use Date/Time format instead of Date based on the field key.
@param boolean $use_datetime Whether to use Date/Time.
@param string $key Key of field.
@param array $vars Array of relevant data: 'form', 'entry', 'field', 'feed'
@return boolean True: Use "Date/Time" format; False: use "Date" format */ function filter_the_gf_salesforce_datetime($use_datetime = false, $key = '', $vars = array()) {
// CHANGE THE NAME BELOW to the field name you want to use Date/Time for! if($key === 'MY__Custom_DateTime_Key') { return true; }
// If it's not a match, use default (Date) return $use_datetime; } `
If that doesn't work, you can modify the format for the date by using this code:
Add this to the bottom of your theme's functions.php file to force loading even if a SOAPClient class does not exist:
add_filter( 'gf_salesforce_soap_is_available', '__return_true');
Make the value of checkboxes 1 in Gravity Forms. See how to do that here.
This plugin is released under a GPL license.
composer require meteorgpl-plugin/gravity-forms-salesforce
The vendor’s license checks are intact: activate the plugin in WordPress with a license key bought from the vendor.
The plugin declares no license. The code is redistributed under the license the vendor declared in the plugin’s own headers.
Artwork, fonts, media and documents that may be licensed separately are not redistributed; the licensing page explains what is replaced or removed, and the security tab lists it per version. Support and update entitlement come with the license you buy from the vendor.
meteorgpl-plugin/edd-gravity-forms
Integrate Gravity Forms purchases with Easy Digital Downloads
meteorgpl-plugin/gravity-forms-constant-contact
Add contacts to your Constant Contact mailing list when they submit a Gravity Forms form.