I am updating this because I found out a few things:
1. It still doesn’t work at all if I set “subscribe event” to “order created”
2. It works if I set “subscribe event” to “order completed”, but not completely. No matter I checked or not the opt_in checkbox, it always subscribe the email to the mailchimp list (or send an email depending on the configuration). Weirdly enough the custom field ‘ss_wc_mailchimp_opt_in’ is stored correctly in the database.
I found this line (108) in the class-ss-wc-integration-mailchimp.php:
if ( ! isset( $order->order_custom_fields[‘ss_wc_mailchimp_opt_in’][0] ) || ‘yes’ == $order->order_custom_fields[‘ss_wc_mailchimp_opt_in’][0] ) {
That seems the only place where the method subscribe is called on and I see nothing wrong with the condition.
I have a fix for this that will go out tomorrow. Apologies for the inconvenience. Woo changed a bunch of things with release 2.1.
Please install the latest version (1.2.3) and let me know if you still have any issues.
Hi anderly,
I also have the same issue. I’m pretty sure I follow all the instructions, but it wont pass a single subscriber to my mailchimp list. Hope you can help me. Your plugin is really simple and very useful if it works. Thanks!
Btw, im using the following version
WordPress 3.8.1
WooCommerce MailChimp 1.2.4
WooCommerce 2.1.2
@notradam,
Can you enabled WP_DEBUG and place a test order? This will log some debug info to wp-content/debug.log file that will help with troubleshooting.
You can disable WP_DEBUG after placing the test order. Then, open the debug.log file and send me what you have.
All,
I just published version 1.2.5 which should fix the subscribe problem. Turns out it was working fine if you were displaying the opt-in field on checkout but had broken after WooCommerce 2.1 if you were not displaying the opt-in field.
Please update and let me know if you have any issues.
Adam
@anderly,
Thanks for the reply. I was able to make it work few days ago by displaying the opt-in field on checkout (1.2.4 version). Your plugin is really great! Cherz!
Hey Andersly,
Putting the finishing touches on my first WP site and I was giving your plugin a whirl. I seem to be having a similar problem as the others in this thread. Everything appears to be working except that my purchasers aren’t being added to my mailchimp list.
I’m running the following:
WordPress v3.8.1
WooCommerce v 2.1.5
WooCommerceMailChimp v 1.2.6
Any suggestions would be greatly appreciated, and thank you for all you do!
Jb
@twelvethirtyfive,
I just pushed an update to address an issue with the “Order Created” subscription event when PayPal is the Payment Gateway.
If that’s your case, please update to version 1.3 and let me know if that fixes the issue for you.