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

eStore – no autoresponder sign up after purchase

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – no autoresponder sign up after purchase

  • This topic has 14 replies, 5 voices, and was last updated 12 years, 2 months ago by admin.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • September 27, 2012 at 11:32 am #7501
    danedroll
    Member

    Hello

    I did read and searched the forum

    extensively before doing this post.

    After purchase of a product, my

    buyers are not being signed up to

    list on the autoresponder – “Getresponse” and

    I seem not to know why

    The campaign name is set in the

    products section and the autoresponder

    api settings were done correctly, could

    you please help figure out why buyers

    are not being signed up to the list?

    Below is the debug result from the file: eStore_post_payment_debug

    I am using WP eStore Settings v 6.7.8

    Thank You.

    [removed debug content after checking it]

    September 27, 2012 at 1:01 pm #49795
    Peter
    Member

    Hi,

    Did you take the time to go through the following checklists/troubleshooting?

    https://support.tipsandtricks-hq.com/forums/topic/wp-estore-troubleshooting-autoresponder-signup-not-working

    September 27, 2012 at 2:38 pm #49796
    danedroll
    Member

    Yes I did

    I did the free download test and this result is

    below, however, when I perform a purchase, no

    sign ups.

    [09/27/2012 11:02 AM] – Advisory : Log file reset.


    [09/27/2012 2:07 PM] – SUCCESS :Generating download link for single file.

    [09/27/2012 2:07 PM] – SUCCESS :Performing item specific autoresponder signup if specified.

    [09/27/2012 2:07 PM] – SUCCESS :GetResponse integration is being used.

    [09/27/2012 2:07 PM] – SUCCESS :GetResponse campaign to signup to:byt

    [09/27/2012 2:07 PM] – SUCCESS :Attempting to call GetResponse API for list signup…

    [09/27/2012 2:07 PM] – SUCCESS :API Key:vvvvvvvvxxxxxxxxx, Customer name:DAN

    [09/27/2012 2:07 PM] – SUCCESS :created the eStore_jsonRPCClient object

    [09/27/2012 2:07 PM] – SUCCESS :Attempting to retrieve campaigns for byt

    [09/27/2012 2:07 PM] – SUCCESS :Retrieved campaigns for: byt

    [09/27/2012 2:07 PM] – SUCCESS :Attempting GetResponse add contact operation for campaign ID: u8Yx Customer Name: DAN Email: dan@mail.com

    [09/27/2012 2:07 PM] – SUCCESS :GetResponse contact added… result:Array

    [09/27/2012 2:07 PM] – SUCCESS :GetResponse item specific signup operation performed. Return value is: 1

    September 28, 2012 at 1:20 am #49797
    admin
    Keymaster

    First load a fresh copy of the plugin:

    https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins

    Now, purchase the same product that you tested with the “Free download test” in the above post.

    Share the content of the following two files from this test transaction

    – ipn_handle_debug.log

    – eStore_post_payment_debug

    October 9, 2012 at 4:39 pm #49798
    danedroll
    Member

    Results for: ipn_handle_debug.log

    [10/09/2012 11:02 AM] – Advisory : Log file reset.


    Results for: eStore_post_payment_debug

    [10/09/2012 11:02 AM] – Advisory : Log file reset.


    Checking if auto affiliate account creation feature is active.

    [10/09/2012 4:23 PM] – SUCCESS :Generating download link for single file.

    [10/09/2012 4:23 PM] – SUCCESS :Performing item specific autoresponder signup if specified.

    [10/09/2012 4:23 PM] – SUCCESS :GetResponse integration is being used.

    [10/09/2012 4:23 PM] – SUCCESS :GetResponse campaign to signup to:XXXX

    [10/09/2012 4:23 PM] – SUCCESS :Attempting to call GetResponse API for list signup…

    [10/09/2012 4:23 PM] – SUCCESS :API Key:XXXXXXXXXXXX, Customer name:Ryan

    [10/09/2012 4:23 PM] – SUCCESS :created the eStore_jsonRPCClient object

    [10/09/2012 4:23 PM] – SUCCESS :Attempting to retrieve campaigns for XXXX

    [10/09/2012 4:23 PM] – SUCCESS :Retrieved campaigns for: XXXX

    [10/09/2012 4:23 PM] – SUCCESS :Attempting GetResponse add contact operation for campaign ID: p9Qc Customer Name: Dan Email: dan@mail.com

    [10/09/2012 4:23 PM] – SUCCESS :GetResponse contact added… result:Array

    [10/09/2012 4:23 PM] – SUCCESS :GetResponse item specific signup operation performed. Return value is: 1

    buyers are still not showing in getresponse campaign

    October 10, 2012 at 4:40 am #49799
    admin
    Keymaster

    The plugin definitely performed the signup operation correctly. Now, after this operation, Getresponse will send the double opt-in confirmation to the user. The contact will show in your GetResponse account after the user confirms the double opt-in email sent to the user by GetResponse. Did you confirm that the user has done that step (confirmed the double opt-in)?

    October 12, 2012 at 12:51 pm #49800
    danedroll
    Member

    The issue is the Getresponse double opt-in confirmation mail

    is not being sent to the user and neither is the user listed

    in the “unconfirmed” segment in Getresponse

    I also contacted Getresponse to make it a single opt-in

    and they confirmed they had switched the campaign to

    single opt-in but still the user isn’t signed up to the campaign

    They asked me to send them the

    “parts of the code which call to our API.”

    Please which php file in the estore calls to

    the Getresponse API?

    October 13, 2012 at 2:34 am #49801
    admin
    Keymaster

    Here is the main code that does the GetResponse Signup via API call:

    //The following 4 variables are available to this code
    $campaign_name = "tha name of the getresponse campaing";
    $fname = "First name of the contact";
    $lname = "Last name of the contact";
    $email_to_subscribe = "The email address of the contact";

    $api_key = get_option('eStore_getResponse_api_key');
    $api_url = 'http://api2.getresponse.com';
    $customer_name = $fname." ".$lname;

    if(!function_exists('curl_init')){
    eStore_payment_debug('PHP CURL library missing.',false);
    return false;
    }
    include_once('lib/auto-responder/eStore_jsonRPCClient.php');
    // initialize JSON-RPC client
    $client = new eStore_jsonRPCClient($api_url);
    $result = NULL;

    // get CAMPAIGN_ID of the specified campaign (e.g. 'sample_marketing')
    try {
    $result = $client->get_campaigns(
    $api_key,
    array (
    # find by name literally
    'name' => array ( 'EQUALS' => $campaign_name )
    )
    );
    }
    catch (Exception $e) {
    # check for communication and response errors
    eStore_payment_debug($e->getMessage(),false);
    }

    # uncomment this line to preview data structure
    # print_r($result);

    # since there can be only one campaign of this name
    # first key is the CAMPAIGN_ID you need
    $CAMPAIGN_ID = array_pop(array_keys($result));

    if(empty($CAMPAIGN_ID))
    {
    eStore_payment_debug("Could not retrieve campaign ID.".$campaign_name,false);
    }
    else
    {
    # add contact to the campaign
    $result = $client->add_contact(
    $api_key,
    array (
    'campaign' => $CAMPAIGN_ID,
    'name' => $customer_name,
    'email' => $email_to_subscribe,
    'cycle_day' => '0'
    )
    );
    }

    October 25, 2012 at 6:30 am #49802
    danedroll
    Member

    Hello

    Thank you for the code, please which php file is

    this code located so I can send it to them?

    Thank You

    October 25, 2012 at 10:06 am #49803
    Peter
    Member

    Look in the “eStore_autoresponder_handler.php” file.

    October 25, 2012 at 3:03 pm #49804
    danedroll
    Member

    Thank you

    February 19, 2013 at 2:05 pm #49805
    nikola
    Member

    Hi, I am experiencing issues with GetResponse integration as well.

    I created a campaign and unchecked double opt-in for it. I have also set up the eStore autoresponder settings to sign-up each customer to this campaign after purchase.

    However, when a transaction is completed, a confirmation letter is sent to the customer despite the fact that the campaign settings do not require this.

    Can you please advise?

    Also, when using the generic autoresponder settings in eStore. The customer details passed to the campaign address include the correct e-mail but ‘WordPress’ for Name so I end up with a list of customers all named WordPress.

    Can this be fixed?

    Thank you,

    Nikola

    February 19, 2013 at 10:05 pm #49806
    wpCommerce
    Moderator

    Hi, please check these resources:

    Adding users to GetResponse without confirmed opt-in doesn't work

    https://support.tipsandtricks-hq.com/forums/topic/how-to-change-email-coming-from-wordpress

    February 20, 2013 at 7:27 am #49807
    nikola
    Member

    I see.

    My second question refers to the generic autoresponder configuration in eStore.

    It should add the Name and E-mail address in the From field.

    My limited php knowledge tells me there needs to be something added to the code below in the line that starts with ‘$headers =…’. However, I would greatly appreciate any more specific instructions.

    Thanks!

    Nikola

    February 21, 2013 at 1:07 am #49808
    admin
    Keymaster

    If your autoresponder requires the name in the “From Email” address then you could try the following tweak. Did you confirm with your autoresponder that they need the name in the form address? If you haven’t then you should do that first.

    Find the following line of code in the “eStore_auto_responder_handler.php” file:

    $from_address = $emailaddress;

    Change it to the following:

    $from_address = $firstname." ".$lastname." <".$emailaddress.">";

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 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