Updating Interests with an API Call?

Options
Hello wonderful people!


Trying to solve a somewhat long-term problem. We've attempted a couple times to have in place a WordPress based form that hooks into Luminate's API as a basic email intake form. We can create constituents just fine, but we have found that if we attempt to subscribe Interests (Hidden interests or otherwise) as part of the form processing it seems to do the opposite and unsubscribes. We've tried this both through a fairly simple system that just calls the method through the form as well as through the WPLO Survey plugin.


I feel like there's a painfully obvious answer to this that I'm overlooking.


Has anyone encountered a similar issue or otherwise have a solution/fix?


Thanks.
Tagged:

Comments

  • Hard to say without something to look at.


    One thing to know is that, even though an interest is composed of an opt-in and an opt-out group,  you can't do this by directly changing their group membership. You should be using CRConsAPI.update.add_interest_ids and CRConsAPI.update.remove_interest_ids.


    BPM
  • Hi Scott- I help maintain the WPLO Survey plugin.  You should be able to do this with it (I've set this up for a few people to do just what you're asking)- can you message me some more details on your setup?  I'll update the plugin to make this easier for people to do.
  • Thanks for the replies, Brian and Bri. Apologies for being light on the details.


    Bri, we'd played around with the WPLO Survey plugin and were having some difficulty. I believe my colleague Michael Smith reached out to you. Good news! We've got this up and working fully as of yesterday. Not sure what we were doing that was different or throwing things off, but we're now away to the races.


    Cheers,

    Scott

Categories