Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Mailchimp Autoresponder auto-update list field on membership upgrade

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Mailchimp Autoresponder auto-update list field on membership upgrade

Tagged: mailchimp

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 3 months ago by Forge.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 19, 2014 at 2:50 am #9642
    Forge
    Member

    Hi,

    I’ve got my mailchimp autoresponder working with my custom field, in this case the membership level.

    The issue is that I need to also be able to automatically update the membership level on mailchimp when a user upgrades from their free membership level to a paid membership level on my website. Where does wpeMember handle membership upgrades so I can implement the mailchimp list field update?

    March 19, 2014 at 7:47 am #61713
    admin
    Keymaster

    Can you tell me how you have your membership upgrade path setup so I know which code will be executed. If you share the link of your payment/upgrade page, I will get my answer.

    March 19, 2014 at 8:04 pm #61714
    Forge
    Member

    [http://www.squareonefitness.tv/join/]

    March 20, 2014 at 5:40 am #61715
    admin
    Keymaster

    Thank you. There are two ways you can add your custom tweak:

    Option 1) We have an action hook that gets fired when that membership level of the user changes. You simply hook into that and execute your code.

    Here is an example of how you would use that hook

    add_action('emember_membership_changed','do_my_custom_tweak');
    function do_my_custom_tweak($data)
    {
    $member_id = $data['member_id'];//You can use this to pull this members profile
    $old_membership_level = $data['from_level'];
    $new_membership_level = $data['to_level'];
    //Now do something....
    }

    Option 2) You can add your code tweak in the following file:

    wp-eMember/ipn/eMember_handle_subsc_ipn_stand_alone.php

    Search for the following comment in the above file:

    // End of existing account upgrade

    Add your code just above that comment (inside the actual if statement block)

    March 20, 2014 at 9:21 pm #61716
    Forge
    Member

    Awesome – thanks for your detailed response!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ