WPIntell

Source evidence

Works well with WordPress 4.7.3 with OAuth 2

WP Mautic Form Integrator · support · 2017-03-10T17:52:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
ancinoleo unresolved
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. 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 ?

Comments

3 shown
quietcity 2017-03-20T17:51:00+00:00

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

robwent 2017-05-17T12:21:00+00:00

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.

giosyst3m 2017-07-21T19:49:00+00:00

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 ?