Resubscribe option doesn’t work for MailerLite
-
Hello!
Firstly, I want to say thank you for the plugin. It is hard to believe that it is free, since it helps us a lot.
But it seems that there is a problem with resubscription. We have noticed that there is a flag to check under a MailerLite setting tab that is supposed to enable this feature. But even after checking it, we still face the same problems.
When somebody cancels the subscription via their email and subscribes to it again, their status in MailerLite doesn’t change. We can clearly see the error inside of the cf7connector log: “cf7connector_system.ERROR: “newsletter” [114]: MailerLite subscription is failed: Error: Subscriber type is unsubscribed”.
We have tried to use different contact forms and multiple email addresses, but all we can get is an another line in the error log, telling that “Subscriber type is unsubscribed”.
I have decided to check the source code of the plugin. As I see, a subscribe() method is called both to subscribe or resubscribe a client. The only difference is that method’s $options parameter with ‘resubscribe’=true value is passed in a case when resubscribe option is checked in the settings. But the method itself does nothing with that parameter when calling MailerLite API. And false value is assigned to a resubscribe parameter everytime when “/api/v2/groups/id/subscribers” endpoint is called, no matter what is selected in the settings page of the plugin.
(API DOC: https://developers.mailerlite.com/reference#add-single-subscriber)Maybe that is an issue? I could definitely be wrong, but after being unable to solve the problem by myself, I decided maybe asking for your help could be the better option than migrating to other plugin. Thus we will be patiently waiting for your answer.
A huge thank you in advance!
- The topic ‘Resubscribe option doesn’t work for MailerLite’ is closed to new replies.