• Resolved takamu

    (@takamu)


    I probably found a bug.

    I use “WP Mail SMTP” and other analytics-API-based Plugins, which are…

    (i) Google Analytics Dashboard for WP (GADWP)
    (ii) Simple GA Ranking

    ==Case 1 ==
    I created a fresh website only with these 3 plugins.
    In this case, google shows “400. That’s an error. Error: invalid_request. Missing required parameter: client_id”.
    I surely found client_id was NULL.

    ==Case 2 ==
    I created a fresh website only with “WP Mail SMTP” and (i),
    using a project on Google API with Analytics and Gmail API allowed.
    In this case, WP Mail SMTP requires both Analytics and Gmail permission, and failed with error “There was an error while processing the authentication request. Please try again.”

    ==Case 3 ==
    I created a fresh website only with “WP Mail SMTP” and (i),
    using a project on Google API only with Gmail API allowed. and I also created another Google API project only with Analytics API.

    I succeeded in getting authentication in this case.

    but it needs 2 projects. Since the number of Google API projects is limited, it’s troublesome.

    ==Conclusion==
    I assume “WP Mail SMTP” has a bug. It mistakenly requires other API. It isn’t able to process authentication properly.

    I hope this problem would be solved in next version 1.3.0.

    Thank you in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    Hi @takamu,

    Thank you for a very detailed report!

    You are correct, WP Mail SMTP has a bug, that I will fix in 1.3.0. But it’s not only SMTP plugin but those others plugins too, as we all are not escaping properly Google Service API library.
    We should all prefix classes properly.

    Plugin Author Slava Abakumov

    (@slaffik)

    @takamu

    I reviewed your feedback one more time, tested with GADWP plugin.

    = Case 1 =
    I can’t replicate it, using WP Mail SMTP 1.2.5.

    = Case 2 =
    WP Mail SMTP requires only Gmail API. You Project may have several APIs available, but SMTP plugin will request access to Gmail only.
    I’ve tested that, having 2 APIs in one project doesn’t break WP Mail SMTP.

    = Case 3 =
    It works for you and for me, no issues here.

    == Summary ==
    I think you made some mistakes in configurations. I was not able to replicate any of the issues that you described.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with Analytics Plugin and API’ is closed to new replies.