Hi @3bsstudio
Does your Mailchimp list have double opt-in enabled? If so the email may not have been subscribed to the list, and therefore the webhook wasn’t triggered.
Also, double check that the Mailchimp key in the plugin settings matches the key used in the webhook URL.
- Go to WooCommerce > Subscriber Discounts.
- In the Mailchimp Key, enter a random string of letters and numbers.
- Copy this string to use later.
- Login to your Mailchimp account.
- Click Audience > Audience Dashboard.
- Click View Contacts button (towards the right).
- Click Settings > Webhooks.
- Click Edit next to the webhook you set up, or if you haven’t set one up click the Create New button.
- In the Webhook URL field, enter
https://yourdomain.com/?trigger-special-discount=true&discount-key=xxxxxxxxxxxx
Change yourdomain.com
to your actual domain name, and change xxxxxxxxxxxx
to the random string you entered in the plugin’s settings in step #2
- Under the “What type of updates should we send?” section, only check subscribes.
- Under the “Only send updates when a change is made…” section, check all three boxes (by a subscriber, by an account admin, via the API). This might have been where your problem was, if your signup form uses the API and you didn’t have that checked for example.
- Click Update
It should work after going through those steps.
Also, another thing to look out for is that the email address you are attempting to subscribe to the list may already be subscribed, so Mailchimp won’t trigger the webhook. In testing, you will want to confirm that the email address you are attempting to subscribe to the list isn’t already subscribed before testing, then confirm that it is subscribed after testing.
If that doesn’t work, let me know and I’ll see if I can help troubleshoot further.