• Resolved tison_

    (@tison_)


    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=1

    For now, to fix this, we’ve patched the plugin files:
    plugins/Gravity forms salesforce/inc/web-to-lead.php

    And 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

    • This topic was modified 6 years, 6 months ago by tison_.
    • This topic was modified 6 years, 6 months ago by tison_.
Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter tison_

    (@tison_)

    @tw2113 thank you for this.

    When you say ‘developer conveniently provided’ where did you find it?

    Even more convenient – would have been to update the plugin lol, but this is helpful.

    If I could bump up your response in this thread I would, great stuff, thank you,
    T

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    “When you say ‘developer conveniently provided’ where did you find it? ”

    Literally in the line you originally posted and said to edit.

    Clickable for larger view:
    https://cloudup.com/c4AlELdd24x

    Plus i double checked by opening the file itself just to make sure. If they update and this change is part of it, then the filtering I provided will be fine to remove. Until then though, we do what we must.

    Thread Starter tison_

    (@tison_)

    @tw2113

    Mike – Yes I see that in the plugin file itself, but I was unable to find any documentation from the developer in regards to if that filter was overwritten later or how that specific filter was used, etc. If I could pin your response to this forum I would.

    And agreed it would help more if they’d update the plugin (one of us should take it over and continue it), Anyway thanks again this is great,
    Ti

    THANK YOU, EVERYONE! This worked for me on 4 of my websites.

    Thanks so much @tison_ … Worked like a charm. Also, there is an update referenced by @gravityplus … Have you tried it and ifm so did you have to reconfigure your web to lead forms? That would be a pain so I have not updated…

    recommendations are appreciated.

    Hi,
    Im having issues with this plugin and the suggested fix.

    Ive basically moved/exported forms to another site and am retesting. All the setting are the same, the code change on line 711 of web0to-lead.php is the same.

    The only difference that I can see is that the new site thats not working is running the latest Gravity Forms 2.35 as apposed to 2.3.4

    Does anyone know of a fix for this that applies to the latest Gravity forms update?

    Thanks
    Damien

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Plugin does not to Salesforce Web to Lead URL (Here’s how to fix it)’ is closed to new replies.