Plugin does not to Salesforce Web to Lead URL (Here’s how to fix it)
-
Guys/gals,
First thank you for the amazing plugin, we’ve used for years.Second – Salesforce just finally deprecated the old web to lead url – so your plugin, currently, does not work (does not connect to web to lead form url).
This is the announcement by sf:
https://help.salesforce.com/articleView?id=Updating-the-Web-to-Case-and-Web-to-Lead-Endpoint-URL&language=en_US&type=1For now, to fix this, we’ve patched the plugin files:
plugins/Gravity forms salesforce/inc/web-to-lead.phpAnd change this line:
$sub = apply_filters( ‘gf_salesforce_request_subdomain’, ($test ? ‘test’ : ‘www’), $test );to this:
$sub = apply_filters( ‘gf_salesforce_request_subdomain’, ($test ? ‘test’ : ‘webto’), $test );
PLEASE NOTE
If you make this change, and the plugin upgrades (without making this fix) your changes will be lost, recommend you add a note to the plugin page (or alert your web editor team how to reproduce this if the plugin is upgraded or re-installed).Let us know when this is fixed and thank you again for the great plugin,
T
- The topic ‘Plugin does not to Salesforce Web to Lead URL (Here’s how to fix it)’ is closed to new replies.