• This is to advise that this plugin works well with the current version of wordpress 4.7.3. You need to use OAuth 2 in setting and use the corrsponding API details from Mautic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think you’re one of the lucky ones, because it is NOT working for my installation. Perhaps you can share your complete configuration, including your Mautic version number and the base URL you’ve got for your OAuth 2 connection?

    I’ve got WP 4.7.3 and Mautic 2.5.1 (don’t get me started on updating to 2.6.1…). I can get my Mautic API to accept the connection with WP, but when I try to add a new form integration (Gravity Form) I get a fatal error:

    Fatal error: Uncaught exception 'Mautic\Exception\IncorrectParametersReturnedException' with message 'Incorrect access token parameters returned: invalid_request' in /path/to/my/domain/wp-content/plugins/wp-mautic-form-integrator/lib/Auth/OAuth.php:620 Stack trace: #0 /path/to/my/domain/wp-content/plugins/wp-mautic-form-integrator/lib/Auth/OAuth.php(450): Mautic\Auth\OAuth->requestAccessToken('POST', Array, 'json') #1 /path/to/my/domain/wp-content/plugins/wp-mautic-form-integrator/wp-mautic-form-integrator.php(379): Mautic\Auth\OAuth->validateAccessToken() #2 /path/to/my/domain/wp-content/plugins/wp-mautic-form-integrator/wp-mautic-form-integrator.php(473): haw_mautic_integration_get_forms_from_server('haw-mautic-inte...') #3 [internal function]: haw_mautic_integration_add_new('') #4 /path/to/my/domain/wp-includes/class-wp-hook.php(298): call_user_func_array('haw_mautic_inte...', Array) #5 /hom in /path/to/my/domain/wp-content/plugins/wp-mautic-form-integrator/lib/Auth/OAuth.php on line 620

    I was getting the same errors.

    I deleted the old api keys and then created new ones (Both were v2).

    I then needed to reauthorise the app. After logging in to Mautic, there is an error message about the redirect url

    {“errors”:[{“message”:”The redirect URI provided does not match registered URI(s).”,”code”:400,”type”:”redirect_uri_mismatch”}],”error”:”redirect_uri_mismatch”,”error_description”:”The redirect URI provided does not match registered URI(s). (error and error_description are deprecated as of 2.6.0 and will be removed in 3.0. Use the errors array instead.)”}

    I then checked my redirect url manually and it redirected me to the add new integration page and could see all the forms.

    Go figure.

    I have same problem

    {“errors”:[{“message”:”The redirect URI provided does not match registered URI(s).”,”code”:400,”type”:”redirect_uri_mismatch”}],”error”:”redirect_uri_mismatch”,”error_description”:”The redirect URI provided does not match registered URI(s). (error and error_description are deprecated as of 2.6.0 and will be removed in 3.0. Use the errors array instead.)”}

    How can help ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Works well with WordPress 4.7.3 with OAuth 2’ is closed to new replies.