• Resolved godzilla74

    (@godzilla74)


    I’m working with a developer on an issue with a GHL/GF integration and this was his summary of an issue:

    Here are my findings with the conflict with?GHL for Gravity Forms:

    File:
    go-high-level-extension-for-gravity-form/ghl_api/ghl-get-token.php (5)

    Line 5:if ( isset( $_GET[‘code’] ) ) {

    This line, connected to WordPress’ init is using only ‘code’ to check and execute a function and redirect, but it needs to be more specific to the context it’s being used: matching settings URL or even another query string that’s unique to the plugin.

    By simply processing and redirecting any matching ‘code’ request, it ends up hijacking other plugins and pages that also use that query string.

    Plugin that had a conflict:

    Their QuibkBooks OAuth callback does not process because GHL takes over the request and redirects to GHL’s settings page:

    As a matter of fact, even logged out users would be redirected to the login page with a subsequent redirection to the settings page if accessed something like this:
    example.com/?code=TEST

Viewing 1 replies (of 1 total)
  • Plugin Author ibsofts

    (@ibsofts)

    We have fixed this issue in our updated version of the plugin 5.0.2 and added more specific parameter for our plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict redirect’ is closed to new replies.