• Resolved Chrissy Scivicque

    (@chrissy-scivicque)


    I placed a test order through Woo commerce and it did not get sent to Mail Chimp. The log says:

    2023-12-27T18:20:11+00:00 NOTICE handleOrderUpdate :: order_status
    2023-12-27T18:20:11+00:00 NOTICE debug :: Order ID 89959 was processing and is now completed :: Array
    (
    [new_order] =>
    [tracking] =>
    )

    2023-12-27T18:22:41+00:00 NOTICE order_process :: Order #89959 skipped, user #3 user role is not in the list

    What does this mean and how do I avoid this in the future?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jordan Rich

    (@builtbyjordan)

    Hi there Chrissy,

    This means that the customer/user #3 that placed order 89959 is a WordPress user/customer account that has a role that is not compatible by default. Without knowing the exact details of your store. This could mean that customer/user #3 is either a Admin or a role other than a customer or subscriber. For example some stores choose to use “student” as a user role to purchase courses on their site. That role wouldn’t be compatible. Here’s an example screenshot of where the roles can be found in WordPress user profile dropdown.

    If one happens to be testing the orders by being logged in as an Admin that order will not sync because the role is not included by deafult. We suggest to test in a separate browser profile and _not_ logged in as a admin.

    The user roles that are synced in Mailchimp for WooCommerce are the “Customer” and “Subscriber” roles. These roles are synced by default, and if a user does not have either of these roles in WordPress, their order and campaign data will not be synced to Mailchimp. Other user roles, such as “Contributor,” “Author,” “Editor,” “Administrator,” and “Super Admin” (only available in WordPress Multisite installations), are not synced by default. If one wishes wants to track additional roles, it’s possible by modifying the code snippet provided in the following filter for verified sources to add those roles to the sync.

    https://github.com/mailchimp/mc-woocommerce/wiki/Custom-User-Role-Sync

    Plugin Support Jordan Rich

    (@builtbyjordan)

    Hey Chrissy I came across your other ticket and looked up the store, and see that this user/customer #3 is a Admin. Again, we suggest not placing tests as logged in admin but rather in a separate browsing session _not_ logged in and as a customer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order not synced’ is closed to new replies.