Comments on: Add Subscriber to List using MailChimp API and PHP https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/ Web & Mobile App Development Company Wed, 28 Sep 2022 07:45:48 +0000 hourly 1 By: nels https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-209369 Wed, 28 Sep 2022 07:45:48 +0000 https://www.codexworld.com/?p=1736#comment-209369 how to do this in wordpress i have a custom plugin like contact form

]]>
By: Nishith https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-92035 Fri, 23 Aug 2019 13:29:27 +0000 https://www.codexworld.com/?p=1736#comment-92035 Thanks a lot Dude for the code… May you grow faster & faster…

]]>
By: deepak https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-84399 Thu, 02 May 2019 06:01:09 +0000 https://www.codexworld.com/?p=1736#comment-84399 thank u so much for this code ..thanks alot again

]]>
By: Felix Karlsson https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-69556 Tue, 20 Nov 2018 13:32:30 +0000 https://www.codexworld.com/?p=1736#comment-69556 It appears that you should use POST instead of PUT
Also remove the .” $memberID;” from the $url.

I use http code 400 instead of 214 if someone already subscribed.

Reference:
https://stackoverflow.com/questions/44630184/mailchimp-api-status-200-for-members-who-are-already-subscribed

]]>
By: Felix Karlsson https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-69544 Tue, 20 Nov 2018 11:10:40 +0000 https://www.codexworld.com/?p=1736#comment-69544 As Bruno commented before: “case 214 (when email is already in the list) isn’t throwing the error… Any ideas?”

]]>
By: dhruval skywave https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-64666 Fri, 21 Sep 2018 07:33:55 +0000 https://www.codexworld.com/?p=1736#comment-64666 Great buddy
Really i appreciate it,if you don’t mind i just one suggestion please add you voice in video please do not add music.
otherwise its too good thank a lot brother.

]]>
By: Spencer Alexander Miller https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-64463 Tue, 18 Sep 2018 17:23:10 +0000 https://www.codexworld.com/?p=1736#comment-64463 Hi, thanks for the great source code. I am using the form in a WordPress code block and the action script is located on my hosting server. The form itself works well, the info is added in to the mailchimp list. However, I am encountering the “White Screen of Death”, where the user is redirected to the form action PHP file url. I even removed the header redirect and the problem persists.

]]>
By: Kristof https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-57753 Fri, 01 Jun 2018 18:00:25 +0000 https://www.codexworld.com/?p=1736#comment-57753 Hi, I want to thank you for this code! It works splendidly!

]]>
By: George https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-57585 Mon, 28 May 2018 08:11:14 +0000 https://www.codexworld.com/?p=1736#comment-57585 Well, I cannot say thank you enough! Just copied and pasted – no errors, no nothing, only working as advertised!

]]>
By: john https://www.codexworld.com/add-subscriber-to-list-mailchimp-api-php/comment-page-1/#comment-54900 Mon, 19 Mar 2018 14:47:04 +0000 https://www.codexworld.com/?p=1736#comment-54900 This made it easier for me. But what about unsubscribing, how do i go about it

]]>