Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Tweaks

How to go about Interspire Email Marketer Integration

(12 posts) (5 voices)
  • Started 1 year ago by mikru2010
  • Latest reply from mikru2010
  • Possible Solutions (Related Topics):
    1. Autoresponder - Interspire Email Marketer Integration possible
    2. Clickbank integration, email not being sent, stamped file not being created
    3. Problems with clickbank Integration, no email, no link
    4. Wishlist Integration Question How to Modify the Confirm Your Registration Email?
    5. integration with iContact email

Tags:

  • autoresponder
  • emailmarketer
  • estore
  • IEM to eStore
  • integration
  • Interspire
  • Interspire Email Marketer
12Next »
  1. mikru2010
    Member

    I use Interspire Email Marketer as Autresponder and would like to integrate it with estore.

    They have an xml api.

    A pdf docu to it can be found here http://is.gd/fI2Kc

    I'm not wexperienced with apis and have only basic programming know-how, so i hope someone here can point me in the right direction ...

    Posted 1 year ago #
  2. amin007
    Key Master

    The file that you will need to modify in eStore is called "eStore_auto_responder_handler.php". This file has two functions that you will be interested in. These two functions are:

    1. eStore_item_specific_autoresponder_signup
    2. eStore_global_autoresponder_signup

    These functions will automatically get called when eStore does the post payment processing and eStore will provide the following details of the customer to these functions:

    - first name
    - last name
    - email address

    You need to place your Interspire email marketing signup code inside these functions. To be more specific you will need to place something like the following (I got this sample code from the integration document you provided). You will need to place your username and usertoken in the code.. just read the code and you will understand as it's a fairly simple piece of code:

    $xml = '<xmlrequest>
    <username>admin</username>
    <usertoken>d467e49b221137215ebdab1ea4e046746de7d0ea</usertoken>
    <requesttype>subscribers</requesttype>
    <requestmethod>AddSubscriberToList</requestmethod>
    <details>
    <emailaddress>'.$emailaddress.'</emailaddress>
    <mailinglist>1</mailinglist>
    <format>html</format>
    <confirmed>yes</confirmed>
    <customfields>
    <item>
    <fieldid>1</fieldid>
    <value>'.$firstname.' '.$lastname.'</value>
    </item>
    </customfields>
    </details>
    </xmlrequest>
    ';
    
    $ch = curl_init('http://www.yourdomain.com/IEM/xml.php');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
    $result = @curl_exec($ch);
    if($result === false) {
       echo "Error performing request";
    }
    else {
      $xml_doc = simplexml_load_string($result);
      echo 'Status is ', $xml_doc->status, '<br/>';
      if ($xml_doc->status == 'SUCCESS') {
      echo 'Data is ', $xml_doc->data, '<br/>';
      } else {
      echo 'Error is ', $xml_doc->errormessage, '<br/>';
      }
    }
    Posted 1 year ago #
  3. Chris

    Hi Amin:

    When I get the specific API code from Vertical Response (similar to above - although I believe they have a PHP version, not sure), do I need to copy it at the bottom of both of these functions you've listed, or just the last one (Global function)? Also, should I leave the MailChimp, GetResponse, AWeber code in there and just copy mine below that?

    1. eStore_item_specific_autoresponder_signup
    2. eStore_global_autoresponder_signup

    Posted 1 year ago #
  4. amin007
    Key Master

    If you are only using the global option then you only need to worry about the function that handles the global one. I have updated this post with some more details which might be helpful:

    http://www.tipsandtricks-hq.com/forum/topic/can-my-autoresponderemail-marketing-manager-be-integrated-with-your-plugins

    Check the "Some info for developers" section.

    Posted 1 year ago #
  5. VisualMarketing

    Has anyone actually created the estore to Interspire AutoResponder functionality yet? We are looking into this but no use recreating the wheel if its already been done.

    Posted 10 months ago #
  6. mikru2010
    Member

    I was able to add a subscriber via the XML Api to a prodiuct specific contact list.

    But no matter what i try only the E-Mail shows up in the contact list, not the name.
    (Still the customer name and email are added to estore properly)

    Thus i need advice / sample how to fill <customfiels> with customer name for free product.

    Here is the excerpt from API and previous instruction how to use it with estore:

    <customfields>
    <item>
    <fieldid>1</fieldid>
    <value>'.$firstname.' '.$lastname.'</value>
    </item>
    </customfields>

    However, the above code does not put customer name on the list.

    I also tried combinations of
    <fieldid>REAL NAME of field used in Interspire contact list</fieldid>
    and
    <fieldid>name</fieldid>

    with
    <value>'.$firstname.' '.$lastname.'</value>
    and
    <value>'.$customer_name.'</value>

    But no combination puts the name on the contact list in Email-Marketer - all i get is the email.

    Posted 6 months ago #
  7. mikru2010
    Member

    I also noticed an attempt by estore to send several emails trying to sign-up my subscriber to aweber - which is odd, as i don't use aweber and just try to figure out integrating my own autoresponder script (Email-Marketer)

    "This is an automatic email that is sent to AWeber for member signup purpose"

    Estore also seems to split the listname up into severla lists / emails.

    For instance my list in Email-Marketer is named like this:

    Word1 Word2 Word3-Word4 Word5.

    Estore seems to treat each of these words (and even the "-" as separate lists and sends / tries to send subscriber mail to lists Word1, Word2, Word3, Word4, Word5 and even to the "-" between Word3 and Word4.

    And the emails aren't adressed to aweber, but to my own server like "Word1@myserver.net> etc.

    Is this perhaps caused by storing a listname in the Autoresponder Settings of the product?

    Posted 6 months ago #
  8. admin
    Key Master

    You won't be able to do this integration unless you are a developer and understand PHP code well. You can contact us to get a custom job done or hire a freelance developer who will be able to do this for you.

    Posted 6 months ago #
  9. mikru2010
    Member

    Just let me know what i should put in to the api to get the name transmitted by it, as email is getting transmitted fine.

    Obviously your previous suggestion (s. earlier in this thread) isn't transmitting the customer name:

    <customfields>
    <item>
    <fieldid>1</fieldid>
    <value>'.$firstname.' '.$lastname.'</value>
    </item>
    </customfields>

    So what input for "fieldid" and "Value" would you suggest?

    Could it be that it's not working because your plugin just has a "name" field for the free product squeeze and does not differentiate between first- and lastname?

    Posted 5 months ago #
  10. mikru2010
    Member

    It would also help to know where exactly to place the code in the fuctions you named.

    Posted 5 months ago #

RSS feed for this topic

12Next »

Reply »

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin