WPIntell

Source evidence

Unable to resubscribe

Quform Mailchimp · support · 2019-10-30T14:06:00+00:00

mixedsentiment
mediumseverity
0.85relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

6 / 34 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
szmigieldesign resolved
Hello, I have a form that manages subscription without any problems. However, after the user has decided to unsubscribe, it’s impossible to subscribe again using the API (via quform) – users don’t receive confirmation emails. Is it related to the plugin or mailchimp? I’ve just tested the resubscribe behavior on default (embedded) Mailchimp form and it works. I can unsubscribe and then fill in the form and I receive subscription email without any problems. It seems that for some strange reason it doesn’t work with Quform. Once unsubscribed, trying to subscribe again with Quform form is impossible – subscription email is not triggered and the user status doesn’t change from unsubscribed to subscribed. Hi It may help if you can see the response from Mailchimp when Quform adds the subscriber. You can use the Log HTTP Requests plugin to see this. I will attempt to replicate this to see if there is anything that can be done within Quform to fix this. Regards, Ally Hi Can you try adding the following code to the WordPress theme functions.php file (or create a plugin for it). add_filter('quform_mailchimp_integration_data', function ($data, $form, $integration) { $data['status'] = $integration->config('doubleOptIn') ? 'pending' : 'subscribed'; return $data; }, 10, 3); With this change it sends the confirmation email when they resubscribe. I’ll do more testing and get this fix into the next update, it would be good to know if this works for you. Regards, Ally Yeah, it worked. Thanks! Since this code will be included with plugin update – shall I remove the code from functions.php prior to updating? Hi I’ve released version 1.0.4 of this plugin with a fix for this issue. The problem with the code I gave you above is that it will set subscribed users back to pending too, meaning they will need to confirm their subscription again. In the new version I made it so that only unsubscribed users will be resubscribed, either immediately or via the confirmation email depending on whether double opt-in is enabled in the integration settings, and currently subscribed contacts will be unaffected. So you’ll no longer need the code I gave you if you use the new version. Regards, Ally

Comments

5 shown
szmigieldesign 2019-10-31T15:51:00+00:00

I’ve just tested the resubscribe behavior on default (embedded) Mailchimp form and it works. I can unsubscribe and then fill in the form and I receive subscription email without any problems. It seems that for some strange reason it doesn’t work with Quform. Once unsubscribed, trying to subscribe again with Quform form is impossible – subscription email is not triggered and the user status doesn’t change from unsubscribed to subscribed.

ThemeCatcher 2019-11-04T11:53:00+00:00

Hi It may help if you can see the response from Mailchimp when Quform adds the subscriber. You can use the Log HTTP Requests plugin to see this. I will attempt to replicate this to see if there is anything that can be done within Quform to fix this. Regards, Ally

ThemeCatcher 2019-11-07T11:53:00+00:00

Hi Can you try adding the following code to the WordPress theme functions.php file (or create a plugin for it). add_filter('quform_mailchimp_integration_data', function ($data, $form, $integration) { $data['status'] = $integration->config('doubleOptIn') ? 'pending' : 'subscribed'; return $data; }, 10, 3); With this change it sends the confirmation email when they resubscribe. I’ll do more testing and get this fix into the next update, it would be good to know if this works for you. Regards, Ally

szmigieldesign 2019-11-08T14:07:00+00:00

Yeah, it worked. Thanks! Since this code will be included with plugin update – shall I remove the code from functions.php prior to updating?

ThemeCatcher 2020-03-21T16:47:00+00:00

Hi I’ve released version 1.0.4 of this plugin with a fix for this issue. The problem with the code I gave you above is that it will set subscribed users back to pending too, meaning they will need to confirm their subscription again. In the new version I made it so that only unsubscribed users will be resubscribed, either immediately or via the confirmation email depending on whether double opt-in is enabled in the integration settings, and currently subscribed contacts will be unaffected. So you’ll no longer need the code I gave you if you use the new version. Regards, Ally