1shoppingcart autoresponder integration

Discussion in 'Integration' started by reid, May 9, 2006.

  1. reid

    reid New Member

    Joined:
    May 9, 2006
    Messages:
    1
    Hey guys!

    Just quickly, raise your glasses to Alex. What a champ.

    I know this can be done, but I really don't have the time to go testing.. Anybody able to quickly show me how I can have a form with hidden values (one being the user's email address) automatically submitted on the thankyou pages?

    Essentially what I need to do is subscribe the user to a 1shoppingcart autoresponder once they sign up. I know, i know... I wish I could use the amember one exclusively - but I need them to subscribe them to a 1shoppingcart one so that they are automatically taken off another one.

    The basics of the form code that I need submitted is below. Anybody have any suggestions?

    Many, many thanks!!

    Code:
    <form action="http://www.mcssl.com/app/contactsave.asp" method="post" name="form1" id="form1">
    <input name="merchantid" type="hidden" id="merchantid" value="xxxxxx" />
    <input name="ARThankyouURL" type="hidden" id="ARThankyouURL" value="xxxxxx" />
    <input name="copyarresponse" type="hidden" id="copyarresponse" value="0" />
    <input name="custom" type="hidden" id="custom" value="1" />
    <input name="defaultar" type="hidden" id="defaultar" value="xxxxxx" />
    <input name="allowmulti" type="hidden" id="allowmulti" value="1" />
    <input name="visiblefields" type="hidden" id="visiblefields" value="Email1" />
    <input name="requiredfields" type="hidden" id="requiredfields" value="Email1 />
    <input type="hidden" name="Email1" value="user's email">
    </form>
    Cheers!
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please contact us via helpdesk and we will provide solution.
  3. rapid

    rapid New Member

    Joined:
    Jan 26, 2007
    Messages:
    26
    Reid:

    I am looking for similar solution. Did you find the solution that you can share with us?
  4. benzeli

    benzeli New Member

    Joined:
    Jul 10, 2009
    Messages:
    6
    Subscribing to 1ShoppingCart Autoresponder during Signup

    Tech support offered a good suggestion: incorporate the code to subscribe to autoreponders in amember/templates/thanks.html but I need help with the coding. I have the code below to subscribe the user to 2 autoresponders, but how do I properly pass the variables from the signup?

    <form name="form1" method="post" action="https://www.mcssl.com/app/contactsave.asp">
    <input name="merchantid" type="hidden" id="merchantid" value="xxxxxx">
    <input name="ARThankyouURL" type="hidden" id="ARThankyouURL" value="http://growingchampionsforlife.com/membership/login.php">
    <input name="copyarresponse" type="hidden" id="copyarresponse" value="1">
    <input name="custom" type="hidden" id="custom" value="1">
    <input name="ar" type="hidden" id="ar" value="530157">
    <input name="ar" type="hidden" id="ar" value="535827">
    <input name="allowmulti" type="hidden" id="allowmulti" value="0">
    <input name="requiredfields" type="hidden" id="requiredfields" value="Email1">
    <input name="Email1" type="hidden" value=<?php $email ?>>
    <input type="hidden" name="fieldname1" value="First Name">
    <input type="hidden" name="required1" value=<?php $name_f ?>>
    <input name="field1" type="text" size="40">
    <input type="hidden" name="fieldname2" value="Last Name">
    <input type="hidden" name="required2" value=<?php $name_l ?>>
    <input name="field2" type="hidden" size="40">

    <strong>Enjoy your membership. To Login please click <input type="Submit" name="cmdSubmit" value="Here"></strong>

    I have assigned the login.php file as the thank you url for 1shoppingcart and use the submit button to submit the data to 1shoppingcart. I tried to pass the e-mail, name_f, and name_l variables, but evidently not properly. It doesn't work.

Share This Page