Simple Membership Plugin › Forums › Simple Membership Plugin › Want new subscriber added to MailChimp only when manually set to "active"
Tagged: Mailchimp integration
- This topic has 8 replies, 2 voices, and was last updated 7 years, 9 months ago by
mbrsolution.
-
AuthorPosts
-
August 25, 2018 at 12:35 pm #15285
swisspenelope
ParticipantHi
I have a site where members of the public sign up online to become members. The default account_state for each new person who signs up online is “pending”, and the default membership_level is “pending” too. After some checking, and when payment is received (these aspects are not-web-based), the Membership Administrator sets the new person from account state “pending” to “active” and from membership level “pending” to “member” in the SWPM admin area.
I have my MailChimp listname entered in the SWPM Membership Level panel for “member”, but no list for Membership Level “pending”.
My logic was that setting the Membership Level from pending to member would be the event that would add the newly-approved person to my MailChimp list. But it doesn’t work!
Can you help in case I am asking SWPM – MailChimp integration for the impossible?
Thanks
SP
August 25, 2018 at 10:06 pm #15293mbrsolution
ModeratorHi,
My logic was that setting the Membership Level from pending to member would be the event that would add the newly-approved person to my MailChimp list. But it doesn’t work!
Do you have the following addon installed in your site? Please also check the following documentation about how to integrate with MailChimp.
Let me know if you need more information or help.
Thank you
August 26, 2018 at 5:46 am #15297swisspenelope
ParticipantHello mbr and smp7,
Yes, I installed the MC add-on, got the API, put it in the field, etc etc etc.
The only diff. I can see between my SWPM setup and the “normal” one is that I never use the “complete registration” feature, because once the Membership Secretary has set the new person to Member and Active, there is nothing to complete for the user. Maybe this step has the piece of code that is needed?
Thanks,
SPAugust 26, 2018 at 9:32 am #15300mbrsolution
ModeratorHi,
I never use the “complete registration” feature,
That is what maybe causing this issue. Can you carry out a test and register as a test member. Then check to see if you are assigned to the MailChimp list name in question. But this time make sure that you follow the instructions in the documentation.
Also make sure you enable Debug mode. Then once the registration is complete, check the log files.
Let me know what happens.
Regards
August 26, 2018 at 10:31 am #15303swisspenelope
ParticipantHi again
I did another test, with new email address webmaster@mydomain.ch. I received the notification email in my inbox, as expected, and I’m sure the person who uses membership@mydomain.ch (our Membership Secretary) has received that notification too, as I regularly test these features anyway, especially after a new update to SWPM.
The log file shows:
[08/26/2018 10:16 AM] – SUCCESS: Member registration complete email sent to: webmaster@mydomain.ch. From email address value used: membership@mydomain.ch
[08/26/2018 10:16 AM] – SUCCESS: Admin notification email sent to: membership@mydomain.ch
[08/26/2018 10:16 AM] – SUCCESS: [MailChimp] Mailchimp integration addon. After registration hook
[08/26/2018 10:16 AM] – SUCCESS: [MailChimp] Debug data: |webmaster@mydomain.ch|First|Last
[08/26/2018 10:20 AM] – SUCCESS: After login redirection addon. Checking if member need to be redirected.The trouble is that the above proves nothing, because the membership@mydomain.ch address has not been added to my MC list, and I never received any opt-in message either. I check my spam and junk folders daily so the problem is not there.
August 27, 2018 at 2:34 am #15307mbrsolution
ModeratorHi, sorry for not clarifying my request about the test. Can you create a new registration but with a member that does not exist in your site. Another words a new e-mail address and a new user name.
Thank you
August 27, 2018 at 5:06 am #15311swisspenelope
ParticipantHi mbr, yes, I did that! The webmaster address is not someone who is registered as a user on this particular site at all.
August 27, 2018 at 5:09 am #15312swisspenelope
ParticipantBy the way, there was an error in my second-last post: the membership@ address exists of course … she looks after the membership requests. But the “new member” I created (the webmaster@ address) is one that I recreate and delete every time I do tests in SWPM, so it’s not in the SWPM db until the registration online is received. At that point, the new person appears as “pending” in the SWPM db.
August 27, 2018 at 5:29 am #15313mbrsolution
ModeratorThank you for reporting back. I have submitted a message to the developers to investigate further this issue.
Kind regards
-
AuthorPosts
- You must be logged in to reply to this topic.