CurtisL
Forum Replies Created
Viewing 1 replies (of 1 total)
-
We too got notification of this needing to be updated for a client. I did find that the plugin exposes a filter that allows you to make this update yourself if you have access and are comfortable editing to your theme’s files. Should work while waiting for a proper update.
Drop this in your active theme’s
functions.php
/** *---------------------------------------------------------------------- * Updating the Web-to-Case and Web-to-Lead Endpoint URL *---------------------------------------------------------------------- * * See: https://help.salesforce.com/articleView?eid=ss-tc&id=Updating-the-Web-to-Case-and-Web-to-Lead-Endpoint-URL&language=en_US&type=1 * * Websites using the W2C/W2L forms will cease to create new cases * and/or leads within customers’ Salesforce orgs if the websites are * not updated with the new endpoint URL by the Summer ‘17 release. * */ function update_gf_salesforce_request_subdomain( $sub, $test ) { return $test ? $sub : 'webto'; } add_filter( 'gf_salesforce_request_subdomain', 'update_gf_salesforce_request_subdomain', 10, 2 );
Current filter location in the plugin source:
gravity-forms-salesforce/inc/web-to-lead.php [line 711]
- This reply was modified 8 years ago by CurtisL. Reason: Noting of filter source code location
Viewing 1 replies (of 1 total)