Blog

Fixing The Gravity Forms Salesforce Add-On For WordPress

Free Web Hosting

Salesforce is a very popular Customer Relationship Management (CRM) platform. It allows businesses to closely monitor the status of their customers and offers insights into help manage and boost sales and retention rates.

Naturally, there are ways connect the most popular content management system with one of the most popular CRM platforms. One popular method is using the free Gravity Forms Salesforce Add-on found in the WordPress.org plugin directory, which will enable form entries submitted via forms made with the excellent Gravity Forms plugin to be passed as a lead to the Salesforce system. This is made possible thanks to Salesforce’s API.

Salesforce announced they would deprecate the old API endpoint that handles Web-to-Case and Web-to-Lead functionality as of April 20, 2018. Unfortunately, the aforementioned Gravity Forms Salesforce Add-on hasn’t been updated since September 2015, and when this change came into affect, entries are no longer sent to the Salesforce system as it uses the wrong URL for the API.

However there is good news. As the plugin extensively uses the WordPress hook system, the API endpoint can be corrected without even editing the plugin. Simply copy the below code into your functions.php file or into a custom feature plugin and the Gravity Forms Salesforce Add-on will resume working correctly.

https://gist.github.com/cameronjonesweb/a223df84aec88e8701124955ec29daf0#file-salesforce-gravity-forms-php

Did you find this post useful?

YesNo